Fancy Ball 2 - Skins
We are glad to announce that we implemented a skin system for Fancy Ball 2. Here's a video:
Let us know in the comments what skin you want to see in the game.
Also this week we changed how the gamespeed mechanic works.
Previously all the movement equations were something like:
velocity += Time.deltaTime * gameSpeed * velocityMultiplier;
The problem with this solution was that it didn't work for dynamic body physics (I'm using Unity).
I soon realized that Unity has something that can help me. It has Time.timeScale.
My initial idea was to make all the movement independent of the gameSpeed and to just assign to Time.timeScale the value of gameSpeed.
In my case the maximum value of gameSpeed is 10 so... that solution didn't work really well as it was causing lag. I had to think of another solution.
I found a solution that combined both the solutions above.
I just multiplied maxSpeed to all the movement equations like so:
velocity += Time.deltaTime * maxSpeed * velocityMultiplier;
And then what I did was assign Time.timeScale the value gameSpeed / maxSpeed. Something like:
Time.timeScale = gameSpeed / maxSpeed;
And that is pretty much everything for this week.
Thank you for following the development of our games.
Get Fancy Ball 2
Fancy Ball 2
A ball that is FANCY and tries to stay that way.
Status | Released |
Author | SilviuShader |
Genre | Platformer |
Tags | 2D, Arcade, Black and White, Casual, Difficult, Endless, flat-shading, High Score, Music Production, Touch-Friendly |
More posts
- THE GAME IS NOW ON MICROSOFT STOREAug 25, 2018
- THE GAME IS NOW ON GOOGLE PLAYAug 18, 2018
- Sun SkinAug 11, 2018
- First two minutes of reverse gameplayAug 04, 2018
- Fancy Ball 2 - All sections timelapseJul 28, 2018
- First Five LevelsJul 14, 2018
- UI StuffJul 07, 2018
Leave a comment
Log in with itch.io to leave a comment.