Niek's Forum Posts

  • Anyone who knows how to make a signing key, using cordova and cocoon.io, it fails everytime I try to make one...

  • So I am creating an app and simplified it has two time-based expressions:

    Every 2.5 seconds -> Create object "obstacle"

    Every 9.9 seconds -> Create object "changing players color"

    So basically it creates 3 obstacles and then 1 sprite which changes the color of my player.

    It works great and I don't have any issues with it, but when game over, a menu pops up with the option to replay. When it does that it changes everything to their initial state, except for the time the game is running, so then the spawning becomes irregular and wrong.

    Someone with a sollution? Thanks in advance

  • Maverick1912, tried it with the touchpad, and 3 different mouses but it keeps happening to me...

  • Maverick1912 this is great, but now when I click on the retry button it plays the game automatically, and it should be the ball using the sine behaviour just like when you refresh the page and you're on the frontpage, if the retry button is touched it should do the same thing as refreshing the page, and then when the ball does the sine behaviour again and someone clicks again, so touchcount (variable I made) is greater than 0, it should play the game again. Thanks

  • dop2000 Maverick1912 1drv.ms/u/s!AjWIESBnPrrmmne5VO3Pq9KQf8WK sorry guys for the late response, hope you can do something with this

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • dop2000 just saw your reply, was on a holiday.

    here is the capx: dropbox.com/s/r5j03chzghp5lmg/%204%20Colors.caproj

    deleted everything I made in combination with the "retry" because it didn't work.

    If you build it in please do it under the group "game over menu".

    Thanks in advance! (Ignore the highscore thing in the bottom of the layout, isn't working yet)

  • imgur.com/pqd9bxe

    If object gets on collision with another object, gameover = set to "true"

    Want the gameover menu (with text in the future) and retry button to fade in whenever that happens, and that works fine, but when I click on the retry button, it does go to an "refresh" layer and then immediatly back to the game layout, but the gameover menu and retry button keep on screen whatever I try, and my game starts automatically, when normally this only happens when 1 touch has been made. If you know how to help my I would be very excited to hear from you.

    Thanks in advance,

    Niek Biesterbos

  • Asmodean worked! Thanks a lot for all your help!!

  • The problem is in the destroy line because when I disabled it everything works.

  • Changed -1 pixel to -5, up untill -3 everything still works fine, after -3 it creates 1 good one at the start and then it fails

  • Asmodean now if I want to change the speed of the obstacle's movement to a higher speed it created only 1 good obstacle, and the other obstacles are just one block on the bottom and the other 3 are missing

  • Exactly, you're amazing thank you my friend!

  • Want to create a sort of color switch thing, 4 object on each other in 4 different colors but there must be changes in the pattern. So 1 is black white grey purple (example) and 2 is white black purple grey. When the stack of 4 object is created it needs to move to the left and then a new one needs to be created. The 4 object on each other form a obstacle in my game. The 4 objects fill the entire screen so the player needs to go through one object and the other 3 will let him die. So what I'm asking is how I create that obstacle in 4(or more) different patterns without getting that error. Thanks in advance

  • Asmodean got it, thanks. Do you have a suggestion too?

  • imgur.com/cL59bNE

    imgur.com/V8SPPT5

    Event sheets are in the links, I know there is a problem with the if x-object is created create 3 more objects events, but I don't know how to fix them/ find the exact problem.

    Thanks in advance

    Niek Biesterbos