Game Maker 7 Sprites

/ Comments off

Game Maker 7 Sprites Average ratng: 9,2/10 2220 reviews
  1. Game Maker Characters

Originally posted by:There's no need to use a string as all sprites, objects, rooms, scripts, backgrounds and so on have their own storage variable of their own name.If you have a sprite 'playerup' then setting spriteindex = playerup will work.That's true, but what if I have many sprites with 'up' and 'down' variants and am trying to change them dynamically? In the RPG I'm making, I'm trying to make it so that the NPCs can turn towards me when I'm talking to them, however, I want to use just one NPC object who has a variable determining its type, that way when it's talked to from the right, for example, the code to turn them would be something like 'spriteindex = type + ' + direction', except to my knowledge there's nothing in GameMaker allowing for this kind of code to happen (except for executestring which, as I've already mentioned, has been removed).

Game Maker 7 Sprites

Game Maker Characters

Game Maker 7 Sprites

Flipping / Mirroring Sprite? I know that the sprite editor has the ability to mirror and flip images, but is there any way to mirror / flip a sprite when simply drawing it to the screen? I see that drawspriteext has the ability to draw the sprite rotated, but rotating the sprite I'm trying to draw causes it to look distorted.