naragames's Forum Posts

  • Ok thank, I try this.

  • Hi, I want to unlock the levels of my game by the global variables and save this by webstorage. But the webstorage can't work. How can I do this??

    I tried this:

    (except level 1, the other levels have a global variable: level2, level3... whit initial value 0)

    On end of layout(level 1) --> set level2 to 1

                                 set local key "lev2save" to "level2"

    And in the event sheet of levels:

    if level2 is=1

    on touch object     --->go to level 2

    On start of layout ---> Set level2 to Webstorage.localvalue("lev2save")

    Now, if i deactive this (On start of layout ---> Set level2 to Webstorage.localvalue("lev2save")) level unlock work, if this is active the level remains locked (or unclickable), so I think I'm wrong on the condition for save the level unlocked, right? Maybe I need another condition to save the variable??

    Please help!

  • Ok, it work ;) thanks for help.

  • The problem is: when the balls are destroyed, they add money, mana and kill to me (thehe are global varibles), so on restart of layout the give me as mana, noney and kill as balls I have. For resolve this, I thought to deactive this group on layout restarted, but then does not come back active! why??

  • I can post my .capx, but is for an android game, so I do not want to be made public!! Can I send it to one for fix the restart?

  • Hi, there is this condition "end of layout" but i can't understand how construct understand that layout is finished! anyone can guide me?? thanks

  • I do not think it is necessary to post my capx. I want know why on restart leyout, all sprite are destroyed

  • In my game (like bubble shooter), i added a button to restart the current level then with "restart layout" action. But this don't restart the layout, infact all the balls are destroyed, so them are counted!!

    Maybe this is not a bug, but i think that a restart MUST really restart.

    Sorry my bad english, please help me!

  • Please!! no one can help me???

  • Please!! no one can help me???

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • For destroy the balls of same colour, i've used flood fill effect with a detector, how this example dl.dropbox.com/u/5426011/examples12/area_size.capx

    posted here:

    scirra.com/forum/in-something-enclosed-or-is-it-just-me_topic53841_post340661.html by R0J0. Now when i shoot the bullet, the balls are destroy, but if i hit a single ball, it will destroy too! How can I fix this?

    Please help

  • Egg

    I've your problem, can you help me?

  • Hi, I want make a game like bubble shooter and I'm a newbie <img src="smileys/smiley1.gif" border="0" align="middle" />

    So i open this post for any help I need.

    The first problem is how to destroy all balls of same colour, but not destroy a ball if it is only one.

    Sorry for my bad english

  • ...sorry for my bad english :D

  • HI! I'm new, from Italy, and have downloaded construct some weeks ago. Now i'm working on a run game! :P