informa
/
1 MIN READ
Blogs

Game a Month Game 2 Day 4

Weapons system for racing game

Continuing to work on the combat system for the racing game I'm working on, I was originally trying to build a weapons manager script that would contain all of the classes for each different weapon in the game.  I was hoping that by doing this I would be able to organise all the weapons to one game object in the scene and then make calls to that object for each weapon.  Unfortunately I've still a lot to learn about scripting and not really sure how to implement it.

I decided to just create a script for each weapon.  Then I can just call that script to make each weapon work.  My missile script works by causing an explosive force when the missile comes in contact with another vehicles collider.  

I haven't implemented my weapons control script to create instances of the missile yet.  I plan to do that today.  So far all I have working is the machine gun fire.  

My plans for today are to finish the weapons scripts and to start build building on the enemy weapons AI.  After the enemy weapons AI is completed I will be moving on to building the tracks for the game.

Latest Jobs

IO Interactive

Hybrid (Malmö, Sweden)
3.02.23
Gameplay Director (Project Fantasy)

Arizona State University

Los Angeles, CA, USA
2.27.23
Assistant Professor of XR Technologies

IO Interactive

Hybrid (Copenhagen, Denmark)
3.02.23
Animation Tech Programmer

Purdue University

West Lafayette, IN, USA
3.02.23
Assistant Professor in Game Design and Development
More Jobs   

CONNECT WITH US

Explore the
Advertise with
Follow us

Game Developer Job Board

Game Developer

@gamedevdotcom

Explore the

Game Developer Job Board

Browse open positions across the game industry or recruit new talent for your studio

Browse
Advertise with

Game Developer

Engage game professionals and drive sales using an array of Game Developer media solutions to meet your objectives.

Learn More
Follow us

@gamedevdotcom

Follow us @gamedevdotcom to stay up-to-date with the latest news & insider information about events & more