Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (AndrewAMD, fogman, Grant, juanex), 972 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
3d and 2d objects.. #270863
06/10/09 10:43
06/10/09 10:43
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
Hello,

I have a game that is partly 2d and 3d.. some objects are models and some are just panels but I load a NULL level.

My background is being displayed using simple pan_create..

Since I want to use 3d models on my game, I've loaded a NULL level to use my entities. But then when I run the program the entities are always behind the panel background therefore not visible to the screen.

It is really intended to load a NULL level.


Any way to solve this issue?



Can't is not an option™
Re: 3d and 2d objects.. [Re: seecah] #270869
06/10/09 10:58
06/10/09 10:58
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
assign your entities higher layer num then your panel background



Ubi bene, ibi Patria.
Re: 3d and 2d objects.. [Re: croman] #271053
06/11/09 03:10
06/11/09 03:10
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
Thanks for the info.. I'll try this



Can't is not an option™
Re: 3d and 2d objects.. [Re: seecah] #271228
06/11/09 20:45
06/11/09 20:45
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline
User
the_mehmaster  Offline
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
are they view entities? then you can set the layer, but if their not ,(ordinary entities), your better off setting a skycube or something.

Re: 3d and 2d objects.. [Re: the_mehmaster] #271229
06/11/09 21:00
06/11/09 21:00
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
You can set the layer of the Panels < 0 (example: layer = -5;), then the Panels are rendering behind the Models.

Re: 3d and 2d objects.. [Re: Widi] #272056
06/16/09 10:53
06/16/09 10:53
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
I've got it.. Thanks..
But is there any way that we can check for collisions between a model and a 2d panel only?

My game is more or like a Ricochet game (breakout)
The scenario is my ball catcher is a 3d model but my ball and bricks are just panels, loading a NULL level...

Please advise!



Can't is not an option™

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