DevLog: The game now runs on Nintendo Switch.....mostly!
Hey Everyone!
As you might have noticed, we've promised to bring the game to Nintendo Switch. We've been hard at it, and the work is finally bearing fruit! ๐
It took me an entire day JUST to set up our dev environment to build for the platform, fix up some PC-only code that wouldn't compile on the Switch, and disable several features that aren't implemented yet, and then.....
IT BOOTS!!!
But we immediately hit the first problem - the joycons don't work and the game only responds to touch-screen, so we can't even get past the main menu T_T
We're using a 3rd party framework (ReWired) so I had to go digging through support docs and the super secret forums to find the updates necessary. After another day messing around, it worked! The whole prologue you see here on itch, is now jankily playable on the Switch!
But that's not a cause for celebration just yet. As some of you may know (especially after the, ehm, Deadly Premonition 2 debacle), the Swatch isn't exactly the most powerful console. So our game did not run as well as I hoped. In fact, just raining in place was dropping the FPS by half (!). Heck, neverminded raining, even THE FLOOR killed our FPS.
WHAT THE FARK???
Thus ensued the week of madly reading through the Swutch Docs, watching various "Unity Optimization Tips" GDC talks, and getting chummy with the Unity Profiler that tells us exactly where our bottlenecks are. So, what kind of changes were necessary to make the game playable?
- Drop Bloom and Ambient occlusion - as much as I wanted this to work, it just eats up way too much of the GPU time ๐ข I tried 2 different alternate Bloom solutions, but they performed even worse than the built-in Unity one. Welp!
- Drop general settings - texture filtering, shadow quality, etc. Those helped a bunch and, due to the game's simplicity and Smitch's small screen (in handheld mode), they aren't too detrimental to player experience. I found a good compromise between quality and performance that's roughly equivalent to the "medium" settings on PC ๐
- Get rid of the rain puddles - no really, those EAT the frames per second for breakfast. I haven't figured out a good replacement for them yet
- Replace 3D particles with 2D (rain and fire) - this was again a frustrating decision, but I experimented with so many variants of our 3D particles, different settings for transforming them, caching, materials.... but it just hits the FPS way too much. The oil fire mechanic is probably one of the most fun to use, but not when your FPS drops to 15. Ultimately, I replaced them with circular sprites that resemble the 3D ones. I'm actually happier with the result than I initially expected to be!
- Pooling and caching objects - the TL;DR is that creating and destroying objects on the fly is very no bueno on lower performing systems and can cause micro-stutters. So a lot of objects are now pooled (i.e. there is a fixed amount of them that keeps getting re-used) or pre-cached (I.e. they are all created at start and kept inactive until needed). This keeps the FPS more consistent throughout.
With all this work, the initial Wedding scene went from very unpredictable 15-40fps range, to a solid 55-60fps no matter what you do or what power you use ๐ฅณ
The work isn't done quite yet - there are a bunch of bigger levels where the FPS still tanks for other reasons (such as having TOO MANY hoomans at the parade), so there's some levels-specific optimizations we need to do. There's also certain mechanics that still create tons of objects and need to be pooled (such as turrets - yes we have turrets in the game, what did you expect?). And we're still missing features like actually being able to save the game ๐ ๐ ๐
That's all coming next, BUT the good thing is, the game is now at least fully playable on Switchuwu, and I have a path laid out in front! It's now just a matter of sitting down and getting it all done ๐
----
Hope you enjoyed the little progress update, and if you have any questions, just comment away!
Cheers,
- Koob
Get Rain on Your Parade Prologue
Rain on Your Parade Prologue
Travel the world as a mischevious cloud and rain on everyone's parade! The ultimate schadenfreude simulator.
Status | Released |
Author | Unbound Creations |
Genre | Adventure, Puzzle, Simulation |
Tags | 3D, Action-Adventure, Comedy, Cute, Funny, Relaxing, Singleplayer |
Languages | German, Spanish; Castilian, Spanish; Latin America, French, Japanese, Korean, Polish, Russian, Chinese, Chinese (Simplified) |
More posts
- Looking for some dumb fun this weekend? The full "Rain on Your Parade" IS OUT NO...Apr 17, 2021
- Contest Time - Win a Cute Cloudy Plushie and Game Key!Mar 17, 2021
- WE HAVE A RELEASE DATE!!! And brand new trailer!Mar 12, 2021
- Now Playable in YOUR BROWSER!!!Mar 05, 2021
- Photo Mode Now Lets You Move Cloudy + MAGICAL Glowing Bucket โจJan 04, 2021
- [VIDEO] Special Announcement From our Creative Director!Dec 18, 2020
- BIG Update Time!Dec 15, 2020
- We just got a big spike in downloads and I don't know why D:Dec 14, 2020
- How to make a Cloudy Pumpkin for HalloweenOct 28, 2020
- New Spoopy Halloween Level Added [time-limited]Oct 22, 2020
Comments
Log in with itch.io to leave a comment.
Sorry to hear you're having so much trouble with the Swibch. :|
Yea I kind of expected that with a Nantendo console, so we saved up some dev time just for dealing with that stuff
So can I pile up all the letters in the Credits and set them on fire? XD
Gian bonfire is absolutely a yes now!
The physics themselves will still potentially lag a bit eventually, but there isn't much we can do about that aside form limiting physics objects in our scenes ยฏ\_(ใ)_/ยฏ