My table wouldn't work

EpicoreGamesEpicoreGames Member Posts: 188
edited January 2015 in Working with GS (Mac)

So i want my actor to drop from the screen top with a random speed.
I have made a table( name:Drop Speed ) with a list of real numbers in it.
And i put game.DropSpeed random(100,170) in the accelerate block of my actor.
The largest number in the list is 170 and 60 for the smallest.
When i try to run the preview , it just stuck at the Main Screen ( screen before game ) and keep flashing like looping . When i click on the game screen , it just turns black .
But it would work if i delete that block ( and of course no more random speed ).
Any solution please?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    You can't access table data by using the name of the table alone, game.DropSpeed. That's kind of like saying that you filled an Excel spreadsheet with values and you're going to find your checking balance from last Tuesday in the "Excel" rather than say "cell B5." It's not specific and not the way it's intended to work.

    Google gamesalad tables and you'll find lots of videos, tutorials, etc. that will help you understand how tables work.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.