Paladinlover |
Hi, I've started to learn to make SCI games a couple of days back, but I have a problem with the Scripts for the title screen. I've done everything that the Tutorial said right, but when I press 'compile and run' the game give me the 'opps, you did something we didn't expect. anyway, I fiddled around the scripting, and that didn't do anything. here's everything I've done.
|
Robin_Gravel |
Display( "Tutorial Quest" dsCOORD 115 80 dsCOLOUR clYELLOW dsBACKGROUND clBLUE ) Display() "By Salim Farhat" dsCOORD 92 100 dsCOLOUR clSILVER dsBACKGROUND clTRANSPARENT ) ) ) For your second quest, I don't know about QFG2. I own QFG1 and 4. Robin Gravel |
Eigen |
That works: Display( "Tutorial Quest" dsCOORD 115 80 dsCOLOUR clYELLOW dsBACKGROUND clBLUE ) Display( "By Salim Farhat" dsCOORD 92 100 dsCOLOUR clSILVER dsBACKGROUND clTRANSPARENT ) ) ) -Eigen |
Paladinlover |
Hold on, there's something wrong here. I reinstalled SCI studio and started the template game from scratch, here's what I did. I simply opened up the Title Screen script and I pressed the lighting object (the compile and run) and it gave me the exact same 'opps, you did something we didn't expect' and crashed. I think it isn't my fault after all, is this a bug? |
Eigen |
I guess you're using version 2.14 Better use 2.13 You can download it here: http://www.hot.ee/extime/scistudio.zip -Eigen |
Paladinlover |
Very well then, I'll do that and see if it's better, anyway, Brian told me that version 2.15 is coming up in a couple of days. Anyway, I have a couple of question to ask about. 1: After writing the script. Do I have to put those brackets in place or not? 2: When I start making a game from scratch. How do I copy paste other scripts, texts, pics, views etc, etc. From other SCI games into mine? 3: when I looked at Brians help file, I saw an immesely large collection of scripts. Will those scripts work for what I need? I know I'll always have to make my own stuff, but I do think they'll make my life easier.. 4: Do I need to add brackets after each script, if so, how exactly is it done, properly? Thanks. |
Lightfoot |
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
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.
|