levelName should be a family instance variable and not a dictionary key. And then the condition would be "levels -> compare instance variable".
<img src="https://dl.dropbox.com/u/8367729/construct/pics/dictionaryFamily.PNG" border="0" />
Give the family an instance variable "name" and set it to "level1", "level2", "level3" etc for each dictionary. Then you can pick the dictionary whose name value = "level" & currentLevel.
You can open the file from within C2, edit and save it. You don't need to re-import it.
Select the layer and you can change the color in the layer properties.
Develop games in your browser. Powerful, performant & highly capable.
Nice.
GabeOfThrones
You can pass the object's UID to the function and use that to pick it.
<img src="https://dl.dropbox.com/u/8367729/construct/pics/pickupFamily.png" border="0" />
1. The GrappleStaple has bullet behavior with speed 800 and you're moving it forward manually by 200*dt per tick. 800 + 200 = 1000.
2. Related problem - when you hit the box you stop moving it forward by 200*dt but the bullet behavior keeps going.
There's a recent thread you might find interesting:
http://www.scirra.com/forum/is-mode-7-possible_topic61815_page1.html
TheStoepsel2001
WebStorage = local storage.
scirra.com/tutorials/266/webstorage-how-to-save-ingame-information
scirra.com/manual/120/webstorage
Thanks but it's a bug with the software: http://www.scirra.com/forum/r1202-platform-jump-behavior_topic63939.html?KW=
Thanks but it's a bug with the software:
http://www.scirra.com/forum/r1202-platform-jump-behavior_topic63939.html?KW=
Ah I didn't see that thread.
I made some changes to the capx to highlight the problem. The player kind of snaps to the edge of the platform sometimes. Seems to happen more frequently in Chrome than in Firefox.
platformJump_r120.2.capx
Here's a capx:
arrayInFamily_r120.2.capx
I figured you could use a variable to track where you are in the dialog and increase the variable every time you click or press a key or whatever. This is what I came up with anyway:
XMLDialog.capx (r120.2)
Have a look at the "Physics Catapult" template.
If you click on the ribbon after changing the value it will stay. Click in the layout and it resets.