Author Topic: Game speed  (Read 5779 times)

0 Members and 1 Guest are viewing this topic.

Offline King Graham

Game speed
« on: April 05, 2007, 12:12:25 PM »
Two questions about speed:

1) How do you set the starting speed?
2) How do you let one view go slower than the other?

Thanks!



Offline Doan Sephim

Re: Game speed
« Reply #1 on: April 05, 2007, 12:49:38 PM »
(1) I believe in the Initrooms script you will find (send gGame:setSpeed(5)) in the (method(doit). It may not be 5 by default, that might be my own change...but really you can use the (send gGame:setSpeed(#)) code almost anyplace you like to change the game speed. I tend to put it with all the init stuff in a roomscript if I want the room to have a certain speed.

(2) to make other views go slower it depends on what you mean. If you just want their animation to go slower, you can use cycleSpeed(#) and the higher a number you put there the slower the animation goes. Hopefully that is what you meant. It would look like this: (shinyThing:init()setCycle(Fwd)cycleSpeed(5)) and it's animation would be kind slow.


Offline King Graham

Re: Game speed
« Reply #2 on: April 05, 2007, 01:37:59 PM »
 ;D It works! Thanks!

I have another question:

I've used the script of Larry 2, Reloaded! for people passing by, and I want if you say 'talk guy' it says with everyone something else. How can you do that?

Offline troflip

Re: Game speed
« Reply #3 on: April 05, 2007, 02:13:40 PM »
In response to Said('talk/guy'), just test which character the ego is close to (I think you learned how to do that yesterday with a door) and give the appropriate response.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline King Graham

Re: Game speed
« Reply #4 on: April 05, 2007, 02:40:46 PM »
That cant, cuz there all the same act. Only the view changes every time.
Darn!

Offline troflip

Re: Game speed
« Reply #5 on: April 05, 2007, 02:55:36 PM »
Ok, so then just base the response upon the Act's current view.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline King Graham

Re: Game speed
« Reply #6 on: April 05, 2007, 03:31:46 PM »
Thanks!  ;D

Offline jtyler125

Re: Game speed
« Reply #7 on: April 17, 2007, 09:11:02 PM »
Ok,

The cycle speed thing might have answered another question I had about the change state method...that sounds better than what I was trying...but now how do we...hide the ego to add an animation...and then make the ego reappear?

JT

EDIT: answered in this thread: http://scicommunity.com/sciforums/index.php?topic=210.0
« Last Edit: April 18, 2007, 01:14:03 PM by Doan Sephim »
Life is getting better all the time.
Groundhog Day Competition New Year's Competition


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

Page created in 0.03 seconds with 23 queries.