Even with all of these settings correct it still flashes rapidly and won't scroll. When I disable the System every tic Set Y event it work without inertia scrolling.
Ive set Drag Drop To Vertical Only and Set Bullet Angle to No. Im not sure how to check the Origin of the image point? Can you explain?
Thanks dop2000 Ive implemented this pin and panel but the final event System every tick Panel clamp(Self.Y, -Self.Height+LayoutHeight, 0) seems not to work. It makes everything blurred or flicker rapidly and can't scroll.
Im creating a difference value from the Start.Y of a touch and how far the touch has moved along the Y axis. Touch.Start.Y - Touch.Absolute.Y. The Start.Y is a global variable. When a touch is dragged down the screen of a mobile device the value is negative. I need to convert this value to a positive so I can add it to a group of sprites Y axis and make the sprites move down just like when you drag down on a mobile browser window and everything moves at the same time. I won't hold my breath for a reply being it sounds so confusing haha! Thanks anyway if anyone does attempt to answer.
Develop games in your browser. Powerful, performant & highly capable.
I have a project file. Ive got a nice scroll going on. I can't seem to figure out how Im setting the difference in Y axis wrong. The top two images get placed at the bottom. If you want to check it out and lmk would appreciate. Thanks 1drv.ms/u/s!Aky113ixKPF-mTB1t5pn1ZDuhw3A
Thanks dop2000 Im trying to scroll a series of 6 sprites that are stacked up kinda like am image carousel. Im making a mobile application for my businesses. I have my company logo across the top of the viewport in a locked layer and below it I have 6 images of my 6 stores. When the user touches down and drags they can scroll the images of the stores.
Amazing AllanR Thank you! Exactly what I was currently trying to achieve tonight. Please explain to me the setting of the Sprite position, particularly the ViewportLeft, Right Up, and Down part. Is this finding the center of the screen?
Thank you dop2000 . Im now to the point where I can't determine if the sprite is being dragged up or down the Y axis. I set the start Y of the touch to an instance variable and try to compare it to the AbsoluteY of the touch every tick and it should be an easy greater than and less than comparison but it doesn't seem to work. Any suggestions?
Thank you and yes I needed a domain and web hosting and an ssl certificate. I also had to setup CORS via php and a .htaccess file via the Cpanel of the web hosting. Now if I could just get the mobile browser to hide when Im testing my project.
I have a project that Im testing on an Android mobile device. Im using a small sprite in the center of the viewport and when I detect a swipe up I move the sprite in the direction of the swipe (up or down). I use a timer behavior with this sprite to slow the sprite down in increments after a swipe is detected and the sprite is set in motion. Im having a problem where on about the second or third swipe the sprite takes off across the x axis. Can I restrict this sprite where it will NEVER move along the X axis? Thank you for any suggestions or insight!
It was the certificate. I setup the SSL certificate and now it works. Thank you for your insight dop2000
Ok i believe I need a proper certificate. Thanks
Hi,
Im trying to make an application for my business. I want to load images from a file on my web server. Everything works fine with Safari browser on Mac, but when I test the project with a mobile device/browser it fails to load the images from URL. I had to enable CORS on my web server. Do I need to check for mobile browser and if so Then do what? Any advice would be appreciated. Thanks! Here is a link to my project filehttps://1drv.ms/u/s!Aky113ixKPF-mSnWQPb2cort4FG_
Well everything works fine with my safari browser on Mac but when I test the application on a mobile browser (Edge and FireFox) it fails to load the images from Url. Can someone help me determine why this won't work?
Just to update I removed the loading of the first image that was loading from and image hosting site which worked with load image from url and now I can load images from url from my host without clearing browser history each time!