Sprite Walls Engine is an extension that allows you to use sprites as walls instead of tiles. It also includes a pushable sprite block, that lets you, well push sprites.
Features
Sprite-Based Collision – Use sprites as solid walls.
Pushable Objects – Create objects that can be pushed by the player or other sprites.
Versatile Sprite Interaction – Works with both individual sprites and SpriteKind groups.
How It Works
This extension uses AABB (Axis-Aligned Bounding Box) collision detection to determine when a sprite collides with another. When a collision is detected, it stops movement or applies pushable the other sprite.
Example Use Cases:
Walls that are not tied to tilemaps.
Moveable crates or objects in puzzle games.
Dynamic barriers that can be repositioned during gameplay.
Drag and drop “Stop Movement on Collision” or “Pushable Objects” blocks into your game.
Assign sprites or SpriteKind groups to define interactions.
Lastly
The second is a byproduct of the first one. since I suck at coding, I messed something up and made the sprite pushable lol. Task failed successfully XD
If you have any suggestions for more blocks to add or bugs. please report them here or on github.
THIS IS SO PERFECT
seriously i needed something like this SO bad for a game im working on and i really didnt want to implement it myself, but this is exactly what i needed!
oops, must have been a glitched file. reinstalled the extension in another editor and it works. but earlier when I had it on the enemies would not push the player, they were being pulled towards by the follow block. I don’t know what the error must have been, but it appears to be gone now.
Okay, I have updated and fixed it now. just update the extension by opening javascript. open the explorer and scroll down until you find my extension and then press the update button.