Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,466 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Problems with sprites #239646
12/06/08 03:45
12/06/08 03:45
Joined: Dec 2008
Posts: 7
Chile
G
Gorverius Offline OP
Newbie
Gorverius  Offline OP
Newbie
G

Joined: Dec 2008
Posts: 7
Chile
Hello guys i'm new here :P.
tonight i was trying to add a Muzzle sprite to my gun but the engine just keep crashing like a milisecond before the compiling its complete.
This its the problmatic part of the code.
The crash happend when i set flags2 = VISIBLE. Its really weird. (i already tryed with diferentes sprites)
Code:
ENTITY* weapon_muzzle=
{
       type = "+16gunfire.bmp";
	layer = 2;
        flags2 = VISIBLE; 
	flags = VISIBLE;
	view = camera;
	x = 0;
	y = 0;
	z = 30;

}


Later guys smile and excuse my bad english frown

Re: Problems with sprites [Re: Gorverius] #239665
12/06/08 11:34
12/06/08 11:34
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
if you use lite-c you have to use:
set(my,VISIBLE);
or:
reset(my,VISIBLE);


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