Author Topic: Help?  (Read 3694 times)

0 Members and 1 Guest are viewing this topic.

Offline Allen

Help?
« on: October 18, 2002, 01:09:26 PM »
Help?
Code: [Select]
// ****************************************************************************
//
// Logic 88: Intro Second Screen
//
// ****************************************************************************

#include "defines.txt"

if (new_room) {
  load.pic(room_no);
  draw.pic(room_no);
  discard.pic(room_no);
  set.horizon(37);
  status.line.off();
  prevent.input();
  program.control();
  show.pic();

  animate.obj(o0);
  load.view(6);
  set.view(o0,6);
  position(o0,100,70);
  draw(o0);

  animate.obj(o1);
  load.view(9);
  load.view(8);
  set.view(o1,9);
  position(o1,159,90);
  program.control();
  display(22,0,"Press a key to continue the introduction.");
  }
if(have.key()) {
v222 = v222 + 1;
if(v222 == 1) {
print("You need some groceries. Ah,look. A store is placed conveniently next to your apartment.");
move.obj(o0,100,90,3,f98);
move.obj(o0,33,81,3,f97);
draw(o1);
}
if(v222 == 2) {
move.obj(o1,100,90,3,f96);
print("Who is this shady character?");
}
if(v222 == 3) {
print("He stopped outside your apartment. Hmm...");
set.view(o1,8);
end.of.loop(o1,f95);
}
if(v222 == 4) {
discard.view(8);
set.view(o1,9);
move.obj(o1,97,63,3,f94);
erase(o1);
}
if(v222 == 5) {
discard.view(9);
print("Maybe you should worry about that. But since you have no idea what's going on because you are buying munchies, maybe not.");
draw(o0);
}
}
if(ego_edge_code == horizon_edge) {   // ego touching horizon
  new.room(89);
  }
  return();
-Allyb-


http://www.mizpro.co.uk
The new home of Mizar Productions.

It is a sign!

Offline Jelle

Re:Help?
« Reply #1 on: October 19, 2002, 05:24:45 AM »
What's the problem, everything works fine...  ???
Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.

Offline Allen

Re:Help?
« Reply #2 on: October 19, 2002, 07:55:59 AM »
Whoops ;)
Forgot to mention that.
Well, basically, everything goes off at the same time. Andrew Baker gave me some help but it didn't want to compile.
(I think he played a practical joke on me, ever heard of a clamp? If I'm wrong, forget it...)

-Allyb-
http://www.mizpro.co.uk
The new home of Mizar Productions.

It is a sign!

Offline Jelle

Re:Help?
« Reply #3 on: October 19, 2002, 08:15:43 AM »
Quote
everything goes off at the same time
???
It does not... I compiled it, played, and it worked...
But: I can't possibly know what is going on,... (don't have your pic & views)....

This is what I get:

ego standing on position (100,70)

<I PRESS ENTER>

"You need some groceries. Ah,look. A store is placed conveniently next to your apartment."
ego moves to position 33,81
o1 appears, standing on position (159,90)

<I PRESS ENTER>

o1 moves to position 100,90
"Who is this shady character?"

<I PRESS ENTER>

"He stopped outside your apartment. Hmm..."
o1 changes into another view, and loops one time

<I PRESS ENTER>

o1 changes into another view
o1 moves to position 97,63
o1 disappears

<I PRESS ENTER>

"Maybe you should worry about that. But since you have no idea what's going on because you are buying munchies, maybe not."


What should have happend?
« Last Edit: October 19, 2002, 08:18:38 AM by Jelle »
Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.

Joey

  • Guest
Re:Help?
« Reply #4 on: October 19, 2002, 08:20:03 AM »
is this for mind quest?

Offline Allen

Re:Help?
« Reply #5 on: October 19, 2002, 09:04:11 AM »
Yup.
Anyway, figured out, Andrew didn't play a joke on me (figures) and all I had to do was set change it from (clamp) to (f45).

-Allyb-feeling-stupid-

-Afrob- O0
http://www.mizpro.co.uk
The new home of Mizar Productions.

It is a sign!

Offline Andrew_Baker

Re:Help?
« Reply #6 on: October 19, 2002, 03:09:46 PM »
Oh yeah, I forgot to mention that.  I always define names for my variables and flags to help me remember.
I hope you realize that one day I will devour the Earth.


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

Page created in 0.05 seconds with 22 queries.