scrobble.life
Hive Gaming

๐ŸŽฎ Creating "Clash Arena: Crown Ops 3D": My Own Web FPS for Hive

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! ๐Ÿ‘Šโœจ

Comments ยท 6

  • @suisver(72)ยท 10h

    When it's ready, it'll be a pleasure to try it, my friend; it looks very interesting. !LADY !ALIVE

  • @worthmind.net(49)ยท 10h

    A browser FPS you can open and play right away is a brave first project, and the arena look fits the fast rounds. I tried a small web game once and the controls broke on my laptop, so getting yours to run smooth is no small thing. What part of the build gave you the most trouble, the shooting or the movement?

  • @chessbrotherspro(72)ยท 18h

    Congratulations!


    You have obtained a vote from CHESS BROTHERS PROJECT

    โœ… Good job. Your post has been appreciated and has received support from CHESS BROTHERS โ™” ๐Ÿ’ช


    โ™Ÿ We invite you to use our hashtag #chessbrothers and learn more about us.

    โ™Ÿโ™Ÿ You can also reach us on our Discord server and promote your posts there.

    โ™Ÿโ™Ÿโ™Ÿ Consider joining our curation trail so we work as a team and you get rewards automatically.

    โ™žโ™Ÿ Check out our @chessbrotherspro account to learn about the curation process carried out daily by our team.


    ๐Ÿฅ‡ If you want to earn profits with your HP delegation and support our project, we invite you to join the Master Investor plan. Here you can learn how to do it.


    Kindly

    The CHESS BROTHERS team

  • @cositav(74)ยท 19h

    Excelente Diego, cada dรญa me sorprendes mรกs, bien hecho !LADY !PAKX

  • @cayitus63(71)ยท 23h

    It looks very interesting, my friend. I'll be checking it out. I'm not much of a gamer, but I'd like to support your project. Well done! !LADY

  • @pishio(70)ยท 1d

    Love that it started as a cube parkour game and somehow morphed into an FPS mid-practice, very relatable dev chaos lol. Also got a chuckle out of enemies walking through walls like ghosts, been there myself with collision boxes. Splitting the screen into two zones for mobile was a smart fix.