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
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 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
Some problem #171935
12/09/07 12:43
12/09/07 12:43
Joined: Jun 2007
Posts: 63
Italy
Sonic220 Offline OP
Junior Member
Sonic220  Offline OP
Junior Member

Joined: Jun 2007
Posts: 63
Italy
Hi all!
Still trying to make my game and I've some problem.
Code:
 while (ammo < 100 && my.z > -2600)
{
ready_to_play = 0;
crosshair_pan.visible = off;
my.x += 11 * time;
if(my.roll < 30)
{
my.roll += 2 * time;
}
my.y -= 7 * time;
my.z -= 10 * time;
vec_set(temp, my.x);
vec_sub(temp, camera.x);
vec_to_angle(camera.pan, temp);
wait(1);
level_load("level2.wmp");
wait (1);
}


I've created this code, I want the player move after player's ammo are < than 100, after that the second level must be loaded, but:
1) It says: bad format (24 & 32 bit RLE only)
2) I think the level will be loaded first the player move.

Someone can help me pls?
I don't know what to do.


~Vision Divine~
Re: Some problem [Re: Sonic220] #171936
12/10/07 18:56
12/10/07 18:56
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline
User
JazzDude  Offline
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
The manual says:

Quote:

The bitmap file contains an invalid format. The color depth must be 8 bit or 24 bit on normal textures, and 32 bit on textures with alpha channel.






so you may have an invalid bitmap in the level you are trying to load.

Re: Some problem [Re: JazzDude] #171937
12/12/07 12:28
12/12/07 12:28
Joined: Jun 2007
Posts: 63
Italy
Sonic220 Offline OP
Junior Member
Sonic220  Offline OP
Junior Member

Joined: Jun 2007
Posts: 63
Italy
No, the level was simple, without bitmap.
I've biuld it and i've changed
level_load("level2.wmp");
to
level_load("level2.wmb");


~Vision Divine~

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