Hello forum users
I'm trying to create in the moment online game Scirra Construct 2
with the database, I came some rather large areas, can I initialize them as fact, to be able to use them?
[I am from russia, sorry my english]
Sorry I can't exactly understand what you are asking.
Develop games in your browser. Powerful, performant & highly capable.
LOL | Me too. KFan are you using some sort of word translator?
Yes, i am use google translate,
ok, try in their own words
i am use Scirra + ajax + php
php return big array, i am can use in scirra?
yes, you can load data from php with Ajax and put the result in an array... I am not sure how huge the array can be.
how?
A good start is this tutorial on how to use Ajax requests:
scirra.com/tutorials/61/ajax-example-with-construct-2/page-1
A good instruction on arrays is here:
scirra.com/tutorials/40/basic-loops-and-arrays
All you need to do is put the data from the Ajax request into the array
not understand, php return array, how init Contruct 2 Array?
All Array boxes create need, how is init?