Comments

Log in with itch.io to leave a comment.

Hello Can you Teach Me or Make an Open Source on How to Make Weapon Swaping? I am New to GDevelop and Not That Great With The Info I get I look Everywhere I Cant Find Help But Overall a Nice Game

The weapon swap is pretty simple. Just try doing this:

Condition:

Num1 key is pressed

Or

Num2 key is pressed

Action:

Set scene variable *Weapon* = 1

Or

Set scene variable *Weapon* = 2

And then...

For your first weapon:

Condition:

Scene variable of *Weapon* = 1

Action:

Hide Gun2

Show Gun1

For the second weapon:

Condition:

Scene Variable of *Weapon* = 2

Action:

Hide Gun1

Show Gun2

ill try ill reply if it worked or not

it works but i just dont know how to change to type to shotgun to smg yknow change the fire rate?

I'm sorry, but you're gonna have to do that on your own.

alright i guess trying to learn on my own is fun