I believe the effect is achieved by mapping the full track on a 2D plane and rotating it to form the ground.
Do you guys think this would be possible? I dont expect a full 3D engine but if you could give us what the SNES could do I believe it will push the game edition in new directions. [import]uid: 5354 topic_id: 1640 reply_id: 301640[/import]
Also when I said “simple” I obviously meant that for me, I realise that it wont be that simple for you guys! [import]uid: 5354 topic_id: 1640 reply_id: 4735[/import]
Not to hand, I would suppose they would need to be constructed to fit the engine.
From looking at some online examples you would either use 1 large texture with the whole track mapped on it or stitch a series of track elements together to form a longer, more curved track.
I have found an online example of the effect in flash and browser playable.
It could be useful if there is any kind of image transformation. Not just scaling and fading. With full image transformation i could write some demos to simulate some 3d stuff. [import]uid: 7645 topic_id: 1640 reply_id: 4926[/import]
Arbitrary setting of the 4 xy points of a quad (rect or image) would give enormous flexibility in processing images, backdrops, tiles etc. [import]uid: 3953 topic_id: 1640 reply_id: 5266[/import]
Its possible if Ansca build in a distinct api like Nintendo did.
Complicated yes, but I think having that effect built in would provide a similar boost to Corona as did the original mode 7 for Nintendo. If you were around at the time you should recall the excitement about how a 2D system could simulate a 3D environment.
This is exactly what Corona needs, the competitive advantage.
There is a reason why you remember some of the most popular games on the SNES.
Pilot Wings
Axelay
Super Mario Cart
F Zero
The Star Wars games
They all used Mode 7 [import]uid: 5354 topic_id: 1640 reply_id: 9612[/import]
I think what you are talking about is not the raster technique used in the early racing games, it’s more like the “shape transform” tool in Flash where you can freely move an images corners to “deform” it, isn’t it?
If you could freely move the four corners of an image (and the image’s content will always align to these four corners), all you need to do is to use some 3D rotation formula on those corners (from within LUA) to fake any 3D rotation on that object. [import]uid: 10504 topic_id: 1640 reply_id: 9957[/import]
Carlos is looking into integrating some transformation functions at the moment, but no eta
I would say that yes, being able to deform a shape or rotate and move it in the z axis would allow the above game / style to easily be replicated [import]uid: 5354 topic_id: 1640 reply_id: 9961[/import]
Its not great but proved something like that is possible.
I would have thought though that if its done in opengl by transforming a plane it would be a lot simpler to implement, 100% hardware accelerated and with a lot less overhead.
The real mode 7 used something similar with interrupts and the flash version relies on the computing power of a desktop. [import]uid: 5354 topic_id: 1640 reply_id: 9970[/import]