lionz's Forum Posts

  • It works if you run it every second. I think every tick is too fast to allow it to even do a jump so it just appears static. Although you did get it to jump once, which is confusing. Try adding a wait time of 0.1 seconds after simulate jump.

  • I'm not going to give notes on how to clone an entire game. Please read the manual basics and familiarise yourself with Construct 2, then if you want help with something specific please post back on here. If you are looking to move your character towards mouse click you can use SetAngleToward(Mouse.X, Mouse.Y) or look at the tutorial level called 'Move To Mouse'

  • Just ensure that it's always spawned target.x(+range.x),target.y(+range.y) away from the target? Is the range always the same distance?

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

  • Fixed ?

  • Try Construct 3

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

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

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