Author Topic: Operation: Moon Light!!!  (Read 7613 times)

0 Members and 1 Guest are viewing this topic.

Offline Dwarfy

Re:Operation: Moon Light!!!
« Reply #15 on: January 05, 2003, 11:08:46 AM »
Will try it.

Problem done!!
« Last Edit: January 05, 2003, 11:09:20 AM by Sidrious play »
I feel the power! It's in my shoes! *c-walking*

Offline Eero R

Re:Operation: Moon Light!!!
« Reply #16 on: January 05, 2003, 04:29:26 PM »


[attachment deleted by admin]
Persona grata ego sum...

Offline Dwarfy

Re:Operation: Moon Light!!!
« Reply #17 on: January 07, 2003, 12:13:41 PM »
Thanks!
I feel the power! It's in my shoes! *c-walking*

Offline Dwarfy

Re:Operation: Moon Light!!!
« Reply #18 on: January 07, 2003, 01:34:24 PM »
Hi!

Can someone help me please?!

Can someone tell me how to add items in room?

How to let them there (like a sofa)?

How to pick them up?

Erase it from screen when pick up?

Animate objects...stop, wait!
Thats wokrin'?

I got a few of problems whit stuck up and like that,
so please, help me!!

Thanks!

Infos about my game: I try to make the rooms and
                                    the title look better.
                                    So I starded to draw all
                                    pics new...better!
                                    Now I saw that my first room
                                    looks a little borring (title
                                    too...a little).
                                    That's the info I got 'bout ma game
I feel the power! It's in my shoes! *c-walking*

Kon-Tiki

  • Guest
Re:Operation: Moon Light!!!
« Reply #19 on: January 08, 2003, 07:24:40 AM »
Putting objects in room (in this case an item, it'll be easier to code the picking up then ;) )
Code: [Select]
f5 {                         // Sets the start of the room,
                               // only loads once
etc etc

if(!has("sofa")) {     // Checks if sofa is in inventory
animate.obj(o1);    // o1 is here the carryable sofa :o
load.view(2);         // Loads the view of the sofa
set.view(o1,2);      // Connects the sofa to it's view
position(o1, 50, 90);  // Places the sofa on coordinates
//(x = 50, y = 90)
draw(o1);             // Draws the sofa
}                          // Closes this piece of code
etc etc                 // rest of initialising code
}                         // From here on, the code that keeps //on loading starts.

Now, to pick the sofa up (this comes after the last code, in the section that loads every interpreter cycle)
Code: [Select]
if(said("take","sofa")) {  
  if(!has("sofa")) {
    print("You huff and you puff and you take the sofa.");
    get.obj("sofa");  // Puts the sofa in the inventory
    erase(o1);         // Removes the sofa-view
  }
  else {
    print("You already have that.");
  }
}

-Kon-Tiki-

Offline Dwarfy

Re:Operation: Moon Light!!!
« Reply #20 on: January 09, 2003, 12:46:21 PM »
I did that, but it stuck!  >:(
I feel the power! It's in my shoes! *c-walking*

Kon-Tiki

  • Guest
Re:Operation: Moon Light!!!
« Reply #21 on: January 09, 2003, 12:51:36 PM »
Is the object in the object file (so have you made the object with the object editor and saved it?)
If that's not it, please say where it's stuck.

-Kon-Tiki-

Offline Dwarfy

Re:Operation: Moon Light!!!
« Reply #22 on: January 09, 2003, 02:27:18 PM »
Now it doesn't stuck anymore, I fixed it.

But if I say: "get (object)", it says:

You already have it.
I feel the power! It's in my shoes! *c-walking*

Offline Dwarfy

Re:Operation: Moon Light!!!
« Reply #23 on: January 09, 2003, 02:31:04 PM »
Code: [Select]
if(said("take","sofa")) {  
  if(!has("sofa")) {
    print("You huff and you puff and you take the sofa.");
    get.obj("sofa");  // Puts the sofa in the inventory
    erase(o1);         // Removes the sofa-view
  }
  else {
    print("You already have that.");
  }
}

You told me to do get.obj, it won't work.
It is get("object");, but that wasn't my prob.
It doesn't work anyway!  :(
I feel the power! It's in my shoes! *c-walking*

Kon-Tiki

  • Guest
Re:Operation: Moon Light!!!
« Reply #24 on: January 09, 2003, 02:39:12 PM »
Try adjusting the room in the object editor to the room the object should be in.

-Kon-Tiki-

Offline Dwarfy

Re:Operation: Moon Light!!!
« Reply #25 on: January 09, 2003, 02:53:47 PM »
Ok.
I feel the power! It's in my shoes! *c-walking*

Offline Dwarfy

Re:Operation: Moon Light!!!
« Reply #26 on: January 09, 2003, 02:57:11 PM »
It work, but not so well I want to.  :(

Now if I get the object, it will give me all objects

I created.  >:(
I feel the power! It's in my shoes! *c-walking*

Kon-Tiki

  • Guest
Re:Operation: Moon Light!!!
« Reply #27 on: January 10, 2003, 10:52:19 AM »
Can you send me a sample of the game? I'll look it up and fix it for you.

-Kon-Tiki-

Offline Dwarfy

Re:Operation: Moon Light!!!
« Reply #28 on: January 10, 2003, 12:05:47 PM »
Ok.
I feel the power! It's in my shoes! *c-walking*

Kon-Tiki

  • Guest
Re:Operation: Moon Light!!!
« Reply #29 on: January 10, 2003, 01:04:46 PM »
Done and done. You should have the fixed version in your mail now.

-Kon-Tiki-


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

Page created in 0.044 seconds with 17 queries.