Jump to content
  • Advertisement

Unity Weekly Updates #33 - The Forbidden Fruit



Well hello there! 

Welcome to this week's Weekly Update!

First, let's get something out of the way right now... I've talked about some kind of demo by the end of February, and unfortunately, it won't be possible. There's still a bunch of critical optimizations to be done before a demo can be made. I know there might be some of you that really wanted to try this game at once, but I guess my estimations weren't as exact as I thought... However, I really want this demo to be launched as soon as possible. Right now I'm aiming by probable end of March if not later, but I'll probably am going to keep you updated on that.

But anyway, let's get right to the updates! Aside from many optimizations and refactoring, there are two new features: one is a bit more aesthetic and the other is more gameplay-specific.


First, let's talk about visual effects. Beforehand, there weren't any VFX at all (some actions did, however, induce effects like blinking, but those doesn't really count).

Visual effects have a great role in UX in general. People usually like it when a lot of feedback is given when taking an action. This way it encourages the player to interact with the game, making the latter more immersive as a result.

In particular, hitting, parrying and guarding didn't really shown any type of feedback what-so-ever, giving the impression that those actions didn't really exist in the first place.

So to fix this I've decided to add some fancy particle systems that create nice visual effects for each of these specific actions.

Let's take a look, shall we?

(Keep in mind that these effects are subject to change)



This is a quite simple effect that is being played when an attack successfully lands on an enemy. Right now it's a simple burst effect with circle particles.

Their red-ish tint is also reminiscent of blood, strength and courage which are all feelings related to attacks in general.

Its size depends on the amount of damage given.

Guard VFX


This one is quite fancy.

It's supposed to mimic an impact flair. Its blue tint is also to represent metals hitting each other, as well as reinforcing the guarding by invoking ideas of trust and efficiency.

(these circle particles are placeholders as of right now)

Parry VFX


This one is one of my favourites.

It's supposed to represent some kind of burst, like if two opposing forces collided and released a bunch of energy altogether.

The spiral movement is also supposed to invoke a sense of choreography, reinforcing the idea that the move was calculated and planned from the beginning.

Its yellow colour also indicates a sense of pride and joy, but in another way, it also can induce anxiety and/or depression on the receiving end.

That's about it for VFX. I'm also constantly working on these to get them just right.

But let's take a look at these in action:

Fruit Trees

Finally, I've also added Fruit trees.

These special props act as a food source. They could be found in any room and can sometimes bare some fruits.

The player can easily eat some of these fruits for a temporary stat boost.

Each tree can have many fruits spawner. After a fruit was eaten, another one grows back onto the tree after a while. 

That is if those fruits spawners didn't reach their regrowth limit, though. This means that players have to be wise about their fruit play.

Here's a list of all fruit trees currently implemented in the game

Banana plant


This is a standard banana plant.  It usually spawns in tropical/rainforest levels and whatnot.

As the name suggests it can have bananas on it.

Lime Tree


A more standard tree, this one is all about that lime stuff.

It is slightly smaller than banana plants, and although it's supposed to be a tree some concession had to be made in order for the fruits to be reachable.

That's it for plants for now...

If you're interested in fruits and how they work I suggest you take a look at my previous blog entry.

Minor Updates

  • We're still doing those refactorings, optimizations and whatnot. I would say that this was by far the things that took most of the development time.
    • Cut a lot of duplicated shader code into their own .cginc files.
      • This means cleaner code and smaller shaders overall.
    • Refactored the code to remove a lot of duplicated code
  • Added hit positions to damage events.
    • Really useful to place those new visual effects
  • Fixed bugs with sounds and food items
  • Changed how diners menu works.
    • Now they also use food spawner
  • Fixed grass strain particles so that they also have a velvet finish to them

Next week

While the demo isn't going to launch this month, I'm still trying to get things done for an eventual demo.

It's a lot of work to look at all those bits of code and think of other more optimized ways to achieve the same goals. It takes time and sometimes doesn't yield anything at all...

So this means more tinkering, balancing, adjustments, optimizations and refactors...

Aside from that, it's the usual suspects.


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • What is your GameDev Story?

    In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

    (You must login to your GameDev.net account.)

  • Blog Entries

  • Similar Content

    • By RoKabium Games
      Unfortunately, we couldn't make it over to GDC, but we did make a tiny appearance. We fitted out our marketing guy Erik from Indie Bros. with a SAMA T-Shirt! Did anyone spot him?
    • By Gautti
      Hi, Anybody knows how to use the reference of Spine.Unity.Editor in outside the Editor folder in Unity. Because right now I have to access method of spine editor script in MonoBehaviour. But it gives me a build time error. so what should I do for working fine ?
    • By Devian
      Hello community !  For a new Business in Game Development, which platform is better to start with and why ? Mobile (Appstore, Google Play) or PC (Steam) ?   Also: Which strategy will have more chances to assure a ”sustainable” income and a company growth ?    
      A medium quality FPS game (good, almost realistic graphics, decent story but definitely not a AAA game), with no marketing budget, published on steam. (Team: 5 developers and 5 salary.) 5-6 Hyper Casual games with good quality graphics and mechanics (at least 2-3 of them with new and original mechanics), with a good marketing strategy ? (Team: 2 developers and 2 salary.)  
        Tough choice, I know  Thank you in advance for all your feedback 
    • By Magi98
      Hello all,
      I am currently looking for talented individuals to aid in the development of a pirate-themed 2D Platformer
      A bit about the game:
      This will be a 2D platformer built in Unity for PC. It will be scripted in C#. As for other programs that will be used for art/animation, I am open to a discussion from the team. I have been using Photoshop and After Effects for the initial prototyping, but this is no way set in stone
      In terms of art style, we have quite a bit of concept art done already. Again, nothing permanent and if you are asked to join the team you will be able to voice your concerns should you wish to change something. That being said, we are currently looking at a brightly colored, cartoony styled game set primarily on the beach/docks or in caves.
      The design is looking at going one of two ways:
      Puzzle style: where each level is a challenge with enemies and difficult layouts that require thinking in order to reach the end Survival: Think Zombieville USA (the old mobile game https://www.youtube.com/watch?v=pvfVDczQXOY). Just try to reach the end of the level before dying. Each level there are more and more enemies. This would include a weapon upgrade system and infinite levels in which enemy spawns are algorithmically generated. One of these will be chosen in the following weeks as we approach the construction of a finalized prototype   Our team is currently in search of the following: Character Artists Background Artists Asset Artists Writers Animators Engineers/Programmers (C#) If you feel you can fit one or multiple of these roles please feel free to respond to this post or private message me.
      Right now, the main goal is to get a prototype up and running. Should this be accomplished, we can look at researching the possibility of starting a Kickstarter and marketing campaign. That being said, for the time being, this is a hobby-project and all work is unpaid. Just done out of the love for video games and the passion to make something cool  Should it move past that we will obviously discuss monetary benefits. 
    • By sun113344
      So earlier I posted this on how to get AI to jump in an arc. But I realised it was probably in the wrong place on this forum.
      However, I'm not even convinced I'm going about solving this the right way. So I would like to know what techniques I can use to get an AI to jump between to platforms in a 2d game?
      Currently, I'm using SUVAT physics equations to calculate the arc path between nodes but I'm having difficulties getting my ai to follow the jump path. I can get my ai to follow the jump path using the starting position and using initail velocity I can displace the the ai's position. But this sets the ai's position directly and basically ignores any physics. Ofcourse, I can add some extra code to detect a collision in mid air and stop and apply gravity if there is a collision. But I already have collision detection code but the interface requires setting a the velocity on the object. So my current thought is between:
      Set ai's position using suvat equation such as: s = ut + (1/2)(a)(t^2). Where I can get the initail velocity and time to target and then simply follow the path and then implement some code to detect collisions while jumping. The path following is really quite smooth. Some how set the velocity of the ai using: v = u + at which ends up with weird movement but allow to reuse some existing code I have. not sure my implementation is even correct here. Use some other better method that I am not aware of. Does any one have any thoughts on this? The code below is what I'm doing while for point 2:
      IEnumerator Jump(LaunchData launchData) { float timer = 0.0f; while (timer <= launchData.timeToTarget) { velocity.x = launchData.initialVelocity.x + (timer); velocity.y = launchData.initialVelocity.y + (timer * gravity); timer += Time.deltaTime; enemyController.Move(velocity * Time.deltaTime); yield return null; } jumping = false; }  

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!