Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by mistery. 12/05/26 12:48
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 3,003 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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 | 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