Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by rayp. 07/11/26 18:10
Z9 getting Error 058
by madpower2000. 07/09/26 18:09
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 07/09/26 13:16
New Zorro version 3.11
by jcl. 07/06/26 06:56
Synthetic test data in Zorro
by jcl. 07/06/26 06:54
Parameter filename BUG
by walt_Schwarz. 07/02/26 15:36
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, clint000), 7,059 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Level loading done #86846
08/20/06 20:38
08/20/06 20:38
Joined: May 2006
Posts: 6
Hashi Offline OP
Newbie
Hashi  Offline OP
Newbie

Joined: May 2006
Posts: 6
I managed to get the button to load a new game working by looking at the other examples people have posted...I can get from the main menu into the level I've built and the mouse cursor disappears...however the panels I used for the main menu are still there.

How would I go about getting rid of the main menu panels after the new game has loaded?

My current function for the level load looks like this:

---

function loadlvl()
{
level_load(str_level_1);
wait(5);
mouse_map=off;
mouse_mode=off;
}

---


Re: Level loading done [Re: Hashi] #86847
08/20/06 20:41
08/20/06 20:41
Joined: Oct 2003
Posts: 2,628
IL,US
FeiHongJr Offline
Expert
FeiHongJr  Offline
Expert

Joined: Oct 2003
Posts: 2,628
IL,US
wouldnt panel.visible = off; work? Just call that for the panels after the level is loaded... Id also use bmap_purge() or purge_bmap().... To clear the memory. Sorry been too long since ive scripted to remember exactally.


http://www.freewebs.com/otama_syndicate/index.htm - Each master to his own technique.

- Not me said the bee, Nor I said the fly.

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