i can't recover my games source code i need help
If you're using the bullet behavior, there is an action to set the angle of motion. By default it is 0, which is right. So create a sub event (under your spawn projectile event) to check if your player object is moving left, and set the angle of motion of the projectile to 180.
thanks!
Develop games in your browser. Powerful, performant & highly capable.
my slingshot code only makes the slingshot shot right when i move right but when i move to the left it still shots to the right i want to make it where the slingshot can shot to the left when i'm moving to the left side
video of issue:
imgur.com/eW3smGr
screenshot of code:
You have some issue with collision points. Try to fix them by openning up the editor for your "ground" like this -
You have some issue with collision points.
Try to fix them by openning up the editor for your "ground" like this -
okay thanks for the help!
here is the video showing the the bug:
imgur.com/a/Cwr8aki
I just released a update for my coin hunter game if you want to check it out then here the update log in in the desc: construct.net/en/free-online-games/coin-hunter-short-demo-2-0-31941/play
Restarting the layout does not reset global variables, on the restart layout event you need to set the player health back to its default value with an action.
Thank you!
here is the two videos:
imgur.com/a/DxwZ95x
imgur.com/a/ljZ3JKE
i want to make it where the player stop moving when the gameover text bops up and when you click the restart button it restarts the game and the player can move again and the gameover text go's invisible and also the restart button