Author Topic: SCICompanion Prelease Testing!  (Read 14798 times)

0 Members and 1 Guest are viewing this topic.

Offline SuperDre

Re: SCICompanion Prelease Testing!
« Reply #45 on: June 07, 2007, 03:48:04 AM »
The biggest problem with SCI Companion is the interface, IMHO it is very bad compared to SCIStudio, there is no real distinguish between toolbars and windows, it all looks like one big canvas with icons. But I guess that's just my opinion. But it's great someone is making another editor..

Offline MusicallyInspired

Re: SCICompanion Prelease Testing!
« Reply #46 on: June 07, 2007, 09:28:22 AM »
You can alter the interface to look like a list instead of labeled icons like SCI Studio. I think the interface is fantastic, however.
Brass Lantern Prop Competition

Offline troflip

Re: SCICompanion Prelease Testing!
« Reply #47 on: June 07, 2007, 12:42:30 PM »
The biggest problem with SCI Companion is the interface, IMHO it is very bad compared to SCIStudio, there is no real distinguish between toolbars and windows, it all looks like one big canvas with icons.

Is your complaint that you want the toolbars to have lines around them?
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline SuperDre

Re: SCICompanion Prelease Testing!
« Reply #48 on: June 11, 2007, 03:53:15 AM »
Is your complaint that you want the toolbars to have lines around them?

Simply put, yeah, or better said, I'd rather have the real 'old' windows look like scistudio has.. but musicallyInspired said about being able to alter the look, and that's something I haven't tried yet..

Just to let you know what I think about UI's: the new ribbon stuff in the new MS Office is just plain awfull.. hehe..

but keep up the great work on SCI-Companion, in the end it will be a really great enviroment to develop SCI games..

Offline troflip

Re: SCICompanion Prelease Testing!
« Reply #49 on: June 11, 2007, 12:13:48 PM »
Ah, I think the office ribbons look great... I'm still not sold on their usability though.

I can easily switch sci companion back to something resembling the old windows look (just one line of code change).  I could offer this as an option in the prefences dialog.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Nychold

Re: SCICompanion Prelease Testing!
« Reply #50 on: June 13, 2007, 10:50:49 AM »
SCI Companion crashed several times for me last night, trying to add two functions to Feature.sc.  I don't have them with me, but I'll post them up when I get home tonight.  Sufficed to say, the problem is with one specific chunk of code that may or may not have syntax errors.  I can't tell because it crashes.  ;D  But I do know that if I comment it out, the program works perfectly.

Also, would it be possible to change the names of proc999_2 and proc999_3 to something representative of what they actually do?  proc999_2 is a max function (returns the largest number in a list) while proc999_3 is the min function. ;D 

Offline troflip

Re: SCICompanion Prelease Testing!
« Reply #51 on: June 13, 2007, 01:17:07 PM »
Thanks... I will await your code...

As for proc999_2, that's just what Brian called it when he created the template game - I haven't changed it, but I could.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Nychold

Re: SCICompanion Prelease Testing!
« Reply #52 on: June 13, 2007, 04:12:57 PM »
Yeah, I know.  And I'm sure Brian wanted to go back and change it, but I think he was too busy getting a demo game together, and didn't remember when it was all over with.  But since you seem to be the only one working on getting new/better tools for us to use... :D

Offline Nychold

Re: SCICompanion Prelease Testing!
« Reply #53 on: June 13, 2007, 06:33:07 PM »
Here's what I was trying to do.  I used the SCI tutorials to set up a simple room, but had troubles with determining on which control line ego stood.  In the tutorial, it says to use

Code: [Select]
  (if (== (send gEgo:onControl()) ctlXXXX)
    // stuff
  )

But this doesn't always work, especially when multiple control lines are triggered.  So I thought I'd simplify the whole process:

Code: [Select]
(procedure (consolidate x others)
  (if (== paramTotal 0)
    return(0)
  )
  (else
    (if (== paramTotal 1)
      return(x)
    )
    (else
      return(| x consolidate(others))
    )
  )
)
//...
// Inside of Actor
  (method (isOnControl controlColor others)
    (if (== paramTotal 0)
      return (self:onControl())
    )
    (if (== paramTotal 1)
      return (& (self:onControl()) controlColor)
    )
    (if (> paramTotal 1)
      return (& (self:onControl()) (consolidate(controlColor others)))
    )
  )

If I comment out Actor:isOnControl, the program doesn't crash, the game compiles, and runs.  If I uncomment it, the program crashes, with nothing sent to the output screen:

http://i176.photobucket.com/albums/w167/nychold/SCI%20Companion/Success.jpg

http://i176.photobucket.com/albums/w167/nychold/SCI%20Companion/Fail.jpg
« Last Edit: June 13, 2007, 06:34:45 PM by Nychold »

Offline troflip

Re: SCICompanion Prelease Testing!
« Reply #54 on: June 13, 2007, 07:25:06 PM »
Excellent, thanks. I'll try to reproduce this when I get home.
One question: do you have browse information enabled?  (tools->preferences)

Also, when does it crash?  When you compile?  Or as you are typing in the editor?

As for the control colours,
have a look at this tutorial.  You shouldn't need to change the template game to get the behaviour you want.

[edit] ... oh, I see.  It crashes when you "compile all".. in that case, browse information has nothing to do with it.
« Last Edit: April 16, 2015, 02:21:54 PM by Cloudee1 »
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Nychold

Re: SCICompanion Prelease Testing!
« Reply #55 on: June 13, 2007, 07:39:55 PM »
Yeah, I figured out why it didn't work, but I kind of prefer a bit more simplicity when I code. ;)  Especially with a Polish notation language like Lisp SCI's language.  ;D

Offline troflip

Re: SCICompanion Prelease Testing!
« Reply #56 on: June 13, 2007, 10:31:03 PM »
Ok SCI Companion version 2.1.0.5 has been uploaded here.

Let me know if that works for you.  The crash would happen whenever you added a method or property to a class that used a name that wasn't used anywhere else in the game yet (e.g. isOnControl).
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Nychold

Re: SCICompanion Prelease Testing!
« Reply #57 on: June 13, 2007, 10:44:00 PM »
Yep worked.  Thanks!

Edit:  I got another one for you now.  The program crashes when you "define" a value from another defined value.  In other words:

Code: [Select]
(define TRUE 1)
(define FALSE 0)

(define ENABLED 1)
(define DISABLED 0)

(define NULL 0)

(define DEBUG_ENABLED TRUE) // <--- This causes the crash
« Last Edit: June 13, 2007, 10:47:33 PM by Nychold »

Offline troflip

Re: SCICompanion Prelease Testing!
« Reply #58 on: June 13, 2007, 11:26:50 PM »
Ok, for some reason I was under the impression that SCIStudio didn't even allow you to do this (I thought it only allowed integers for defines), but I guess I was wrong. 

I could fix the crash pretty easily, but offering that functionality is a bit of work, and I don't want to risk de-stabilizing the version that's out there now.  So I think I'd like to address this in the next version.

So for now, can you just work around it by specifying 1?

I really appreciate you finding these issues though!
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Nychold

Re: SCICompanion Prelease Testing!
« Reply #59 on: June 13, 2007, 11:59:01 PM »
Yeah, that's what I'm pretty much going to do...just make it 1.  Whether it's defined in the language or not, it shouldn't crash. ;D  And rest assured, if there's some little nuance of the compiler that's at fault, I'll find it.  I pride myself on not following the norm of programming. :D :D


SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.102 seconds with 24 queries.