I'd like to see the original 'comma' separator allowed for dimensions. The new format is 'x', but all tutorials and current users are used to using a comma. Seems like an easy addition. Even if it is substituted to the new format, allow it for data entry.
function.Call("get_string", parameter)
There's various algorithms for poker. Sorry, I can't help beyond decoding the cards, as in the given function. Either Goggle "poker algorithm code" or maybe someone else has done this already.
Sort them how?
Develop games in your browser. Powerful, performant & highly capable.
http://www.blackhornettechnologies.com/Construct2Stuff/Shuffle_BHT.capx
With Smart Random and a decoding function to convert the numbers 1 to 52 to your CiS format.
It's hard to tell what's going on in a screen shot. Can you post what you have so far?
Yes, you need to pull the values out one by one into your own array.
I don't have a card example, but you don't input the values, it will generate them for you. Give a range of 1 to 52, for example, and decode the cards from there. Or, use it four times for each suit from 1 to 13.
http://www.blackhornettechnologies.com/Construct2Stuff/Test_send%20instance_BHT.capx
You can't bury an 'Every X seconds' inside a function. The function is only called once. That event will never be seen again. Also you are using a global variable to trigger the movement. You need an instance variable to set the target flag on just the one object at a time. This should be closer to what you want, if not exactly what you asked for.
http://www.blackhornettechnologies.com/Construct2Stuff/SmartRandomBaseAndRange.capx
Use the array as an offset from your base number, using the array as a range.
If your base=12, your range is 6 (or +/-3), X=Base + RND - Range/2, or 12 + RND - 3, where RND is a number between 0 and 5.
You can use this to get an array of unique numbers:
Member since 28 May, 2012