zikdot's Recent Forum Activity

  • I know I probably sound stupid haha but what do you mean? How should I code it?

  • Yeah i managed to do that but how do i set the position of the player to under the platform without the player falling due to its 'platform' behaviour, and repeat the flipping process every time the ''flip'' button is pressed????

  • I have a player on top of a moving platform. the platform was made by creating a scrolling background and i gave it a solid behaviour for the player to stand on. Since the platform is moving the player moves with it, but i want the player to stay stationary. How do i stop the player interacting with the platform?

  • Okay so this part of the game has stopped me in my tracks. Let me explain what the game is............

    The game is a play 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 are enemies spawning from the right heading towards the player on the left. The player has to jump over these enemies as they come towards him.

    There is a flip button which allows the the player to flip to the underside of the platform avoiding the enemies on the top. The bottom platform also has enemies coming towards him.

    THE PROBLEM: The problem i am having is that when a player has a platform behaviour he continues to fall until he lands on a solid object. How do i make it so that when the player flips to the underside of the platform he doesn't fall and that when he jumps it will be -100 in strength for example and he will essentially jump DOWN as opposed to UP???

    Sorry it was so drawn out. I have tried attaching an image example of what i mean to make it more understanding

  • Thanks so much guys. I Figured out what the problem was. The platform that the player was standing on was a moving platform (i created a scrolling background with 'solid' behaviour to give off the impression that the player was running. For some reason this stopped the player from jumping (not a clue why).

    So i solved it by keeping everything the same except i created another solid object with '0' opacity making it invisible. I placed the object just above the moving platform so that the player was ever so slightly above the moving platform stopping him from interacting with it. The player now Jumps thanks so much for your help as well!!!

  • Thanks so much guys. I Figured out what the problem was. The platform that the player was standing on was a moving platform (i created a scrolling background with 'solid' behaviour to give off the impression that the player was running. For some reason this stopped the player from jumping (not a clue why).

    So i solved it by keeping everything the same except i created another solid object with '0' opacity making it invisible. I placed the object just above the moving platform so that the player was ever so slightly above the moving platform stopping him from interacting with it. The player now Jumps thanks so much for your help as well!!!

  • I previously mentioned this in a different post so, apologies for asking again. I didn't understand the answer i got in the other one haha

    I'm creating an android game therefore requires no mouse or keyboard, just touch.

    I want a button to be on the screen which when touched causes the player to jump.

    I created the button which is a 'sprite' and used the touch system which is as follows;

    On touched object (button) - action = simulate platform - pressing jump

    This doesn't seem to work????

  • How should i code that? I'm slightly confused

  • I'm creating an android game therefore requires no mouse or keyboard, just touch.

    I want a button to be on the screen which when touched causes the player to jump.

    I created the button which is a 'sprite' and used the touch system which is as follows;

    On touched object (button) - action = simulate platform - pressing jump

    This doesn't seem to work????

  • Great I managed to get it to work using the global variable! thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Okay so i have my player on the left hand side of the screen. The enemies are on the right hand side and are being spawned every random number of seconds. They have a current bullet speed of 400 heading towards the player.

    To increase the difficulty of the game i want to increase their speed by 100 every 5 seconds. Now i tried doing this through the following:

    Enemy.Bullet.Speed+100...............This increased the enemies speed by 100 after being spawned, however once a new enemy was spawned it was back to its original speed of 400 and then increasing by 100. So it was only ever 400+100.....400+100......400+100 and not 400+100.....500+100.......600+100........etc

    Do i need to add an instant variable to the enemy? if so how do i associate the instant variable with the enemies bullet speed??

    Thanks

  • Hey sorry for the late response, thanks so much guys for the help. This is an awesome community

zikdot's avatar

zikdot

Member since 4 Mar, 2015

None one is following zikdot yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies