Does FGL accept any other type of file besides .swf?
Perhaps one of these links will be helpful:
http://www.scirra.com/FORUM/follow-path-behavior_topic47235.html?KW=path
http://www.scirra.com/FORUM/how-to-make-bullet-follow-the-line-just-drew_topic53718_post336179.html#336179
Here is a way to do it:
http://dl.dropbox.com/u/5426011/examples13/randomTiledBackground.capx made with r99
Develop games in your browser. Powerful, performant & highly capable.
The save/load actions work, they should save the entire state of the game. The shortcoming of it is not all the plugins save/load all of their state.
You could use a dictionary object and make a conversion table. Instead of adding each key,value pair individually I would do it all at once with the "load" action of the dictionary object to load a JSON string.
You could also use javascript to do the conversion. It's a fairly common operation so searching a javascript reference should give a result. You can then use the javascript from C2 with a third party plugin that allows you to call javascript code.
Instead of checking with events, you could make a variable for your txtWords which stores a list of the txtGame.IIDs then you could just check with a pattern in events.
http://dl.dropbox.com/u/5426011/examples12/ArcadEd.capx r99
edit: The array object isn't used anymore.
Also here is another way of doing something similar:
http://www.scirra.com/forum/word-search-game_topic44971.html
You could try setting text to "Dictionary.AsJSON" for a single action way of displaying the contents.
You need to reset the variable to 0 before you count.
This is how I'd do it:
Global number zero_count=0
System: Every tick
---- System: Set zero_count to 0
Array: For each X element
Array: Current value = 0
---- System: Add 1 to zero_count
You can do it with the canvas plugin:
http://dl.dropbox.com/u/5426011/examples12/mirror.capx
Once there are webgl shaders in c2 it will be easier to get high quality results.
It's by design and was added around r90 or so. Before that a size of zero was not allowed.
I say keep it as is. An array with a width of zero is invaluable when using arrays as a dynamic list, stack or queue. Not to mention that it would be a regression that would break existing capx files.
You could rename the *.zip to *.pak, and wouldn't a password protected zip negate the risk?
You could always add the resource files to the "files" folder of your project and use the resource plugin to access them. That way you would have only one big exe instead of many files.
It's just a bit of math:
http://dl.dropbox.com/u/5426011/examples12/orbit2.capx
Member since 15 Jun, 2009