Html example with sprite movement

Hi, here a small example with sprite movement on html with webviewer.
The html assets are from github and html bestcodes from the web.

When seeing these html examples, I think that it could not be so hard to provide us with a canvas and drawing methods in the thunkable x environmentā€¦ :wink:

https://x.thunkable.com/copy/7a0c75db2fa3ccd1c5d5cf5351e1990f

2 Likes

I think link not work

OK, corrected

Hi
I am so excited to try this out - but it looks like you have the app set as private and it canā€™t be opened with a regular thunkable account. I would love to be able to see how to do sprite movement if you can help out.

Hi,

To work with sprites will have to use WebViewer. I do not have an example with a sprite, but an example of working with a WebViewer is shown on the scrCanvas and scrHTML screens.

https://x.thunkable.com/projects/5cd84f23e3097f3353fdad45/project/properties/designer/

To work with sprites, it is better to use some kind of framework - tree.js, processing.js and the like.

FYI, Canvas and sprite components (along with some game physics, collision detection, etc) are currently in development and should be available within a month or two.

-Mark

2 Likes