(Devlog) Clash of the Cubes (2.5D fighting game) (Working title)

Edit: [
Skip to the bottom if you want to see the most updated version of the game. Since it’s a devlog format the oldest stuff is first and starts with this post.
]

When I first started making games I used a software called Alice (2.2 and 2.4). I spent both my middle school years and part of freshman year using it on and off. I made a whole host of projects in it including my favorite: a 2.5D fighting game called Clash of the Cubes.
Here is a quick video of the game:

It really didn’t look that good, but I loved that game and spent a load of time playing it and adding to it.

That’s why this week (and some last week) as I will be on easter break I decided to give a remake in Unity a go.

I will be hoping to update this thread with progress and hopefully release it next Saturday (April 22).

My goal for the game will be to have 4-8 working characters (much less than the original game’s 19) but still a decent amount. I’m also hoping to add 4 player support and a much smoother art style as well.

I will post the last 2 days bit of work later tonight.

4 Likes

Days 1 and 2:

I really want to make a game that plays very similar to the quirky physics of the first. This means I couldn’t use many of the standard physics equations built into Unity. I also wanted the game to be able to be code as similar as possible to the original game. So I decided to write my own engine to handle physics in a way that was similar to how Alice did it. The results ended up being quite nice, I simply call:

public static void Move(GameObject toMove, Vector2 movementVector)

And it moves the object with physics in the targeted direction.
With this I also added a function to find the nearest enemy player, as many of the moves are auto targeting. I also added a few functions that return specific collides and collisions with objects of a specific tag.

Once my physics engine was complete I started work on a PlayerController. This will control damage, movement, and the main player stats. This was relatively simple and the result was pretty close to what the Alice version had:
3034331--227054--ClashOfCubesMovementGif.gif

With that done I went on and added very customizable Hitbox class that allows for me to simple input a few parameters and I have a working Hitbox:
3034331--227049--ClashOfCubesHitbox.png
Here is the Hitbox in action:
3034331--227055--ClashOfCubesPlayerHitbox.gif

This is all for now, I have started work on the moveset controllers and will post about them tomorrow.

2 Likes

Day 3:

First off Happy Easter Everyone!! :slight_smile:

Between last night and some time this morning I got quite a good amount done. I did some art and got 1 of the characters done. First off I would like to explain how combat works, and how the players attacks are controlled.
So each player has 5 abilities. The idea here is to keep them simple as I want this game to be accessible to anyone without a huge learning curve. I want to be able to take a 5 yr old and teach them the basics in a few minutes. Here are the basics of them and the controls:

Move left/right (left/right): moves you left and right
Jump (up): jumps you up, also does double jump
Movement Ability (down): this is one of 4 different generic abilities (Quickfall (2x gravity while held), Cling (lets you cling onto walls), Shield (blocks 50% of an incoming attack, you can only use this while grounded), Heal (heal 1 hp per 1.5 seconds)).
Attack (X): this is you basic attack, different for each character
Special (A): this is a special attack or other useful move, again different for each character
Up Smash (up + down): this is generally an attack, again different for each character
Passive: this is a passive ability that is always active, again different for each character

Here are also the basics of the player stats:
Health: generally ranging from 20-40, there is no armor in the game so all attacks will deal the same damage on every character (this helps keep it simple).
Speed: generally ranging from 3-5, this only controls movement speed
Jump Height: generally ranging from 3-7, this controls how high the characters jump is
Size: this controls how much knockback you take, 1 = 100%, 2 = 50%, 0.5 = 200%

First Character Flame:
3034899--227094--ClashOfCubesFlameCharacter.png
He is a pretty moderate character, focused on melee attacks, he is also able to take a bit of a beating.
Stats:
Health: 30
Speed: 4
Jump Height: 6
Size: 1

