Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Newbie Questions
by AndrewAMD. 12/04/23 11:14
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (TipmyPip, Quad, alibaba, izorro), 545 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to write a 2D game using 3D functions ?? #247620
01/21/09 20:30
01/21/09 20:30
Joined: Apr 2008
Posts: 437
dracula Offline OP
Senior Member
dracula  Offline OP
Senior Member

Joined: Apr 2008
Posts: 437
Say I wanted to write a 2D Space Shooter game but using appropriate 3D functions such as c_move, how do I start ?

My assumption is to set a camera above a panel or a flat level and just use the x,y co-ordinates as necesary. Is this correct ?

Thanks

Drac

Re: How to write a 2D game using 3D functions ?? [Re: dracula] #247623
01/21/09 20:41
01/21/09 20:41
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Sound about right to me, Im just not sure about how collisions will work though.

Also, keep this in mind, its very applicable for 2D games.
[Clipped ofrm the manual]
Quote:
If pan and tilt both are 0, but the roll angle is nonzero, the sprite is always perpendicular to the camera. This is useful for spherical objects, like fireballs or explosions. For an angle to be nonzero it's sufficient to set it at a small amount, like 0.01.



"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: How to write a 2D game using 3D functions ?? [Re: EvilSOB] #247624
01/21/09 20:45
01/21/09 20:45
Joined: Apr 2008
Posts: 437
dracula Offline OP
Senior Member
dracula  Offline OP
Senior Member

Joined: Apr 2008
Posts: 437
Interesting & useful

Thanks M8
Drac

Re: How to write a 2D game using 3D functions ?? [Re: dracula] #247629
01/21/09 21:33
01/21/09 21:33
Joined: May 2008
Posts: 301
Oxy Offline
Senior Member
Oxy  Offline
Senior Member

Joined: May 2008
Posts: 301
How about you dont use any of the c_moce, rotation, event or collsion functions at all, and use plain selfmade code...

Then you use the 3d engine just to display the objects.

Re: How to write a 2D game using 3D functions ?? [Re: Oxy] #247690
01/22/09 07:02
01/22/09 07:02
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Read AUM 81.

Re: How to write a 2D game using 3D functions ?? [Re: Cowabanga] #247778
01/22/09 14:55
01/22/09 14:55
Joined: Apr 2008
Posts: 437
dracula Offline OP
Senior Member
dracula  Offline OP
Senior Member

Joined: Apr 2008
Posts: 437
Thanks

Did't like the AUM81 article but the other one the article refers to (AUM78) is great


Drac


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1