- Home /
animation 2d platformer
hey guys, me and my mates are aking a 2d platformer game. and we have a plane with our image. We have all our drawing for jump and run but we need a script or a how to so we can change to the picture OnButtonDown and go back to the original picture OnButtonUp? and whilst the picture has changed have an animation sheet activated so the character looks like its walking. i know this is a mouthfull but any and all help is welcomed
Hey $$anonymous$$den - the answer to that is longer than you might imagine. $$anonymous$$ight be better to go for a free 2d graphics like Othello
WD ... you know, I got all of the 3.5D $$anonymous$$its out there and tried them all, and they are all made by nice people (the Orthello guy is particularly nice).
It feels mean-spirited to choose one but I have to say 2dToolkit is the way to go.
You would know just what I mean: there is no learning curve. If you're a Real programmer like we all wanna be, it's just totally natural. There's just nothing to learn. It's just one of those packages that makes it look so easy you're like "this is easy, anyone could have programmed this"-- the ultimate OO design.
Then again Orthello has more "help in it" it does stuff for you. In short: if yu're about to pend the 100s of man hours involved in doing a 2.5D game, it would be basically essential, I think, to grab all of the packs available, spend a day with each one, and decide which is for you !!
It would be crazy to spend the time on learning curve and then developing, if you had not tried 'em all
2.5D is huge fun!
I was a "3d programmer" (I guess you'd say) and we had to do some 2.5D projects. It's great !
Got to agree with @Fattie- if you are going for 2.5D then 2D Toolkit is fantastic, one of the best things I ever bought - Othello is free.
right ... he sells a Pro version (but not on the asset store). it's an interesting model, free version onthe asset store, pro version on Own Website (no 30%) ... I dunno.
it's a tough market for those dudes, there's only money in it for the top handful of products.
Answer by sonic220 · Jun 23, 2012 at 10:10 AM
You can make a plane object with your drawing as texture and changing it with a script, I think that there is some tutorial in the wiki that you can search
Answer by POLYGAMe · Jun 23, 2012 at 11:02 AM
You can do sprite sheets... there is code somewhere on here, I have used it before... but if the animation isn't huge, you can simply change the textures (have several different png images for each sprite). I have done that for my racing game. Just have a loop that cycles through the different textures with a set amount of time between each change for, say, walking. It's pretty simple... take a look at the Unity scripting reference for how to set textures through code. Cheers!
Your answer
Follow this Question
Related Questions
2D Platform game ladder climbing 1 Answer
Unity 2D Platformer Enemy flipping 1 Answer
(Solved) Continuous movement 1 Answer
Advice needed on my first c# 2D jump script 1 Answer
Tiled Map Display Problem 1 Answer