- Home /
Make character walk on walls defying gravity in a 2D Game
Im usually make games in unity,but since I'm making a pure 2d game i tried working on stencil,but after weeks i think the visual programming system isn't enough to do what im trying,so i want to know if with unity its possible
Im trying to make a game like lemmings,several characters walk from left to right and walk alongside the walls defying gravity,making their walk with waypoints would be easy,but the catch is that the scenery is destructible,the structures are like lego pieces and change all the time,so no invisible colliders,no waypoints,i need a way to make all the logic work just in the characters,maybe with ray cast in four directions and changing movement based on which ones collided ?
You bumped but didn't fix your alt text link. Bumping after just one hour is not cool.
try setting your players feet to the collider of the level. then make jump the opposite of the normal direction and make the character fall back to the normal if he is in the air
Answer by bodec · May 07, 2013 at 06:25 AM
Yes, you can make what is being considered a 2.5D game in unity it will all be in 3d space but using 2d items you can accomplish this with a scrolling camera or with the onGUI function. Use the simplicity of 3d space with colliders but in a 2d appearance.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Where can i find an easy raycast shooting tutorial for C#? 2 Answers
Double Jump 1 Answer
Raycast cone or cube to detect another object 0 Answers
touch game objects on ios 1 Answer