Gamedev Challenge - Shooter with no weapons

posted in r1ckparker's Journal for project Psy
Published April 01, 2019
PC
Advertisement

The requirement is to create a horizontally scrolling shooter game with no weapons.  I thought that I could have the enemies shooting at you and you could use their own bullets against them.  If you had a shield, you could reflect the bullets back.

I created a quick demo and generated some bullets.  The first problem was how to work out which direction to bounce the bullets back.  After a bit of tinkering I found the best way was this - 

1) Get the direction between the playerx,y and the bulletx,y

2) Invert this (add 180 degrees)

I tested out and it works OK, I think.  Note that in the video, the bullets don't just get bounced in the opposite direction they are travelling, with a bit of skill you can actually 'aim' the bullets towards different parts of the screen, depending on where they hit your shield.  A nice demo, but can I turn it into a game???!!

 

Previous Entry Psy post-mortem
Next Entry Parallax Scrolling
5 likes 3 comments

Comments

Doctor Binary

Rad idea! I think to game-ify it, a big key will be giving the player incentive to avoid using their shield. Perhaps using shields decreases your velocity or saps your health?

Either way, excited to see how this one goes.

April 01, 2019 08:05 PM
kseh

Looks good. For some reason it reminded me of the old Atari Warlords game which then got me thinking of a game where you're escorting or protecting some other ship(s).

April 01, 2019 08:20 PM
r1ckparker
2 hours ago, Doctor Binary said:

Rad idea! I think to game-ify it, a big key will be giving the player incentive to avoid using their shield. Perhaps using shields decreases your velocity or saps your health?

Either way, excited to see how this one goes.

Thanks, yes I think the shield will only last for a short time and then it will have to recharge meaning you have to dodge for a while. 

2 hours ago, kseh said:

Looks good. For some reason it reminded me of the old Atari Warlords game which then got me thinking of a game where you're escorting or protecting some other ship(s).

Thanks,  I've never heard of warlords, I will have to check it out! 

April 01, 2019 10:17 PM
Choo Wagga Choo Choo

hello. What tech are you using? (language / api / engine?) This looks great. Apologies if it is obvious from your other blog entries. 

April 10, 2019 09:05 AM
r1ckparker
On 4/10/2019 at 10:05 AM, GoliathForge said:

hello. What tech are you using? (language / api / engine?) This looks great. Apologies if it is obvious from your other blog entries. 

It's Game Maker Pro.

April 15, 2019 06:57 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement