I was wondering how could the Stabyourself.com team do that game with a 2D engine, the only reason I can think about is a simulated 3D game,
Am I right? and, How could I make a little cube spining on the screen? (only to probe a little of 3D).
Thank you very much.
How can be made a 3D game like Ortho Robot?
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: How can be made a 3D game like Ortho Robot?
Ortho is not 3D. It's 2D with projection. 3D requires perspective, in which the further objects are scaled down smaller. Orthogonal projection keeps all "Z coordinates" the same scale with the proper offset.
Why not download Ortho Robot yourself and see how they did it? It's built with Löve.
Why not download Ortho Robot yourself and see how they did it? It's built with Löve.
Ok
Thanks, I only want to know if they used a special class/classes to get help with that projection, but your right, I'm goint to look the files of ortho robot.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: How can be made a 3D game like Ortho Robot?
It's probably dead simple. Since you're not actually doing any distance calculations, it's basically just taking the Z offset and manipulating its X and Y by its distance. Okay, so hard to explain. Just look at the code. lol Maurice is amazing at Löve. Shame he never posts here at all.
Who is online
Users browsing this forum: No registered users and 3 guests