S
stefanodon12
Guest
I recently finished the game rocks 3-part tutorial and now im adding whatever i want. Ireally need some help on implementing 3 powerups:
- A shotgun that always shoots 3 bullets for 15 seconds;
- A fast gun that works as a normal keboard_check as opposed to keyboard_check_pressed (i dont know how to switch between the two) that lasts 15 seconds;
- A wheel-like upgrade that lets you shoot for 15 seconds in all 8 directions;
I made a single powerup object that also includes an 1up and shield which are working fine, the problems are the ones that generally temper for a set period of time with the keyboard check and amount of bullets;
It works based on a switch statement that checks for the sprite_index, changing accordingly.
I also tried implementing a pause screen and succeded, but i wanted it to be opaque and not restart the game everytime i get back to the game.
Please im new to this!
- A shotgun that always shoots 3 bullets for 15 seconds;
- A fast gun that works as a normal keboard_check as opposed to keyboard_check_pressed (i dont know how to switch between the two) that lasts 15 seconds;
- A wheel-like upgrade that lets you shoot for 15 seconds in all 8 directions;
I made a single powerup object that also includes an 1up and shield which are working fine, the problems are the ones that generally temper for a set period of time with the keyboard check and amount of bullets;
It works based on a switch statement that checks for the sprite_index, changing accordingly.
I also tried implementing a pause screen and succeded, but i wanted it to be opaque and not restart the game everytime i get back to the game.
Please im new to this!