How To

How to make a sprite that can place blocks

0

Julian_1 2020-04-15 22:56

hello how would I make a sprite that could place blocks


was8bit 2020-04-16 01:35

Cannot be done directly...

Sprites and background cells use the same character graphics, but sprites use pixel coordinates and background cells use cell coordinates...


was8bit 2020-04-16 01:40

Try these...

https://m.youtube.com/watch?v=msngJFGsWHQ

https://m.youtube.com/watch?v=txj8vz49DLE


Timo 2020-04-16 07:04

It's possible, but the blocks can only be placed on a grid, not on the exact sprite position.
Basically you use the CELL command to draw the block. As co-ordinates you use the sprite position, but divided by 8.


Log in to reply.