Moveset:
Attack: Flame Burst, this creates a quick burst of flames around him dealing 3 damage to anyone caught in his path.
3034899--227096--ClashOfCubesFlameAttack.gif
Special: Ignite, this lights him on fire (which deals any character he touches Fire 1 (more on this in a moment) damage) it also gives him bonus health (equal to nearest enemies health / 4) and 5 seconds of boosted speed as well as 1/2 knockback on Flame Burst and drastically decreased knockback taken. (Edit: the health doesn’t update in the gif, I fixed that in the game, so next time it will be easy to see).
3034899--227097--ClashOfCubesFlameSpecial.gif
Up Smash: Flame Smash, this moves smashes him down in a fury of flames, dealing 1/4 of enemies heal in damage, as well as dealing Fire 3. This move also deals large knockback upwards.
3034899--227098--ClashOfCubesFlameUpSmash.gif
Passive: Fire Immune, this ability allows flame to not take any Fire damage.

I also added Debuffs to the game, the first three are Fire, Freeze, and Slow. These can be given by Hitboxes and can be given a specific level. The level accounts for how long the debuff will last, so a level 1 will last for 1 second, a level 2 will last for 2 seconds, ect.

Fire: deals 1 damage per second and lights the player in a fury of flames.
Freeze: stops all movement and control of player for specified time.
Slow: lows the players speed to 1/2 of the normal, lasts for specified time.

Thats all for now, the next post will be on the newest character (still WIP) called Frost!

Again, Happy Easter!! :slight_smile:

2 Likes

Looks like a solid start on a fighting game. I don’t think I could ever get past different coloured cubes being the characters, myself, but I like expression of motion and color, has a good solid feel to it.

1 Like

I’m going to try and make the characters are interesting as I can, yet I don’t really want to have to do any animations for it. I’m thinking of maybe adding armor/hair and stuff as well as more eye variation and maybe a mouth or something. Any ideas?

CanOfWorms.Open();

3035052--227115--upload_2017-4-16_14-23-48.png

Here’s one idea.

2 Likes

This is very good work (although i think more should be done before releasing)

I have a couple of questions. 1 how did you do the flame effects? 2 hows its performance on mobile?

I will probably continue working on the game after I release it, the main reason I want to do I so soon is I want to get back and finish another project I was previously working on. Also my last month of junior year will start and I really want to keep my grades as high as possible, to keep my college options open, so my time will be heavily limited.

The flame effects are done using a particles system that renders little triangle meshes. There is some shader tweaking and the particle systems settings are changed for different types of effects. As I will be making a lot of different particle effects I might go ahead and put them on the asset store once I finish.

As far as mobile performance goes, I’m not too sure, I haven’t ported the game over yet but I suspect if I tune the settings it should work fine. Ill see if I can get this done sometime soon.

The problem here is adding limbs will give me a lot of animation to do. I really want to keep time down and focus on gameplay (hence the simple low poly art style as well). Ill keep thinking on it, as changing it down the road shouldn’t be too hard.

Day 4:

The first thing I did today was add something of a map. Its called “Altar of the Gods.” The reason I named it this is because it’s basically a giant altar in the sky. The map takes inspiration from the classic map “Final Destination” in Super Smash Bros Brawl. I will be adding a few more maps (hopefully 3 to start), with this one being the most basic of them.
Here it is:


The next thing I did was add a new input system so switching between 4 controls schemes is very easy.
3036273--227247--ClashOfCubesPlayerController.png
I also added a new character called Darkwand (I was going to add Frost, but got hung up on what his Up Smash should be, so I will add that tomorrow once I figure it out). He is another melee fighter with some pretty assassin like abilities. He uses Magic to do all his moves.
Stats:
Health: 25
Speed: 5
Jump Height: 5
Size: 1

Abilities:
Attack: Magic Punch, his basic attack is a simple magic attack that deals 3 damage and auto targets the nearest visible enemy.
3036273--227248--ClashOfCubesDarkwandAttack.gif
Special: Strengthening Warp, this move warps him to the nearest enemy and gives him Attack +7 damage for 3 seconds. Recharge 15 seconds.
3036273--227249--ClashOfCubesDarkwandSpecial.gif
Up Smash: Dark Dash, this moves dashes him towards the nearest enemy and deals 3 damage upon collision.
3036273--227250--ClashOfCubesDarkwandUpSmash.gif
Passive: Fade Out, after 1 second of not moving DarkWand disappears from view.

