Tombufa's Forum Posts

  • The problem is when the global varible 'Crate Health' = 0 all crates are destroyed instead of only the one my bullet collided with. What I have is:

    CrateHealth = 3

    When Bullet collides with Crate: Subtract 1 from crate health

    When Crate Health = 0: destroy crate

    This destroys all the crates instead of only the one that got hit. What I am looking for is a way to destroy just the one without having to create multiple sprites.

    Thanks

  • I have looked at the infinity jumper but I will check out endless runer

  • what i am trying to do is make my layout y infinite but if i make it infinite it lags. Unbound scrolling does not work because I am spawning objects on layout.

  • Right now I have it so when I click the space bar my character fires a bullet. If you can click the space bar 10 times in one second it will fire ten times. What I am looking for is a simple mechanism that makes it impossible to fire a bullet within 2 seconds of another one. In other words I am looking for a way to disable bullets for 2 seconds within firing one.

    Thanks

  • This does not help me in my situation but thanks more the less

  • Is there any way to change the layout size by event. What I want to do is every 1 second increase the layouts y length by 100. Is it possible to do this and if it is how can I

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If there is an unclosed or un nessisary loop it may be the problem

  • I have no trouble spawning objects on the layout but when my player starts to go into the area of unbound scrolling( beyond the layout) all my objects stop spawning. What I mean by objects spawning is I have made it so an obstacle spawns every 120 y. What I need to find out is how to continue these objects spawning even when i am off the layout and unbound scrolling.

    Thanks

  • thankyou everyone the problem is solved after I found the template

  • What I want to do is create a layout that either keeps creating itself or goes on forever until I die and it restarts. I do not mind doing a loop but I do not want to repeat scenerios. For example a game like Doodle Jump keeps creating random scenerios for the infinite amount until the player dies. If I make my y coordinate infinite though it will lag greatly and not load.

    Thanks

  • thankyou very much

  • do not use google sketch up if you are going to do 3d sprites

  • When I press the right or left arrow I want the sprite to go to the closest of the 4 x positions given. Lets say player.x = 360 and the 4 positions are (100,120,150,300) I want player.x to move to 300. I already have a expression that rounds it to the closest factor of 80 which is: round(Player.X /80)*80 but when I wrap the sprite it does not round.

    Thankyou and I hope you can help

  • all right thankyou I will try this tomorrow

  • What I need to do is spawn a object every 80y in either one of the four x column. If you have played the game piano tiles what I am trying to do is spawn a tile every 80y up the track in either one of the 4 columns. What I need to know is the expression or event to do this so many objects spawn on the start of the layout.

    Thankyou

    Ps. I am not trying to remake piano tiles :/