Author Topic: Problems with rooms.  (Read 1656 times)

0 Members and 1 Guest are viewing this topic.

Offline Koleman

Problems with rooms.
« on: June 11, 2002, 04:32:27 PM »
Hello everyone.

I started to make game with AGI Studio and ran into problem with moving between rooms. It seems that when ego tries to enter next room, game begins to loop that first room really fast. Everything still seems to be in order in scripts. Anyone has an idea where the problem might be?




Offline Patrick

Re:Problems with rooms.
« Reply #1 on: June 11, 2002, 06:44:19 PM »
I believe to fix the problem of looping the room and not going to the room you want to might be fixed by looking in your logic for something that says something to the effect of                  
                                    | this may be different for you
                                    | depending on which edge it is
                                    V
if (ego_edge_code == right_edge) {    // ego touching right edge of screen
 new.room(2);
}
                  ^
                  |
                  |  You change this number to the room that you are want to go to.


I might suggest Joel's Logic Generator for re-scripting the room if this does not work to fix your problem.

http://dl.fileplanet.com/dl/dl.asp?ClassicGaming/agisci/agiblg.zip

I think this might fix the speed problem too...   :-\

I hope I helped...  :)  


SMG240   8)




Offline Koleman

Re:Problems with rooms.
« Reply #2 on: June 12, 2002, 05:15:35 AM »
It works fine now. That script generator solved the problem.

Thanks for your help!

Offline Patrick

Re:Problems with rooms.
« Reply #3 on: June 12, 2002, 01:48:33 PM »
Anytime   8)    ;D  

GOOD LUCK IN YOUR GAME!!!


SMG240



SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.053 seconds with 21 queries.