Thats all for today, I’ll be back tomorrow with another update.

1 Like

Give them Goku/Akira style hair and texture faces onto them.

1 Like

I gave the hair a go, it looks pretty good with the eyes.
3036373--227262--ClashOfCubesFlameHair.png

1 Like

Clash of the Cubes: Cubes with 'tude

Now hire epic voice actors.

1 Like

I just saw this thread, love it :slight_smile:

I like the limbs idea. Maybe you could just let the body/limbs flap/ragdoll around :slight_smile:

2 Likes

That would be hilarious, weight the hands and just let the magic happen.

Give 'em tails and various appendages. Good idea man.

2 Likes

Day 5:

Today was pretty successful. I got a decent amount of work done. However, I was unable to add any sort of good looking ragdoll movement for the limbs. I will try again tomorrow and see how it turns out.

I added a new map today, it’s called Hall Of The King:


I also added a new character today called Frost:

The goal here is a character that is relatively easy to play and requires skill to counter. The moveset is designed to make dealing damage pretty easy and to take down melee characters. Frost is all ranged and has sweeping attacks that deal decent amount of damage.

Stats:
Health: 25
Speed: 3
Jump Height: 7
Size: 1

Abilities:
Attack: Icy Tornado, this is Frost’s move iconic move from the original game; Frost shoots a powerful tornado that picks any unlucky enemy up in its grasp and drags it along dealing damage the Freeze.
3037999--227406--ClashOfCubesFrostAttack.gif
Special: Surround Chill, this move gives Freeze 3 to any enemies in a small radius of Frost, recharge 10 seconds.
3037999--227407--ClashOfCubesFrostSpecial.gif
Up Smash: Icy Spike Smash, this move fires 5 ice spikes in an array down and to the sides of Frost. Each spike deals 2 damage and Freeze, as well as get’s stuck in the terrain and will deal damage for a few seconds from there to any enemy that comes in contact with it.
3037999--227408--ClashOfCubesFrostUpSmash.gif
Passive: Freeze Immune, Frost is immune to the Freeze effect.

This is all for today, tomorrow I will try to add Brave (or some other character). I will also be attempting to add the menu for the game, so character selection as well as a game manager to handle respawning and lives. If I have time I will also add the health pickup to the game as well.

2 Likes

If you build it right, using Unity’s built-in networking stuff, a fighting game that can be played over the network is ultra-feasible. It’s almost perfect for this type of game.Your environments are oddly good-looking considering how low-poly they are. You’re good with the little touches.

Frost should be able to jump on his ice spikes, then he could even use them to climb up higher places.

3038038--227413--upload_2017-4-18_21-25-8.png

LIMBS ARE SO MAINSTREAM!!!

3038038--227413--upload_2017-4-18_21-25-8.png

Love the idea of loose limbs. And capes, add capes!

1 Like

Lol, that meme is on point! :stuck_out_tongue: And thanks for the compliment! I try my best to make the environments look as good as I can! :slight_smile:

Anyways, as far as online play I do have a decent bit of experience with Photon. So I might use that, or go ahead and learn Unet (as I kinda would like to learn it). I definitely want to add an online mode as I feel a lot of local coop games don’t do it very well I would want to spend some time getting it right, which means it will be one of the later features I will add.

Also that idea with Frost: golden! Since the original game didn’t have a very interesting map the game wasn’t really about climbing things, but with the new map that can definitely be added. I’ll be sure to keep that in mind in the future as well.

Capes is a great idea, I was thinking of having little to no unlocking in the game, but capes/hair/skins could be a great bit of unlockables! I will have to look into seeing how physics enabled cloth works so I will most likely do that after I finish the core of the game, but it definitely will go on the to-do list.

1 Like

Day 6:

Today I was really busy with other things and my time to work on the game was very minimal. Most of what I did was behind the scenes work, adding small things here and there. The big thing I did today was finish the menu:

There where some other small improvements to many of the systems, as well as optimizations to scenes, and improvements to all of the characters.

Hopefully tomorrow will be much more productive and I’m hoping to add 2 new characters then and if I have time another map.

2 Likes

Gifs or it didn’t happen.

2 Likes