Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 7th_zorro), 1,285 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | 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