06-10-2020, 04:05 PM
BUMP
to version 1.2
to version 1.2
Now added to the system is the ability to have your event sprites in the minimap depict a facing direction!
Typically, you would have sprites in your game such as a round red circle within a 6x6 pixel image having the name of 'Enemy'. A simple image to be sure, and one that doesn't care about the event's facing direction. But now, you can make another type of sprite.
You can make an event (such as the player) display its facing direction by assigning it a sprite graphic that is 4-times wider than its height. This allows the sprite to have 4 equal-sized frames, each denoting a facing direction. The first frame depicts the event facing up, the second left, the third right and the fourth facing down.
This is basically the same kind of system used by Selwyn's Mini-Map which he used for the player sprite. But the mechanics for event sprites is global. So you may set it up for the Player, Enemies, NPCs, a cat, a dog, that fern in the vase over there... whatever.
So now the choice is yours. You can set the player to have a single-framed sprite, the enemies to be 4-framed, the treasure chest to be single framed...
Have fun!
Typically, you would have sprites in your game such as a round red circle within a 6x6 pixel image having the name of 'Enemy'. A simple image to be sure, and one that doesn't care about the event's facing direction. But now, you can make another type of sprite.
You can make an event (such as the player) display its facing direction by assigning it a sprite graphic that is 4-times wider than its height. This allows the sprite to have 4 equal-sized frames, each denoting a facing direction. The first frame depicts the event facing up, the second left, the third right and the fourth facing down.
This is basically the same kind of system used by Selwyn's Mini-Map which he used for the player sprite. But the mechanics for event sprites is global. So you may set it up for the Player, Enemies, NPCs, a cat, a dog, that fern in the vase over there... whatever.
So now the choice is yours. You can set the player to have a single-framed sprite, the enemies to be 4-framed, the treasure chest to be single framed...
Have fun!