Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Lightfoot

Pages: [1] 2 3 ... 5
1
Mega Tokyo SCI Archive / Re:New SCI Studio
« on: February 03, 2003, 09:33:30 AM »
Ah sweet, thanks a bunch Brian.

2
Mega Tokyo SCI Archive / Re:priority colours - HEEEELLPP!
« on: January 29, 2003, 09:54:01 AM »
Hey!

I should of said I was female. Maybe I would have been given as much help.

3
Mega Tokyo SCI Archive / Re:CoreQuest Lost Again!
« on: January 29, 2003, 09:53:00 AM »
I can't, I click open select my game, then bang wrong version error and the gaem closes.

I don't get to do anything.

4
Mega Tokyo SCI Archive / CoreQuest Lost Again!
« on: January 28, 2003, 09:46:12 AM »
Ok, I was just writing up a new script, and I switched back to the explorer, then it said...

"The game you are trying to load is not SCI0"

now I can't load it up at all, what can I do?

5
Mega Tokyo SCI Archive / Re:Got a problem(s)
« on: January 19, 2003, 02:47:11 PM »
The brackets are always required, they open and close each function, class, etc... Just about everything uses them.

the ( bracket is an open and the ) bracket is close. Anytime that you use an open bracket you will have to use a close bracket.

example

Code: [Select]
SetCursor(gNormalCursor)

This changes the currentcursor to the global variable gNormalCursor, notice the open bracket after the function and the close bracket after the variable.

Sometimes an open bracket is required first, like if and while.

Example.

Code: [Select]
(while(temp0)
      //do something
)

6
Mega Tokyo SCI Archive / Re:Can't complete KQ5!!
« on: January 18, 2003, 01:13:03 PM »
I couldn't finish it either, the colors went all wacked and no matter what I did, it wouldn't follow through the ending sequence.

7
Mega Tokyo SCI Archive / Re:Need Help Disposing Dialog
« on: January 17, 2003, 11:13:20 AM »
Alright nevermind, I bot it. Stupid missing return statement  :-[

8
Mega Tokyo SCI Archive / Re:Need Help Disposing Dialog
« on: January 16, 2003, 09:47:15 AM »
Any help would be much appreciated  :-\

9
Mega Tokyo SCI Archive / Re:remembering ego's x, y position
« on: January 16, 2003, 09:44:53 AM »
Not a problem  8)

I've been stuck on one thing for the last week, and it is holding me back from doing anything else. So I have plenty of time to assist, untill I get it working.

Then I get back into it and I won't return untill another major problem or it's finished.

Either way I hope it's a long time before I have to spend this amount of time cracking one error.

10
Mega Tokyo SCI Archive / Need Help Disposing Dialog
« on: January 15, 2003, 05:37:13 PM »
I've had some trouble disposing a specific dialog, while others work flawlessly.

Here is a link to the code http://compu-core.com/myscript.htm

11
Mega Tokyo SCI Archive / Re:remembering ego's x, y position
« on: January 15, 2003, 02:50:37 PM »
You can probably modify the Ego class to remember old position. Or make the xy global variables, I don't know how else to pass it from each room to the next.

12
Mega Tokyo SCI Archive / Re:Stupid newbie questions
« on: January 15, 2003, 02:49:08 PM »
Sorry man, I don't get it  :-[

13
Mega Tokyo SCI Archive / Re:Using mouse in SCI.
« on: January 15, 2003, 02:44:49 PM »
Here is a rough copy of what I use...

Code: [Select]
(class Options of Dialog
          (properties
          Active FALSE
          bDialog 0
          )
          (method(draw)
                   (var hDialog, hIcon)
                   = hDialog (Dialog:new())
                   (send hDialog:
                               text("Options")
                   )
                   = hIcon (DIcon:new())
                   (send hIcon:
                             value(OPT_EXIT)
                   )
                   (send hDialog:add(hIcon) setSize() open(nwNORMAL 15)
                   = Active TRUE
                   = bDialog hDialog
          )
          (method(hide)
                  (send bDialog:dispose())
                  = Active FALSE
          )
          (method(handleEvent pEvent)
               (var temp0, temp1)
               = temp0 (send bDialog:first())
               (while(temp0)
                        = temp1 NodeValue(temp0)
                        (if( (<= (send pEvent:x) (send temp1:nsRight)) and (< (send temp1:nsLeft) (send pEvent:x)) and (<= (send pEvent:y) (send temp1:nsBottom)) and (< (send temp1:nsTop) (send pEvent:y)) )
                                    (self:doAction( (send temp1:value) )
                       )
                       = temp0 (send bDialog:next(temp0))
               )
          )
         (method(doAction action)
                   (switch(action)
                             (case OPT_EXIT
                                       (self:hide())
                             )
                   )
          )
)

Keep in mind this code I typed from my memory with no reference, so if it doesn't work exactly that's why. All of my game is at home where I have no internet connection, none of this code is available to me here, at work.

14
Mega Tokyo SCI Archive / Re:Custom Inventory
« on: January 15, 2003, 02:34:31 PM »
Thank you Pikachu  8)

I made the custom MenuBar and the options screen.

My problem now is this the options dialog unlike the rest will not close properly.

I use
Code: [Select]
(send hDialog:dispose()) and it works but the game crashes after that. I used Sierra's debugger, and it appeared to close ok, but it was after it closed that it would crash.

I don't understand at all why it's not working, the other 2 dialogs that I made identically the MenuBar and the Inventory close without failure.

I have been banging my head into the wall over this one for a week now, and I am just about fed up with it. Problem is I can't go on to play test other parts of the game if I can't use the options menu.

15
Mega Tokyo SCI Archive / Re:remembering ego's x, y position
« on: January 13, 2003, 10:42:18 AM »
Code: [Select]
(switch (gPreviousRoomNumber)
            (case 1
                     (send gEgo:
                                posn(110 100)
                                loop(0)
                     )
            )
)

It's in the SCI tutorials.

Pages: [1] 2 3 ... 5

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

Page created in 0.07 seconds with 20 queries.