Expand your molecule by absorbing more atoms
I made a game for Extra Creditās game jam with the theme Cycle.
Try it out if you want. Itās a small game.

Discoholic šŖ©
Jules of Nature
Fai_Ryy
Sade Olutola
sheepfilms
Not today Justin
macklin celebrini has autism
KIROKAZE

Product Placement
occasionally subtle
EXPECTATIONS
Sweet Seals For You, Always
šŖ¼
Aqua Utopiaļ½ęµ·ć®åŗć§čØę¶ćē“”ć

PR's Tumblrdome
š
Lint Roller? I Barely Know Her
will byers stan first human second
ojovivo
todays bird

seen from United States
seen from United Kingdom
seen from China
seen from United States
seen from United Kingdom

seen from Brazil

seen from United Kingdom

seen from France

seen from France

seen from France

seen from Chile
seen from Germany
seen from Germany
seen from China

seen from United States
seen from United Kingdom
seen from United States
seen from United States
seen from United States
seen from United States
@melonodev
Expand your molecule by absorbing more atoms
I made a game for Extra Creditās game jam with the theme Cycle.
Try it out if you want. Itās a small game.
Feedback Demo
The feedback Iāve gotten from the demo has given me reason to change and add multiple things pertaining pretty much everything. Itās a lot of pure text that goes into some depth in what Iāll be changing and why.
What Iāve done with the enemies and why (and what Iām going to do)
So in the earliest part of development I had made the enemies go straight after the player using the Move functionality of their character controllers. It turned to the player and moved forward. This however did not take any sort of obstacles into account. And for that, you need a navmesh, so I made the enemies use a navmesh.
What also was the case during the first iterations of movement, was that the enemy didnāt straight up go for the player. They had to be within a specific range before their movement was triggered. For the wave enemy I changed this, because theyāre supposed to just rush the player.
Now, there was a problem with my vision and with the movement of the enemies, something that I explained in this post. It talks about how I want the player to have more of a feeling of being surrounded and to add to that, to have to fight an army on your own, instead of the enemy being herder like I displayed in the video of the post. Before I worked on the actual implementation of the waves-demo, I searched up some similar hack-n-slash games to the idea Iām working off of, and looked at the enemies and how they stood and moved in the world.
I did my research based on gameplay videos which I found from looking up top tens for Hack and Slash games. Complete explenation in the read more because it is quite a bit more:
So Iāll be talking first about how I got up to the demo. Next post will be about why I changed the enemy and the post after will be about what Iāll be doing next using the feedback I got.
Demo for a hack and slash with a durability system done right
Iāve got a demo ready to be played, so play it, and tell me whatās good and whatās bad and whatās horrible.
Iāll make a post later about all the things Iāve done leading up to it. Which was a lot of annoying stuff.
Just made my animations, but Unity is being an ass about properly displaying them: the skinned mesh renderer deactivates itself inexplicably with the walk animation. Also there is something wrong with how the roll is called. Gotta fix.
Also there are now problems with the inventory so maybe itās because I moved the GameObject under the new model, so Iāll be checking those out too.
Also also, Iām working on some particles that will activate when one gets hit.
Also also also, itās really hot.
Working on the special attack (which is mostly the standard attack sped up and multiplied).Ā
The animation loop doesnāt work, multiple hitting of the enemy doesnāt work, and the first special attack you do is 4 instead of 3 swings: Iāve got some cleaning up to do.
Code Readmore:
I changed the movement of the AI to one using a navmesh. The codeās simply one from the main Unity NavMesh tutorials. I only changed some of the numbers in the agent, and I have the angular speed change to 9001 while moving, but 0 while attacking (the enemies kept turning slightly whilst attacking, and thatās a nono). I also disabled the navagent when the enemy gets knocked back by your attacks so it wouldnāt walk forward.
Also been working on making a first level. It looks a bit meh, so Iāll be trying to think of how I want it to look instead of just slapping assets down for next time.
I'll probably just make a field with an endless mode as the first level I make, just to test out the fun-factors.
Got the Inventory visualized in my UI, as well as a simple healthbar.
Inventory elements are prefabs and can be added or taken away according to the amount of weapons I eventually decide on that will be allowed in your inventory. Currently thinking of five, but no limit to picking up swords is set in place yet.Ā
The colour shows wether your sword has low durability.
Also, I now have a dodgeroll. The animation isĀ āRunningā from the assetstore asset, but itās practically a quick speedboost to where the mouse is pointing. You are invulnerable during the roll, and you pick up any weapons you roll over. Still gotta do the whole animate thing for my model.
Codes in the readmore:
Enemies drop their weapon when they die, and all their components get destroyed, so itās just the dead body lying there. Iāll probably eventually write some seperate script to have that disappear after some time.Ā
With the whole picking up weapons thing I found some bugs pertaining the list function. It bugged out when there were no weapons in the inventory for some parts, so I put (different) if-statements where the weapons-list gets called:Ā
āif (list.Count > 0)ā instead of āif (list.Count != 0)ā
Next Iāll work on UI and/or the dodgeroll.
Iāve tested out the game with an amount of enemies similar to what I want in the eventual game. I fixed an animation bug which was as follows (and can be seen in the previous video actually): as the enemy is attacking the player, and the player hits him into the knockback animation, the enemy then does another attack animation whilst not actually attacking.
Anyhow, some things I saw while testing:
The enemies come too close to eachother.Ā
The enemies are too easily herded together.
There is no sense of being surrounded because of this, and thatās something Iām going for.
There is a bug where the enemy sometimes turn whilst attacking even though theyāre supposed to stand still facing one way whilst attacking.
Iām currently implementing death and weapondrops. Youāll see some of it later today.
Still working on Piece of Madness. Gave the enemy States. Made it so it move towards the player when they are in a radius, then they attack when the player is in striking radius.Ā
The animation for attacking isnātĀ working perfectly, and I have already worked quite a bit on them. I made it a bool and not a trigger for accessing the animation, and I gave the state switching some endlag. It works good enough for now. Iāll worry about it more when Iāve got non-placeholder animations going.
Code things:
Been working on my game. And since I havenāt done this yet, Iāll explain what my game will be.
It will be a topdown hack and slash with a durability system done right.Ā
Your character is too strong to keep his weapons in one piece, so after a couple of swings it will break. You pick up the weapons from your defeated enemies by dashing over them so you can continue fighting. Also, you have a special move in which the player does a flurry of attacks, which will heal you and deal extra damage if they land, but will also immediately break your current weapon after the attack.
Hereās some video of the player damaging an enemy (itās at the bottom of the readmore). It deals damage, plays a knockback animation and breaks your weapon (itās the floating one. It will be attached to the sword transform when there are non-placeholder graphics).
Now CodeStuffs:
Some more coding. Changed weapon switching a tad and made the way inheritance is gonna work. Tried another method first, but I thought when doing what I was doing things were too troublesome, so Iām making something else.
Added automatic weaponswitching when the player has overused their weapon. Fixed a problem where I first checked wether the weapons[0] in the list wasnāt null, but it called on weapons[0] doing that, which gave an error. So now it simply checks the length of the list to see if you have any weapons, which is the same thing practically.
Iāve also been making an abstract class for the enemies+player
Things didnāt work as I wanted it, so I googled a tutorial to see what I did wrong. Didnāt make it monobehaviour and give it a ScriptComponent to work with.
Still working on it, and I still gotta see what problems itās gonna bring.
Some attack coding
So today Iāve been working on making the beginning on what the attacks would be. Not the inventory as I said I would: I wanted the attacking done first so I can later code when durability breaks the weapon, the weapon also changes to the next in line as I intend it.Ā
Thereās not much visual yet but have a screenshot:
But Iāve tried to explain as I was working on it in stages what I was thinking and trying to do.
Just learning some more Unity for a new game
This post is mostly made for myself: itās just text about what Iām currently doing. Itās not very clear in what is what, so just wait a while before I post something more wholesome.
Find the naughty dog that's peeing all over your flowers
Naughty Dog, There You Are now has a gameplay demo up on itch, so check it out, and give me THA FEEDBACKS! 2 levels are currently avaiable.
Also, have a video of the gameplay:
Also Also, lookit the cwute lil doggy I drew for it!