I just need help with some stuff!

Non-platform specific questions.

I just need help with some stuff!

Postby MilloCz » Tue Jul 12, 2011 8:44 pm

Hai there ^_^ Im pretty new in this and i started developing my own simple jumpnrun game. Some things arent working:

1) Backround is 100% translucent in some areas
2) Animation direction doesn't accept BACKWARD / FORWARD and i absolutely dont know why
3) Sprite can stick on left/right wall
Last edited by MilloCz on Wed Jul 13, 2011 6:27 am, edited 1 time in total.
MilloCz
 
Posts: 9
Joined: Mon Jul 11, 2011 5:38 pm
Score: 0 Give a positive score

Re: I just need help with some stuff!

Postby jimmynewguy » Tue Jul 12, 2011 9:05 pm

1)- If the image file has a color depth lower than 32 bits, Game Editor understands that the color of the first pixel (upper left corner) is the color that should become totally transparent in the image.
- If your image has 32 bits color depth, Game Editor will consider the alpha channel (transparency channel) of the image.
- If your image is a gif, Game Editor will consider the gif transparent color.
- If all pixels in the image have the same color (solid image) the image will be consider solid.

2) BACKWARD / FORWARD plays the animation backward or forward, it does not flip the animation horizontally for you

3) It sticks because you are using physical response. You have to come up with a creative way or your own collision system in order to stop this. One really easy way (that isn't the greatest) is to add after the physical response on collision with left or right of the wall do yvelocity ++;
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: I just need help with some stuff!

Postby MilloCz » Tue Jul 12, 2011 9:35 pm

2) how do i flip horizontally then?
MilloCz
 
Posts: 9
Joined: Mon Jul 11, 2011 5:38 pm
Score: 0 Give a positive score

Re: I just need help with some stuff!

Postby jimmynewguy » Tue Jul 12, 2011 11:04 pm

Image editing program.
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest