Gamestudio Links
Zorro Links
Newest Posts
freewhyblogelsewhere
by 9489cpjf. 06/03/24 06:06
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,191 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19056 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