NEED HELP WITH SPRITE!

SteamworksSteamworks Member Posts: 61
So in my game i have a little popsicle stick puppet that bobs back and forth as you move him. It looks great for the puppet effect but when i make him jump i need to make the stick that he's attached to longer. the stick and the character are 1 picture so how would i do this?

Heres a picture of him standing still:
Photobucket

so is their a way to change the actor image so he actually has a longer stick but the extra is hidden behind the scenery until he jumps or something like that?

Comments

  • zombieaddictzombieaddict Member Posts: 213
    just have a longer stick on the actor and move it up when needed.

    http://imageshack.us/photo/my-images/10/guy2k.png/
  • SteamworksSteamworks Member Posts: 61
    zombieaddict said:
    just have a longer stick on the actor and move it up when needed.

    http://imageshack.us/photo/my-images/10/guy2k.png/

    yah but how would i have just the top part of him above ground? if i just make the stick longer he falls into infinity because the bottom of the actor is like 400 pixels away from the ground/solid
  • zombieaddictzombieaddict Member Posts: 213
    trying to visualize what you're trying to do. do you mean you want to have him seperate from the stick? you can just have a second actor for a long stick and hide it where you want until its needed. behind another actor, or even just have it invisible
  • icanmakeicanmake Member Posts: 466
    just make the actor the character without the stick and then another actor for the stick that says constrain self position.x to character self position.x and constrain self position.y to character position.y- half the characters height+half the sticks height. i think that would work
  • SteamworksSteamworks Member Posts: 61
    how would i make it half hight? otherwise yah that would probably work
  • icanmakeicanmake Member Posts: 466
    no i mean whatever half the height of you character is and then add that to whatever half the hight of the stick is= the number you put in
  • SteamworksSteamworks Member Posts: 61
    oh ok thx. wow im a noob :P
  • icanmakeicanmake Member Posts: 466
    no problem. i remember being a noob... oh wait that was this morning =)

    btw could u like my facebook page for me: http://www.facebook.com/pages/Icanmake-apps/157742487631655
Sign In or Register to comment.