🎮 Creating "Clash Arena: Crown Ops 3D": My Own Web FPS for Hive

Words
695
Reading
4 min
16m
Listen to this post
~5 min

Hello everyone in the Hive and Ecency community! 👋

I wanted to share a little project I've been working on these past few days and finally managed to polish so it runs smoothly right from the browser. It's called Clash Arena: Crown Ops 3D, a first-person shooter (FPS) mini-game set in a battle arena, with a colorful aesthetic that I put together as best as I could in my free time.

Before you ask: no, you are not a tower or an immovable building; you are the brave player walking around the arena on foot, holding your weapon and dodging attacks while defending the base with pure firepower.

In this post, I want to tell you where the idea came from, how I went from a completely broken prototype to a playable version, and how I managed to pull it off using code and tools.

💡 Where Did the Idea Come From?

To be completely honest, the original idea wasn't a shooting game, but a cube parkour game where you had to jump over obstacles.

But in the middle of practice, between testing and wanting to experiment with programming, the project took a total turn and I decided to change it into an arena FPS where you defend your position from enemy waves.

Of course, going from theory to practice was a headache. The early tests with the shooter were absolute chaos:

  • The map was just a boring, depressing gray box.
  • Enemies walked straight through walls like ghosts.
  • Touch controls on mobile were impossible (if you moved the camera, your character stopped walking or you shot by accident).

🛠️ The Process: Bringing It to Life with Code and AI

To make the game look decent and respond quickly, I used HTML5, CSS3, JavaScript, and the Three.js library to render the entire 3D environment.

Along the way, I used Artificial Intelligence as my technical co-pilot to solve the most annoying tangles:

1.Mobile gameplay (The real headache): We split the screen into two invisible zones. The left side handles a dynamic floating joystick to move freely, and the right side is a smooth touch zone to look around and aim without going crazy.

2.Collisions: I had to tweak the bot mathematics so they would respect map boundaries and actually crash into walls, forcing you to move and look for shooting angles.

3.Performance: I had to watch out for the file size and graphics so it loads quickly on any phone without lagging, adding shooting particle effects and an automatic reload system.

4.the Map and "Skins" (Poor creatures!): I have to pause here. I tried modeling blocks with bright colors for the enemies, but honestly they look uglier than a car from underneath. They look like cubes with legs and a poorly placed crown straight out of a geometric nightmare; they walk towards you with horrible square shapes and an urge to give you a hug that is genuinely scary. Little by little I'll operate on them and improve them so they at least have some dignity!

⚠️ Attention: The Game Is Still in Development!

Like I said, this is a beta base that I keep improving in my free time. It still needs things polished, balances adjusted, and the ugliness taken off the bots, so any suggestions are more than welcome.

And since I wanted this to be a direct contribution to our community, the game includes a custom leaderboard system. When you lose (and believe me, with how ugly and fast they are in high waves, they surround you and destroy you quickly), a clean field appears for you to enter your Hive username along with a button that automatically copies a ready-to-paste report with your kills and wave* so you can drop it right into your posts or comments.


(First version)

What do you think of how it's coming along? Give it a try, laugh at the graphics, drop your high scores in the comments, and tell me what wave you reached before the leg-cubes destroyed you.

(I'll put the project through another wave later, so keep an eye out there. (And the game is playable in Chrome.)

See you in the next post! 👊✨