Discord
Login
Community
DARK THEME

I need someone to explain how to use this

I'm trying to make a collision detection system using the "mymap.ready","mymap.get(x,y)", and the "mysprite.ready" if anyone can explain how to use them to detect collisions that would be very helpful

The ready field is probably no longer supported by MicroScript - at least it used to be that resources were downloaded while the program was already running. The ready field signaled that the resource had not been downloaded yet. Now you see a progress bar at the beginning when you load the program - that's when all the graphics are downloaded.

Correct me if I'm wrong.


The simplest possible example - flaw, the sprite must move by integer values.

https://microstudio.io/i/Loginus/mapcollision/


https://microstudio.dev/i/PaulSt/collisiondetection/

https://microstudio.dev/i/TwiceUponATime/tilemapcollision/

https://microstudio.dev/i/HomineLudens/emitterexample/

https://microstudio.dev/i/HomineLudens/aabb/

https://microstudio.dev/i/microstudio/collisions/

https://microstudio.io/KimsGames/collisionexample/

https://microstudio.dev/i/Duruti/collision_aabb/

https://microstudio.dev/i/gilles/platformerbasics/


QuickEngine has everything you need for detection - i.e. detecting Sprite collisions with the Map (TileMap) and with other sprites.

https://microstudio.dev/i/gilles/quickengine/

I like cheese cake do you want too have cheesecake with me?

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community