Author Topic: Maze make head hurt!  (Read 2230 times)

0 Members and 1 Guest are viewing this topic.

Offline Andrew_Baker

Maze make head hurt!
« on: April 01, 2002, 04:57:47 PM »
All right, so I've mostly mastered Sonneveld's maze code and made it my beast, but I can't start voodoo girl in the right segment of the maze.  She needs to enter from the bottom (She goes into a cave on top of the screen into the maze), and so I tried starting her off in cel 35.  I set the index variable (which indicates which cel the ego is currently in) to 35, but when I go into the maze, it sure isn't  cel 35 I'm looking at.  Sure enough, though, if I "show var" the index, it's 35.  Also, if I solve the maze and make it to the actual cel 35, and leave the maze back to  outside the cave, and then re-enter the cave, it shows cel 35 like it's supposed to.  My question to Nick, AGISCI, ANYONE!!! is how to set it up so that when I first enter the maze, it takes me to the proper cel.

Chris, I understand you're using the maze code in V...  any similar problems?
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »


I hope you realize that one day I will devour the Earth.

Offline Andrew_Baker

Re: Maze make head hurt!
« Reply #1 on: April 01, 2002, 05:09:45 PM »
HAHAHAHAHAHAHAHAHAHAHA...  ow.

Anyway, the big secret is to call the maze data logic in the screen prior to the entrance of the maze so that the maze data is initialized before entering.  Simple enough.  Now I really feel like an idiot.  But I feel like an idiot with a functioning maze that only takes two logics, one pic, and two views.
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »
I hope you realize that one day I will devour the Earth.

Offline Nick Sonneveld

Re: Maze make head hurt!
« Reply #2 on: April 01, 2002, 07:47:09 PM »
When I get my arse in gear, there'll be more docs in the full package, believe me :)

- Nick
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Chris Cromer

Re: Maze make head hurt!
« Reply #3 on: April 01, 2002, 09:48:07 PM »
Glad to see you got it to work. The only problem I ever had with the maze is when I altered it to use objects instead of add.to.pic, well for some reason the ego would get positioned in the wrong place every time he went down a screen in the maze. I am not sure if it was a bug in NAGI or not because I didn't test it with the original interpreter. But it works well now that I changed it back to add.to.pic.
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Joker

  • Guest
Re:Maze make head hurt!
« Reply #4 on: April 18, 2002, 04:34:35 AM »
Hey, Nick! What's with this "maze-code" people are talking about!?! Is it a game or something? ???

Offline Chris Cromer

Re:Maze make head hurt!
« Reply #5 on: April 18, 2002, 05:29:12 AM »
Have a look at this link to see what the maze thing is about.

http://www.mega-tokyo.com/forum/index.php?board=4;action=display;threadid=343
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)


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

Page created in 0.032 seconds with 20 queries.