There is an action to set a CSS style on a text input control. I want to set a CSS style to my image which is currently a sprite. Can a text input control be set to an image?
Thank you MPPlantOfficial It worked dop2000 I changed the drop to any touch end and added some padding to the panel and it works! Thank you so much!
Ok dop2000 Here is the project file. Thank you again! Im using 2 layers one being locked. I assume this is where the problem is but idk. 1drv.ms/u/s!Aky113ixKPF-mTVxdaxkiIb26Exv
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?
Develop games in your browser. Powerful, performant & highly capable.
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.
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.
Member since 22 Jul, 2018