Author Topic: Why won't this sprite move?  (Read 4599 times)

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
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

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
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?

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
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.