Scrolling Game Development Kit Forum

SGDK Version 2 => General Discussion => Topic started by: Jam0864 on 2007-09-20, 10:45:24 PM

Title: Why won't this sprite move?
Post by: Jam0864 on 2007-09-20, 10:45:24 PM
Started the stickman sprite, cant get it to move for some unknown reason. D=
http://www.box.net/shared/jlln5ax4mi
Title: Re: Why won't this sprite move?
Post by: bluemonkmn on 2007-09-21, 05:15:20 AM
You need either a sprite rule or a plan rule to call MapPlayerToInputs to associate the inputs on the sprite with the inputs of a player.  Also, if you want the player to be black, why not just set the modulate parameters for the player sprite to 0 in the map editor instead of the sprite definition rules?
Title: Re: Why won't this sprite move?
Post by: Jam0864 on 2007-09-21, 05:44:41 AM
I did it in the sprite, so if other people wanna use my sprite, they already have a rule set up for them to change the colour, if they want to.
Also, it was the first way that came to mind... lol


And I forgot about the MapPlayerToInputs, thanks.