Tetriser
Both, it's a joint project.
Is this closer to what you want?
http://www.blackhornettechnologies.com/ ... r_BHT.capx
You can use Multiplayer as an example. It includes four different external files.
Have you included the dependency in GetPluginSettings():
"dependency": "external.js",
Globals are global across the project. Just set it and "on start of layout" of the layout you care about, set the Text to the global value.
Develop games in your browser. Powerful, performant & highly capable.
I have a template in the store, if you want to save time.
https://www.scirra.com/store/royalty-fr ... ooter-1979
Yes. R0J0hound's examples had a TileMap mechanism.
granpa's code (almost) does it (brackets were in the wrong place):
x=(square1.x+square2.x)/2
y=(square1.y+square2.y)/2
C2 doesn't give that data. Here are some threads on the topic:
The function won't work, as picking a single object will always return an index of zero. Maybe expand on what you are really doing.
The UID is unique, the IID is just an index for the picked objects.
It's not clear how the game is implemented, as 100 levels and 100 layers is mentioned, so is that actually 1 layout and 100 layers, or was it just a bad choice of words (ie: 100 layouts). Could still be a global layer.
One option to try is have a top layer with a non-transparent black colour. Then adjust the opacity of that layer to control the "brightness" of the other layers.
Here's an example of switching FireMonster to use a Timer using a MasterTimer object.
http://www.blackhornettechnologies.com/ ... s_BHT.capx
Yes, if that needs to change. It wasn't clear where Missle_1 came from, since it isn't directly referenced in the picked objects.
Roughly you want to pass in the two UIDs of the objects so they can be picked again, and then move events 409-412 into the function. I like to pull the params out into variables, but that isn't necessary. I think it's cleaner though. The "for each" is in case the weapon hits more than one enemy at a time.