The Daily Click ::. Forums ::. Klik Coding Help ::. My Questions
 

Post Reply  Post Oekaki 
 

Posted By Message

PkGamer



Registered
  07/05/2013 19:46:26
Points
  42
18th May, 2013 at 18/05/2013 19:23:15 -

So instead of cluttering up the forums with millions of questions I decided to start this topic over here.Would make everything a lot easier for me and you!

I kindof have the answer for this one but Im nearly 100% sure that someone has a way more efficient answer:

So lets say I have a ramp at 45 degrees.Now I want to make an animation change occur when the player steps on it and then go back to the normal animation once the player goes of the ramp.I'll show you an textbased example:

---\
\____ Say this is the ramp and some ground.And now the problem I have is that my character is a robot on TRACKS.It would be ok if it was mario or something but It doesnt look natural if it looks like this:

---\I
\____

He cant just have 1 pixel on the ramp and the rest floating in midair. I need him to look something like this:

---\/
\____

/ being the robot.Now I thing I can pull something like this off by changing the animation once he gets into the area.And then back again once he goes out.I cant realy show it since I cant see any highlighters in the toolbox.
There would be an area before the ramp that makes him go into normal mode, an boxed shaped area about 2pixels widther then the ramp to make the transition look better and an area after the ramp that makes the robot go back into normal mode.This also allows the system for the player to go back and re explore the area without a buggy looking robot climbing the ramp while being upright.

I could also make the ramps actives so that when the player collides with them the animation gets changed but my robot is 8x8 pixels wide and the same with the tiles.

So I could really use your opinion on this and if you got any better ideas.

 
PkGamer-Current Project:Space Explrer 3000 Goals:Random World Generator,Deffense Oriented Combat, Loads of Upgrades, 8 bit graphics(since Im good at only pixel art), Simply Music.
<br />

Superslimeboy

President of Space

Registered
  24/12/2012 09:15:07
Points
  55
18th May, 2013 at 18/05/2013 19:42:40 -

I think i know what you mean, but could you include the file? it's tough to help without completely knowing what you mean. I'll try to help.

 
I forgive you, Wheatly.

PkGamer



Registered
  07/05/2013 19:46:26
Points
  42
18th May, 2013 at 18/05/2013 20:25:21 -


Originally Posted by Superslimeboy
I think i know what you mean, but could you include the file? it's tough to help without completely knowing what you mean. I'll try to help.



I made a short example.Press the normal buttom to go into normal mode and slanted into slanted mode.Simple stuff.Now I want to make this change automatic when going on and off ramps.

Mediafire: http://www.mediafire.com/?fdj5fy0gl07v2e0

 
PkGamer-Current Project:Space Explrer 3000 Goals:Random World Generator,Deffense Oriented Combat, Loads of Upgrades, 8 bit graphics(since Im good at only pixel art), Simply Music.
<br />

Superslimeboy

President of Space

Registered
  24/12/2012 09:15:07
Points
  55
19th May, 2013 at 19/05/2013 18:32:21 -

http://www.mediafire.com/?o51vblv81o3z8nv
Here, i tried fixing it, the second frame is actually the part that is important.

 
I forgive you, Wheatly.
   

Post Reply



 



Advertisement

Worth A Click