zikdot's Forum Posts

  • Thank you I will have a go at it and get back to you.

    Thanks :D

  • I've created a game where 2 sets of enemies will be coming towards the player at random spawning times.

    I wanted there spawning time to increase over time to increase the difficulty of the game, so i added a Global Variable called 'SpawnTime'.

    The 'SpawnTime' will subtract from the enemy spawning rate. However i need to create a limit so that it doesnt subtract forever.

    I'll try and explain my even page below.....

    (1) every x seconds | random(5-SpawnTime, 8-SpawnTime) | Create Object | enemy1

    (2) every x seconds | random(1-SpawnTime, 3-SpawnTime) | Create Object | enemy2

    (3) every x seconds | 5 Seconds | Add 1 to SpawnTime

    So i basically need to stop the SpawnTime from constantly subtracting from the enemy spawn rate otherwise once the spawn rate reaches 0 then a loooooooads of enemies are just spawned all at once

  • Thanks so much!

  • How do i create the limitation?

  • My game has enemies that spawn ever 'random(5,8)seconds', but every 10 seconds I want the spawning rate to reduce to 'random(4,7)seconds' for example. How would I go about doing this?

  • Works a treat!

  • thank you so much

  • thank you. So if I use "on touch with" - "sprite button" - "mirror player" it will mirror it back to the correct position when the flip button is pressed again, it doesnt need an instant variable or anything?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I posted in a previous post about something similar to this and got great help from on of the users.

    The game is a player who is stood on a moving platform. The platform is thin (30pixels) and is positioned in the centre of the screen. Therefore both the top and bottom of the platform are visible.

    There is a button allowing the player to flip to the underside of the platform with the use of a button which i created through a 'sprite'.

    The player moves to the co-ordinates specified. The problem is that the player himself is not reversed. What i mean by this is that instead his body moves to the correct position but his body itself is not turned upside down (his head is on the underside of the platform, not his feet). How would i go about doing this with the use of the sprite button that i've already created???

    I tried attaching an image but an SQL error comes up on the website

    Thank You!!

  • EstudioCelula3 It works perfectly thanks so much!

    Is there a way i can make the actual player flip so that his face turns upside down as well as being flipped?

  • O should of probably explained that the player will flip onto the underside of the moving platform. Ememies will be on the bottom level as well

    so when he flips to the underside of the platform i was hoping his face will turn/rotate upside down as well

  • You're a genius!!!!!!!! haha

    And last but not least is there a way i can make the actual player flip so that his face turns upside down?

    This is what i have done to make him flip with some help of others.

  • korbaach the non interaction worked!!!!!

    If the play gets flipped to the underside of the platform how do i repeat the same process so that the player doesn't interact with the underside

  • EstudioCelula3 Brilliant just like that . I just need to work on the jump now. Thanks so much both of you.

    I'll post the game in the finished project section of scirra forums when its done. Hopefully less than a week

  • thanks so much. Yeah instant is fine