N
Neocraftz1553
Guest
Ok, so, I have a few questions on this...
I've tried to do it before with code, but I just couldn't get it...
I've also tried searching it up, but, I couldn't find anything, so, forgive me if this has been answered before.
So what I have set up is a power up object that when the ship collides with it, the ship destroys the instance and plays a "power up collect" sound. What I think might work is setting up something like:
(Create Event)
PowerMeter = 0;
(Collision Event on the ship colliding with a Red Powerup Capsule)
hud_game.PowerMeter +=1;
(Step Event)
if PowerMeter = 1;
{
if (keyboard_check(ord('I')));
{
PowerMeter = 0;
obj_FalshionBeta.speedUp +=3;
}
What this does is increase the players speed every time they collect one power up capsule and reset a counter that tracks how many the player has collected, but I want to know how to make the hud draw a sprite and how to make it change the frames of the sprite(So like a sprite that has 8 frames, one has no bars highlighted, while the others have a bar highlighted.)
Is there a way to do this every time the player collects a power capsule?
Another Question:
How to make a sprite(Like the plane sprite) change frames like the Vic Viper does in the Gradius Games?
Last Question:
I have a title screen, but I want to know how to make it so that you can press up/down W/S to change whats highlighted, like in most title screens.
Sorry for asking so many questions :|
I've tried to do it before with code, but I just couldn't get it...
I've also tried searching it up, but, I couldn't find anything, so, forgive me if this has been answered before.
So what I have set up is a power up object that when the ship collides with it, the ship destroys the instance and plays a "power up collect" sound. What I think might work is setting up something like:
(Create Event)
PowerMeter = 0;
(Collision Event on the ship colliding with a Red Powerup Capsule)
hud_game.PowerMeter +=1;
(Step Event)
if PowerMeter = 1;
{
if (keyboard_check(ord('I')));
{
PowerMeter = 0;
obj_FalshionBeta.speedUp +=3;
}
What this does is increase the players speed every time they collect one power up capsule and reset a counter that tracks how many the player has collected, but I want to know how to make the hud draw a sprite and how to make it change the frames of the sprite(So like a sprite that has 8 frames, one has no bars highlighted, while the others have a bar highlighted.)
Is there a way to do this every time the player collects a power capsule?
Another Question:
How to make a sprite(Like the plane sprite) change frames like the Vic Viper does in the Gradius Games?
Last Question:
I have a title screen, but I want to know how to make it so that you can press up/down W/S to change whats highlighted, like in most title screens.
Sorry for asking so many questions :|