lionz's Forum Posts

  • There is no point indicated. What are you trying to do? Explain it better please.

  • Fixed ?

  • Those are the events and actions. You could also do it by placing all 19 hexagons, making them invisible and then making them 'randomly' visible at the click of a button.

  • Enable bullet behaviour on the cannon ball. Use 'Set Angle Toward' for the direction of the ball.

  • Sprite animations

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.