Table cell value and random function problem
houssam.almas@hotmail.com
Member Posts: 21
Hello i have just finished my game but when I publish it to arcade: the actor that might choose a random number from a table (table cellvalue (..,random(1,4)..) keep changing the number with a high frequency but I don't want this It might have a definite value each time it is spawned to tge screen..I don't have this problem in gamesalad preview
Comments
Everyone here wants help as soon as possible. Please use descriptive titles for your threads.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Also, post a screenshot of your rules.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Sorry but I am unable to send screenshot @tatiang but this is the rule:
If game.playing is true
do:
Display text:
display:(tablecellvalue(game.prime,random (4,17),random(2,10))
In gamesalad preview it shows on random number once it is spawned to the screen but in gamesalad arcade it keep changing with a high frequency!
I'm not sure why you can't send a screenshot but hopefully you'll get that working so that we can help you better. You can also post a link to download the project file (.zip it first)... that might be quicker as far as solving the problem goes.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
It may have changed from past (don't publish to arcade myself) but I thought you couldn't use tables with arcade.