Xylophia VI : An Endless Survival Shooter Game

codevsom

Somnath Pan

Posted on September 26, 2024

Xylophia VI : An Endless Survival Shooter Game

This is a submission for the Web Game Challenge, Build a Game: Alien Edition

Introduction

I am excited to share my submission for the web game challenge,Xylophia VI: an endless shooter game,
Here,You're a brave agent of CTMA,who is stranded in Xylophia VI,an isolated planet inhabited by malevolent polycerebroxes,you have to survive by fighting them,until help arrives.

What I Built

I have built an endless shooter game,where you're an agent of CTMA(cosmic threat management agency),you crash land on Xylophia VI,while going for an investigation in the planet,you have no other choices but to stay in the planet,until help arrives,but the planet is inhabited by hostile polycerebroxes,you have to fight them to survive on the planet as long as possible!

I Have Used Phaser 3 to simplify the development process,
Also it's my first time using it so it was a great learning experience also!

Game Play Mechanics & Features:

•Player Movement & Joystick Controls: I have used Phasers Built-in Graphics To create a Basic Joystick,By Which You Control The Player.

•Player Attacks: You can just tap the screen to shoot projectiles,you can kill polycerebroxes by them,after getting killed,each alien,respawns after sometime.

•Health Pack: You'll also get health packs which shows up randomly and increases your health,you can only use it when your health is less than 120.

•Enemy behaviour: i have implemented simple enemy AI,
The polycerebroxes chases you whenever you're close,also i have implemented,co operative attacks,where multiple enemies,works together to attack you!,the enemies gets destroyed once they complete there attack,once every minute,a large wave of enemies attack you including a boss enemy.

•Scoring & High Score System: Your score is determined by your kill count,and also highest kills are stored,I have used local storage to store high score data.

•player levels: I have implemented a very simple player level progression system,in which the player have to gain experience points by playing and levels are determined by exp points,
Difficulty increases with increasing level!.

screenshots

screenshot

Technologies Used:

1.javascript
2.Phaser 3.85
3.HTML5

Compatibility:

I have made & optimised the game specially for mobile phones,so playing it on desktop can cause screen issues, specially with placement of game UI & joystick controls,
So i request you to use a mobile device to play this game.

Demo

Click Here To Play!
You can check the source code on my GitHub Repository

Journey

I loved top down shooter games and I was just learning about Phaser when I got to know about the web game dev challenge,I first decided to create a top down shooter game,using my knowledge of phaser,i created the first game.js file and created the prototype for the game,and later with the help of tutorials and ai,and my own creativity i created the enemy AI and the other features as well!

I gathered assets from the internet and I've also used ai to generate the maps and background.
I got the sound effects from pixabay & sprites from open game art.

It was a great learning experience 😊
I've learnt a lot about game development & phaser!

I am also proud of the enemy AI & the joystick.

license

This project is licensed under MIT License.
Check GitHub Repository for more information.

CONCLUSION

in conclusion, development of Xylophia VI for the web game dev challenge was successful,I have successfully created an endless survival game using phaser 3,with a wide range of features.

I overcame challenges in:

1.developing enemy AI
2.optimizing the game for mobile

Through this experience,I have gained valuable skills,such as:

  1. Phaser 3
  2. HTML5 & JAVASCRIPT
  3. GAME DEVELOPMENT & MECHANICS

Thank you 💕 for checking out my project!
If you've liked the game,please star my repository ⭐

Play Xylophia VI & give me your feedback now!

If you find any bugs or issues,make sure to inform me...

💖 💪 🙅 🚩
codevsom
Somnath Pan

Posted on September 26, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

CreateJS - One byte explainer
devchallenge CreateJS - One byte explainer

September 29, 2024

One Byte Explainer
devchallenge One Byte Explainer

September 29, 2024

Starcraft Next.js
devchallenge Starcraft Next.js

September 26, 2024

300LOC space life protect
devchallenge 300LOC space life protect

September 27, 2024

Web Audio API: Bring Games to Life with Sound
devchallenge Web Audio API: Bring Games to Life with Sound

September 23, 2024