When making a character in a plat former Change image or actor?

Hi. I have been creating this platform game for a few months and I am wondering what is the best approach when working on the main character. I am making my character/actor do different movements and I am not sure what direction to take.
Should I..
1. simply keep the same actor and make the images and width/height attributes change based on an action?
or
2. just make a totally separate actor for the action and have the actor delete and spawn into that when the action is called upon?

Thank you.

Comments

  • ozlacozlac Member Posts: 33
    I would do the first one because the 2nd one would affect the games speed.
  • tharbk01@yahoo.comtharbk01@yahoo.com Member Posts: 7
    what specific actions are you speaking of?
  • wolfbirdgameswolfbirdgames Member Posts: 66
    Thnks.
    @ ozlac I figured the same thing but I wasnt sure. I tried both but it doesnt seem to affect it to much. When I change the weight and height it becomes messy when changing images sometimes.

    @tharbk01. THe actions are punch, and variations of slashes.
  • tharbk01@yahoo.comtharbk01@yahoo.com Member Posts: 7
    edited April 2013
    @wolfbirdgames as far as melee goes, in my game i just have an actor spawn when i press the punch button. and with variations in your case, you could make it so that the actor spawns further out from your character more depending on if its like a heavy attack or whatever. to be honest im in the process of trying to figure out how to make it so that my character can do different attacks if you tap it in succession like tap twice real fast for a 2 hit combo or whatever. im relatively new to this btw, started around mid december.
Sign In or Register to comment.