dop2000's Forum Posts

  • Try saving after a small delay, when the platform object has been destroyed.

    On start of layout -> Wait 0.1s, Save Game

  • You want to tween frames in a long animation? You can use Tween Value, and set frame number to the value.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • If you click the tilemap, you should be able to change tile size in the Properties bar (usually docked to the left side of the window).

  • Check everything, repeat every step in the tutorial, this usually helps.

    If it still doesn't work, check browser console, there may be an error message.

  • You should not use "Get" without checking if the item exists. The correct code is:

    On start of layout -> Local Storage Is "PistolLVL" exists
    
    On "PistolLVL" exists -> Set PistolLVL to LocalStorage.ItemValue
    

    This doesn't explain the 5s delay though, there must be something else in your code.

  • Basically what the subject says - HTML5 game works fine until you lock/unlock iPhone, or minimize/restore Safari. After that there is no sound.

    This is not related to the latest C3 update, in fact the game exported from C2 has the same issue.

    Has anyone had this problem? Should I report it as a bug?

    Tagged:

  • I wrote it in text ----> on event complete- load load load load

    There is no "On event complete" in Construct. And there is no "Load Load Load" action in Local Storage plugin. It's not a bug, I've seen problems like this many times on this forum. Your code is wrong, good luck fixing it.

  • For each Object -> Add Object.HP to var

    If you need an average value, you can divide var by Object.count after the loop is finished.

  • There is no need to post the code,because its already mentioned in the post.

    Do you need help with this or not? Mobile or desktop - it doesn't matter, if it takes 5 seconds, this means that your code is wrong!

    savvito123 Cheers :)

  • Here is another slightly more detailed version

  • Local Storage is not slow. Even if you are saving/loading dozens of keys, it should only take a fraction of a second. If it takes 5 seconds, this is a clear indication that you are doing something wrong. As other people have said, you should post your code.

    • Post link icon

    Is there a way to make custom buttons like an image as a button?

    Of course, most people use sprites as buttons. Just add "Mouse on object clicked" or "Touch on tap object" event.

    If you want, you can add some visual effects, for example on mouse click, change animation frame in the sprite, and then after 0.1s delay change it back. Or increase sprite scale slightly, and then after a delay set it back to 1.

  • Like I said, you need to change "Z_Movement Move 16 pixels" to "Z_Movement Move 80 pixels", if you want to have fewer waypoints.

    You don't need MOVEMENT sprites, remove them and use a tilemap. Use tilemap expressions like SnapX, SnapY, TileToPosition, PositionToTile etc.

    construct.net/en/make-games/manuals/construct-3/plugin-reference/tilemap

  • Where do I start...

    Since you made the grid 80x80, you need to change cell size to 80 in Pathfinding properties, and in event 12 - "Move 80px.."

    Your grid is misplaced, its left top corner should be at 0x0.

    And why do you need so many MOVEMENT sprites? Remove them and use a tilemap.

    Finally, you have a mess with layers, half of the map is on the HUD layer for some reason.