Scrolling Game Development Kit Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Scrolling Game Development Kit Forum
»
SGDK Version 2
»
General Discussion
»
Why won't this sprite move?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Why won't this sprite move? (Read 4599 times)
Jam0864
Contributor
Fanatic
Posts: 744
Why won't this sprite move?
«
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
Logged
bluemonkmn
SGDK Author
Administrator
Fanatic
Posts: 2761
Re: Why won't this sprite move?
«
Reply #1 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?
Logged
Ben Marty
Scrolling Game Development Kit 2
Jam0864
Contributor
Fanatic
Posts: 744
Re: Why won't this sprite move?
«
Reply #2 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.
Logged
Print
Pages: [
1
]
« previous
next »
Scrolling Game Development Kit Forum
»
SGDK Version 2
»
General Discussion
»
Why won't this sprite move?