Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 552 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sprite entity #189975
03/22/08 15:32
03/22/08 15:32
Joined: Jun 2007
Posts: 43
Montréal
J
Julientdc Offline OP
Newbie
Julientdc  Offline OP
Newbie
J

Joined: Jun 2007
Posts: 43
Montréal
I can't see my sprite, anyone have an idea why?

Code:

ENTITY* lumi =
{
type = "test.tga";
layer = 5;
x = 0;
y = 0;
z = 30;
flags2 = VISIBLE;
}



Re: Sprite entity [Re: Julientdc] #189976
03/23/08 08:44
03/23/08 08:44
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
it's not in front of the camera. give it some "x".

julz


Formerly known as JulzMighty.
I made KarBOOM!
Re: Sprite entity [Re: Julientdc] #189977
03/23/08 08:51
03/23/08 08:51
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
While you define a view entity, y is the horizontal position,
z is the vertical position and x is the depth, you should write
as follow :

x = 30; // maybe a higher depth value like 100.
y = 0;
z = 0;

Re: Sprite entity [Re: vlau] #189978
03/23/08 17:54
03/23/08 17:54
Joined: Jun 2007
Posts: 43
Montréal
J
Julientdc Offline OP
Newbie
Julientdc  Offline OP
Newbie
J

Joined: Jun 2007
Posts: 43
Montréal
I want to place my sprite in the map. Not in front of the camera...

How I can do it? with pos_x?

Re: Sprite entity [Re: Julientdc] #189979
03/23/08 19:49
03/23/08 19:49
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
With ent_create. Look for it in the manual.


Always learn from history, to be sure you make the same mistakes again...
Re: Sprite entity [Re: Uhrwerk] #189980
03/24/08 05:23
03/24/08 05:23
Joined: Jun 2007
Posts: 43
Montréal
J
Julientdc Offline OP
Newbie
Julientdc  Offline OP
Newbie
J

Joined: Jun 2007
Posts: 43
Montréal
That works, ty!


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