Hello, Sleepyheads! š Wow, with March wrapping up, thatās our ninth month in development since the Kickstarter campaign ended. It goes by so fast, but it is certainly exciting to look back and see how far the game has come since then. Before I dig into what Iāve been up to this month, I want to give another reminder that last month I sent out invitations to all of the special tier backers to collect information for the special rewards. There are still several backers that havenāt filled those out yet, so please make sure you get to it (and Iāll keep emailing reminders). If you donāt fill out the form in time, I may not be able to ensure your reward makes it into the game. If youāre not sure if you filled that form out and you are a special tier backer, you can always get in touch with me directly via Discord.
Also just want to give a fair warning that I go into a lot of technical details in this post. š¤
Some exciting news for those of you that donāt have a Nintendo Switch, but are looking forward to playing Little Nemo on a handheld: I picked up a Steam Deck this month to help ensure the game will be able to launch with verified status.
A shot of a Little Nemo development build running on the Steam Deck
Right out of the box, the game runs really well and hits the 60fps target simply using the Steam Deckās built-in support for Windows games using Proton (uncapping the framerate sees it hitting about 90fps on average). If you have the š¾ Early Builds Access reward and have tried this yourself, you may have noticed that the game drops some frames any time content loads in around the player. This is something that isnāt impactful enough to be noticed easily on a powerful enough Desktop PC, but on a device like this it becomes much more noticeable (personally Iām quite sensitive to these kinds of frame dips, although you might not have even noticed it yourself). Though the systems responsible for this were a known target for performance improvements, itās helpful to run on a device like this to get a sense of how urgent that need is.
I thought it might be fun to do a quick technical dive into what those performance concerns are and how I plan to ultimately address them.
Performance Improvement Targets: The Technical Details š¤
The first area in question is my code for interfacing between the legacy Unity code (GameObjects and MonoBehaviours) and the new ECS & DOTS systems. ECS/DOTS is still fairly new (though coming out of preview soon) and doesnāt have robust 2D support, so ultimately it made the most sense to roll my own code to support āHybridismā, or converting my GameObjects into Entities. Most of my game logic is designed to operate in the ECS/DOTS framework, but I still need the GameObjects so that we can take advantage of important MonoBehaviour components such as Unityās Animator and SpriteRenderer. I have my own Entity authoring components I call āProxiesā that are adding ECS Components to their Entities in a very naive way that results in a lot of shuffling of archetypes in ECS. Essentially, Iām just sequentially adding each of the Components I want, rather than adding them all at once, and this causes the EntityManager to have to keep shuffling things around in memory and is much slower than it needs to be. The end result is that simply instantiating one of my Hybrid GameObjects is much slower than it should and could be, and it can have a noticeable impact on a slower device. Because GameObject instantiation is work that must happen on the main thread, it causes noticeable stutter when playing if it takes long enough.
The solution here will be to make my Hybrid conversion process a bit more streamlined by collecting all of the data Components each Proxy wishes to add to the Entity, and then create or find an archetype based on those desired Components and apply them all at once. Although it sounds fairly straight-forward, it will be a decent chunk of work (hence why I havenāt already done it) because it will involve a lot of performance testing to make sure itās as beneficial as it can be.
Look, I donāt have any good/relevant screenshots to show here as I go into the technical weeds, so have a promotional ECS image from Unity.com š
The second area of improvement surrounds the loading in of the Tiles that are in each Chunk of the game world. I make extensive use of Unityās Tilemaps and some extras they offer on GitHub, specifically the RuleTiles. These are Tiles that can change which sprite is used for a Tile based on its neighboring Tiles. Currently, that logic is run on the main thread and is not Burstable (a performance optimization that is great for this sort of work). So the fix here will be to rewrite the RuleTileās logic for determining which sprite to use in a Burstable manner, and also to find a way to pre-emptively collect that data before we need to render the Tile, so that we can run that logic on a background thread and only begin writing in those Tiles once we know the data is ready.
I believe these two areas for improvement account for the better part of the performance dips that occur every time we load in world chunks around the player, so if I can get them fixed, the game should run very smoothly on the Steam Deck.
For those of you that do have both a Steam Deck and a Nintendo Switch, I thought Iād offer a little insight into how I imagine the game will ultimately run on these two devices in case that informs your decision for which platform to get Little Nemo on.
Color
The first thing I noticed when running the game on Steam Deck is that the colors are quite washed out compared to all other monitors I typically see the game run on. Iāve heard estimates that the Steam Deckās screen only handles about 68% of the sRGB gamut, and that about tracks with how it looks. Alternatively, the Switchās original LCD Switch screen appears to be 100% sRGB coverage, and when Iāve run the game there, I was very happy with the color reproduction. So if faithful color reproduction is something you notice, the Switch will do a better job here. And if you have an OLED model of the Switch (which I do not) I imagine the difference between devices becomes even greater.
Resolution
Both devices have a screen that is 1280px wide, so they run at 720p. Itās important to note that Little Nemo is designed specifically for a 16:9 target, so it does not take advantage of the marginal extra vertical space on the Steam Deckās screen. Because the Nintendo Switchās screen is physically smaller, it winds up looking slightly sharper, but they are running at the same resolution. So both devices should wind up with having very similar/the same picture quality in terms of resolution and sprite scaling.
Performance
On the Steam Deck, the game can immediately hit performance goals, so thereās no worry here. On the Nintendo Switch however, early builds have shown that some concessions will need to be made (along with targeted performance improvements) for the game to hit the 60fps target. Please keep in mind that many third-party games on the Nintendo Switch, even 2D ones, typically target 30fps. I hope to be able to hit that 60fps target, but there will be visual concessions (such as a drop in the dynamic lighting resolution for instance). So the Steam Deck is gonna be a clear winner in terms of performance.
As we get closer to the game being complete and Iām able to focus on targeting Nintendo Switch performance, Iāll share more about how that is all shaping up to help you make the decision about which platform youād like to receive the game on.
Okay, thatās enough about the Steam Deck. Some other non-spoiler work I did this month that I can share is a visual revamp of the Oblivion.
The sprites that I was using for the Oblivion tiles were initially intended to be a placeholder, but I thought they had been working decently enough to not be a priority. But more recently I had realized from talking to others, that what exactly the Oblivion is wasnāt coming through correctly. It is supposed to be a watery substance, and the rectilinear nature of Tilemaps made that difficult to convey easily.
This new set of tile sprites makes extensive use of the RuleTile logic to round out any corners where one corner of a tile touches any other corner of a tile, which helps gives it a sense of cohesion and surface tension that youād have with this inky, watery material. The texture used to create the parallax layers within the body of the material was also a placeholder (I was previously simply using the starry night background used for the background of the title screen). Although I really like how that looked, it was always intended to be bubbles rather than stars, so I made a new texture for those layers.
Ultimately I hope that this has the same visual appeal that it did before, while looking a little more polished and better conveying some of the material properties it was always intended to.
This is a side-by-side look at the textures used for the tiles and the parallax layers of the Oblivion respectively.
Everything from here on out is a bit spoilery, so read at your own discretion.
Last month I showed off a bit of the Cape toy, which gives Nemo the ability to slow fall and air dodge, but I didnāt have the animations ready yet. So hereās a quick look at the cape in action:
Here you can see Nemo is able to reach platforms that would normally be inaccessible both through the slow fall ability and using the air dodge to reach new heights (as a double jump of sorts). You can also see Nemo passing safely through a Burrchin using the temporary invulnerability granted during the air dodge.
This month I also worked with one of our most generous backers who had the šļø Design Pajamas special reward tier. Together we came up with the Shortcake PJs, which provide Nemo with the Sweets Aplenty buff causing more candy to spawn when you break open Moons.
Nemo wearing the Shortcake PJs
The color scheme and ability were inspired by a character that this backer and I both loved when we were younger (and which you may be able to guess from the name). The color scheme has a base PJ color similar to Nemoās default PJs, but with strawberry-jam purplish-red hair and line colors, and an ultimately softer and somewhat sepia-leaning palette that creates a nice retro feel I think.
I wonāt name the backer in case theyād prefer to remain anonymous, but thank you so much for your support! š š°
I also worked with Jonathan Baken (in charge of all of our sound effects) this month to create some new footstep sounds for the Gumdrop Gardens and Mushroom Marsh. You may have noticed in any footage thus far of those areas, the footstep sound and visual effect is the same as it is in the Dreamswept Plains. We actually have a fairly robust system in place that allows each different Tile type to have its own collection of surface effects. Surface effects include any effects that an entity emits when interacting with a surface (running, landing, jumping, bumping into, etc.) and what I call an āeffectā is actually a short lived GameObject prefab which includes any mix of particle effects, sprite animations, sound effects, or really anything else we need.
Iāve put up a short YouTube video just showing how these footsteps change as Nemo moves over different types of Tiles. The footsteps are a bit quiet (by design so they donāt overwhelm the soundscape) so you may need to turn you volume up a bit:
Iāll give a quick technical breakdown of whatās happening here for those interested:
While each zone will have wildly different backgrounds, tilesets, soundtracks, enemies, and more, these sorts of smaller details I expect will go a long way to making sure they land just right and start to feel like places youād want to visit in a dream yourself.
Before you go, I just want to remind you that Kickstarter is a great way to help indie games get made. There are lots of campaigns running right now which could use your help, and here are a few 2D platforming games that I think you should take a peek at:
Windswept looks like a really cute and fun traditional platformer very clearly inspired by one of my favs: Donkey Kong Country 2.
Telmari is a game Iāve been following on Twitter because the art style immediately caught my eye. This looks like another more traditional level-based platformer, with a fun new central mechanic.
Selini looks a bit more like a metroidvania with a focus on exploration and upgrading abilities. This one is a bit of a different mood than what I usually look out for and I wouldnāt call it cute, but it certainly has a very beautiful visual style.
Thatās all from me for this month. Iāve already been working on some stuff thatās not ready to show just yet but Iām excited to show it to you all in next monthās update. Until then! š
-Dave