lionz's Forum Posts

  • It should be this way every time the user restarts the game. If you're using keys to save progress then I guess using Clear Session Storage (or Clear Local Storage if saving to web storage) should delete the save data.

  • Use the grid you have as a background. Set up co-ordinates for each of the 19 possible locations. When button is pressed, choose a random location and place the hexagon object at the location.

  • You can drag and drop items from a sub-folder to the parent folder.

  • Hello!

    Surely the co-ordinates are for your benefit only, or possibly for a player map of some kind. I don't see an issue with using 'GoToLayout <name>' here instead of the complex variable method. Is there any real reason to keep in the layout direction and destination stuff?

    If you still require help, a cut-down version in .capx format would be good. It could be many things but I would take a guess that it's the layouttag stuff causing an issue.

  • They are relevant in this case as it's not set up correctly as a sub-event of modcomp=2 but under rand=4 in general, as stated above.

  • I am aware that it's not a finished product but what I mentioned is the cause of the problem. What else do you need?

  • incorrect calculations because under rand=4 the modcomp=2 sub-events are not set up correctly. if you look carefully they are actually subbing when rand=4 and not when modcomp=2

    So what you are in fact seeing is the rand=4 banning overruling everything. once this is fixed however you will notice you are not getting banned, this is because rand never = 6, only 1-5. I believe the calculations you have set up only pick numbers 0 thru 5, you'll need floor(random(7))

  • bluenum is always 1. you have it set to navigate when bluenum is 5. you need to make bluenum a global variable if it's going to act like a counter and add 1 to it whenever an enemy is created, subtract 1 when destroyed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You don't have any layouts apart from the level select screen and the win screen....

    You need to create the layouts first. Then use GoToLayout actions.

  • Seems to work correctly and it sets currentlevel correctly so not sure what the problem is.

  • Hmm well I was on the new beta 143. try that and see. also try on Chrome please and see if you have the same issue.

  • You can set up the character's gravity, acceleration, deceleration etc when you do that type of jump.

  • See if you can get a video of what's happening on your end because that's weird. What version of C2 are you using and what browser?

  • Yep, starts out as a pink blank box. Then when I select each option in turn, the box changes appearance and I can move and jump around no problem.

  • As an example, have an 'Unlocked' variable set to 0, where upon being set to 4 it opens the door. When each button is correctly clicked in a sequence add 1 to 'Unlocked' for each button pressed so that when 4 buttons are pressed in sequence the door will open. If they do not click the correct button in a sequence reset 'Unlocked' to 0 etc.