Game
Cubic
11 years ago

Cubic


Cubic started out as a fast and little experimental project to make a simple cube in a limited 2D environment, and yet have some sort of 3D projection to it. Cubic’s very short storyline is inspired by this “little, carefree project”.

I chose the HTML5 canvas for two reasons: firstly, I had very limited experience with it (so I somewhat knew what to expect), and secondly, it allowed me to embed the project on a website with minimal effort.

Then, with HTML5, came JavaScript. To someone used to C, JavaScript was a gust of fresh air. Very enjoyable, very clean. However, debugging proved to be quite hard.

The first thing I implemented was an orthographic projection system. It’s like perspective, but easier, like an isometric view. Added some balls (later, the cube’s vertexes) and made them fly around in circles to feel if the projection was right or wrong.

At some point I decided I was going to make a game out of this cube. Since the project was quite graphics-oriented, I thought about “unfolding” the cube. I also wanted to add some shiny particles and thus I decided on a cube that’d catch “teardrops” while unfolded.

About a week passed and I’d spend my whole day coding this project, debugging, refreshing the page, coding some more. Vectors, cube orientation and unfolding, camera transitions, explosions, tear object management.

Today, “Cubic”, as my first official, completed game, is online. The last thing I added were the sound effects, to which I have given credit for in the game description.

Overall, it was a very enjoyable experience, even though it demanded a huge amount of dedication from myself. I’d like to thank my family, friends, and those who make GameJolt so enjoyable.

For this project I used Opera 22.0, Notepad++ 6.6.7, Paint.NET 4.0, Audacity 2.0.5 and the YUI JavaScript Compressor 2.4.8.



1 comment

Loading...

Next up

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

This Satuday we invite to watch another #speedpainting of our artist Daniel Faiad.

How great is this scene of #Pecaminosa?

#ScreenShotSaturday | #IndieDev | #DigitalArt

🍒Did you like the game? A demo is available for free on Steam.

✌️ Thanks for playing IndieGameiacs!

⚙️ Free Demo: http://bit.ly/UniDuni

📺 Full Video: https://youtu.be/5qEbVXg7GaQ

#steam #uniduni #clops #screenshotsaturday

Strange Umbrella

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

Terraria

Rockin the Guitar, an Axe like Guitar I made for my Uni project

Szayel Aporro Granz - Bleach

If you’ve played the Vault demo and enjoyed it, please consider ‘liking’ the game page here on Gamejolt and/or leave a comment!

Also please consider tossing Vault on your Wishlist, I really appreciate your support!

https://store.steampowered.com/app/1251800

Sonic The Hedgehog style Super Smash Bros 4 Pixel art Gif.