milktea93's Forum Posts

  • For example like this

    thank for help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hey Guys, How to make progress bar for distance in auto runner template

    I want to set the maximum of total distance to 20 000 inside the bar

    need help! [attachment=0:3ea85y8a][/attachment:3ea85y8a]

  • Hey Guys , thank for help . Btw, I already change my project game

  • a few suggestions...

    nvm.. I solved the problem oledi

  • a few suggestions...

    but this method make the bullet can hit any of the box without shoot with the correct color...

  • Any 1 can help??

  • How do I spawn the 5 object have the long distance spacing.. I don't want them too close or overlapping each other..

    any suggestion or example? need help!

    [attachment=0:3ppglv8f][/attachment:3ppglv8f]

    2nd question

    how do I go to next layout of game for boss stage

    the runner and background will slowly and stop to move when come to the boss stage.

  • Here's a fixed version.

    I've changed the box from a tiled background to a sprite. Personally I think using tiled background's as obstacles or items is a bad idea as there are less checks and things you can do on a tiled background than you can do on a sprite.

    The last action checks for a sprite overlapping a sprite and destroys the top one. That way 2 can't stack on top of each other. You can't do this sort of check on a tiled background.

    [attachment=0:3ib7h0ys][/attachment:3ib7h0ys]

    sorry for late reply! you just awesome! save my time to solve this!

  • The lives are working.

    What is happening is when you die and the layout is restarted the game creates 2 boxes at the first position. That's why you lose 2 lives when you hit the first box you are actually hitting 2 boxes.

    It may do it further in the game but I never jumped just let the character hit every box.

    so .. how do i fix it??

  • I facing some problem about the lives bug.

    At the first time game play . everything going smooth and good.

    but when the player lost all of 3 lives and restart the whole game , the lives seem like not working properly..

    [attachment=0:34ef7umw][/attachment:34ef7umw]

    I don't know how to fix it

  • haha no problem, i hate when that happens

    Thank You! It work perfectly!!

  • Try this : https://db.tt/8W9XTS7N

    I just changed a couple of things, now when you fire it will set the initial X value of the bullet to the bullet itself. When the bullet travels a predermined amount (100 pixels in this case) it will destroy. Also uses a variable to make sure we cant fire more than 1 bullet per second.

    Thank ! but seem like this file created by R185 version.. I need to download the lastest version of contruct 2.. will tell you the result later

  • Try this : https://db.tt/8W9XTS7N

    I just changed a couple of things, now when you fire it will set the initial X value of the bullet to the bullet itself. When the bullet travels a predermined amount (100 pixels in this case) it will destroy. Also uses a variable to make sure we cant fire more than 1 bullet per second.

    Thank ! but seem like this file created by R185 version.. I need to download the lastest version of contruct 2.. will tell you the result

  • (bullet) On Created: wait (time in seconds that matches distance you like based on your bullet speed setting)

    then destroy self.

    Add an instance variable to your player called reloading=0 (or whatever name you want) and then In your fire conditions have reloading=0 and in its actions have: reloading=1, wait 1 second, reloading=0.

    any example? I just find the charge bullet tutorial only... but no have cooldown method in the tutorial section

  • Bullet distance travel > say 400 then bullet destroy

    Instance var reload=0

    reload=1

    system wait 1 sec or whatever you wish

    set reload to 0 again

    I had tried your method..

    after greater or equal than 50 , the bullet just destroy forever.. cannot shoot agian...

    my file.. [attachment=0:id727vl0][/attachment:id727vl0]