SpriteWrench Posted June 29, 2018 Share Posted June 29, 2018 What’s Grimm & Tonic This is a weekly web visual novel, that follows the residents of the fictional city of New Eden. New scenes released every Friday. Check it out here What’s “Last Call" In this VN, you wake up one evening to find Death sitting on your sofa. Broke, friendless and apparently soul-less, He offers you a temporary job at the premiere, local, shady hole-in-the-wall, DEAD-END. Maintaining a healthy Work-Life balance is pretty tricky on a good day but it’s damn near impossible when your boss threatens foreclosure on your mortal existence. As the new bartender at DEAD-END, you’ll make new friends, mix weird drinks, all while navigating Life, Death and everything in between. What are the Themes? The game will focus on the following themes: Wishing vs. Desire vs. Action Locus of Control Coping Mechanisms Personal Growth You can expect the game to touch on topics such as suicide, alcohol abuse and depression. This title is going to be focused towards an audience aged 16 and up. There will be references to alcohol and adult situations. However, there will be no explicit nudity Open to Feedback? Yep. Looking forward to any comments anyone may have: Pacing. Ideas/Suggestions. Both Positive and Negative criticisms. Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted June 29, 2018 Author Share Posted June 29, 2018 Is Now Live! Check it out here ! Let me know what you think! Quote Link to comment Share on other sites More sharing options...
Umz Posted July 2, 2018 Share Posted July 2, 2018 Can't get it to load. Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted July 2, 2018 Author Share Posted July 2, 2018 4 hours ago, Umz said: Can't get it to load. Hey, can you confirm what browser you are using? Mobile or Desktop? Quote Link to comment Share on other sites More sharing options...
Umz Posted July 3, 2018 Share Posted July 3, 2018 10 hours ago, SpriteWrench said: Hey, can you confirm what browser you are using? Mobile or Desktop? Chrome. Desktop. Windows 10. I'm not sure if it's wasn't loading, or just took longer than I waited to load? About a minute or so.. The Google Ads were throwing up some errors. Works now. Guessing the 2nd load it faster. SpriteWrench 1 Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted July 3, 2018 Author Share Posted July 3, 2018 6 hours ago, Umz said: Chrome. Desktop. Windows 10. I'm not sure if it's wasn't loading, or just took longer than I waited to load? About a minute or so.. The Google Ads were throwing up some errors. Works now. Guessing the 2nd load it faster. Noted. I can probably speed this up with some image compression. Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted July 6, 2018 Author Share Posted July 6, 2018 Revamped scene 3! Wasn’t satisfied with the scene from last week. After reviewing the feedback, I’ve made some changes to the scene to bring the narrative more in line with my goals. Check it out here ! Let me know what you think! Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted July 13, 2018 Author Share Posted July 13, 2018 Grimm & Tonic: Episode 1 Scene 4 Let's meet Miss Kassandra Li Check it out here! Let me know what you think! Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted July 20, 2018 Author Share Posted July 20, 2018 Grimm & Tonic: Episode 1 Scene 5 Let's meet Mr. Udo Otmar Check it out here! Let me know what you think! Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted August 17, 2018 Author Share Posted August 17, 2018 Grimm & Tonic: Episode 1 Scene 6 Let's meet Ms. Usha Alida Check it out here! Quote Link to comment Share on other sites More sharing options...
Bart Read Posted August 19, 2018 Share Posted August 19, 2018 I can get it to load on desktop Chrome under OSX, but it takes quite a while, presumably because it's pulling down about 30MB of MP3s (nice music, btw). The tab is also using about 780MB of RAM just to display the title screen[1], so I don't rate its chances of working well or even at all on any mobile device I own (iPhone 5S, 6S, and OnePlus Two - granted none are state of the art). Are you using context.decodeAudioData on your Web Audio context for these MP3s before you need to use them? If so then I suspect that's where most of your memory is going: calling decodeAudioData on an MP3 source will decompress the audio[2]. What this means is that a 3 minute MP3 at 128kbps that normally takes about 3MB, will blow up to a good 30MB in memory (at least), meaning your 30MB of MP3s will consume around 300MB uncompressed. Those figures are theoretical, based on the sizes of compressed MP3 audio at 128 kbps, versus uncompressed 16-bit PCM audio at 44.1KHz. The reality seems like it's generally worse in my experience. One of my games was using 600-700MB of memory, and it turned out to be the MP3s which, compressed were only about 10MB in total. I ended up decoding the audio on demand, which means there's a short but incredibly annoying lag before playback starts (makes it harder to synchronise other events to the music), but this trimmed memory usage down to a fairly stable 100MB total, and significantly improved both performance and stability, particularly on mobile devices. I notice a bunch of images coming down as well. Although they're relatively small as PNGs, they might also be a factor, again due to decompression in memory. Hope this is helpful - nice looking game. Love the funky noirish feel. [1] This is coming from Chrome Task Manager, available via the same menu as Developer Tools. [2] For this, and related reasons, the Web Audio API is terrible for handling music that you're likely to want to reuse, as you often will in a game. SpriteWrench 1 Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted August 23, 2018 Author Share Posted August 23, 2018 On 8/19/2018 at 5:12 PM, Bart Read said: I can get it to load on desktop Chrome under OSX, but it takes quite a while, presumably because it's pulling down about 30MB of MP3s (nice music, btw). The tab is also using about 780MB of RAM just to display the title screen[1], so I don't rate its chances of working well or even at all on any mobile device I own (iPhone 5S, 6S, and OnePlus Two - granted none are state of the art). Are you using context.decodeAudioData on your Web Audio context for these MP3s before you need to use them? If so then I suspect that's where most of your memory is going: calling decodeAudioData on an MP3 source will decompress the audio[2]. What this means is that a 3 minute MP3 at 128kbps that normally takes about 3MB, will blow up to a good 30MB in memory (at least), meaning your 30MB of MP3s will consume around 300MB uncompressed. Those figures are theoretical, based on the sizes of compressed MP3 audio at 128 kbps, versus uncompressed 16-bit PCM audio at 44.1KHz. The reality seems like it's generally worse in my experience. One of my games was using 600-700MB of memory, and it turned out to be the MP3s which, compressed were only about 10MB in total. I ended up decoding the audio on demand, which means there's a short but incredibly annoying lag before playback starts (makes it harder to synchronise other events to the music), but this trimmed memory usage down to a fairly stable 100MB total, and significantly improved both performance and stability, particularly on mobile devices. I notice a bunch of images coming down as well. Although they're relatively small as PNGs, they might also be a factor, again due to decompression in memory. Hope this is helpful - nice looking game. Love the funky noirish feel. [1] This is coming from Chrome Task Manager, available via the same menu as Developer Tools. [2] For this, and related reasons, the Web Audio API is terrible for handling music that you're likely to want to reuse, as you often will in a game. Thanks for the feedback! A lot of this is handled by the RenJS library so it's looking like I'm going to have to roll up my sleeves and dig into it. Conversely, I may be able to get away with some image compression and possibly utilizing another audio format. Will look into it and see. Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted August 24, 2018 Author Share Posted August 24, 2018 Grimm & Tonic: Episode 1 Scene 7 Introducing Comrade Wolfgang Konrad! Connoisseur of exotic cocktails and aperitifs. Check it out here! Quote Link to comment Share on other sites More sharing options...
BdR Posted August 24, 2018 Share Posted August 24, 2018 There's quite a long loading time the first time, isn't it possible to break it up and load assets per scene as needed? Interactive fiction isn't my type of game but I do really like the graphics style here, was it inspired by "Hotel Dusk: Room 215"? Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted August 27, 2018 Author Share Posted August 27, 2018 On 8/24/2018 at 6:16 PM, BdR said: There's quite a long loading time the first time, isn't it possible to break it up and load assets per scene as needed? Interactive fiction isn't my type of game but I do really like the graphics style here, was it inspired by "Hotel Dusk: Room 215"? Hey thanks for giving it a try. I've tweaked a few things so loading should be a lot faster. Let me know! Quote Link to comment Share on other sites More sharing options...
Bart Read Posted August 31, 2018 Share Posted August 31, 2018 Hmm, I just tried it over a 4G connection and it took 4 minutes 25 seconds to download the 45.5MB of content, which is on average about 176KBytes/second. The download speed is low enough to make me wonder if you're being dinged/limited for bandwidth on your web server (unless you have a particularly large amount of traffic at present). Real world 4G download performance often reaches 1 - 2 megabytes/second with decently strong signal. Still, even in these ideal circumstances it's going to take 23 - 46 seconds to load the game, which I suspect may be longer than many are willing to wait. Even if you don't want to go to the extent of loading data per scene you might be able to defer loading of data not required to display the start menu and the beginning of the first episode until the start menu has been display, meaning that players can immediately start the game without having to wait for all the content to download. Of the 45.5MB, roughly 37MB is music so you could improve the situation significantly by prioritising most of the music to load after the start menu has appeared. I also notice you're loading a couple of the tracks (Effects of Elevation, and Dirty Shoes Blues) twice so you could shave off 8.7MB there, which would get you down to about 28MB. I notice the game is using 882MB in Chrome Task Manager. I suspect this is a combination of both images and music, but I'll come on to the images in a bit. On the music front you can reduce the compressed size of your ogg files by reducing the encoding bitrate from 144kbps to 128kbps. This will reduce the amount of content to download and most people won't be able to tell the difference, especially not if they're using phone/tablet/laptop/low end multimedia speakers, or average headphones in anything other than a dead quiet environment. I use MP3s rather than OGGs, simple because at the time I was putting together the music MP3s were better supported amongst different browsers, but the bitrate principles remain the same. I found dropping below 128kbps had too much of an effect on quality - 96kbps sounds noticeably washy on half decent speakers, but I do use it for mobile users so I don't rinse their data. However, you can pull another trick out of your bag that will reduce the size of the decompressed audio without significantly compromising quality by decreasing the original sample rate, which will probably be 44.1KHz (i.e., same as CD) or 48KHz. I found that 32 KHz produces still good results for the games I'm working with, but they're pretty heavy on sound effects. You can use a tool such as Audacity (which is free) to resample down to 32 KHz and then export as ogg at 128kbps: https://www.audacityteam.org/. On the image front, again, this might require getting down and dirty with RenJS, but if under the covers you're using WebGL to render you may find you get better results with compressed textures rather than PNGs, but that may be a bit of a long shot. I realise all of this is a giant pain in the neck. Also worth saying that most of it is only something you need to worry about if ultimately you plan to distribute your game over the web, rather than as a self-contained app. Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted September 2, 2018 Author Share Posted September 2, 2018 On 8/31/2018 at 6:48 AM, Bart Read said: Hmm, I just tried it over a 4G connection and it took 4 minutes 25 seconds to download the 45.5MB of content, which is on average about 176KBytes/second. The download speed is low enough to make me wonder if you're being dinged/limited for bandwidth on your web server (unless you have a particularly large amount of traffic at present). Real world 4G download performance often reaches 1 - 2 megabytes/second with decently strong signal. Still, even in these ideal circumstances it's going to take 23 - 46 seconds to load the game, which I suspect may be longer than many are willing to wait. Even if you don't want to go to the extent of loading data per scene you might be able to defer loading of data not required to display the start menu and the beginning of the first episode until the start menu has been display, meaning that players can immediately start the game without having to wait for all the content to download. Of the 45.5MB, roughly 37MB is music so you could improve the situation significantly by prioritising most of the music to load after the start menu has appeared. I also notice you're loading a couple of the tracks (Effects of Elevation, and Dirty Shoes Blues) twice so you could shave off 8.7MB there, which would get you down to about 28MB. I notice the game is using 882MB in Chrome Task Manager. I suspect this is a combination of both images and music, but I'll come on to the images in a bit. On the music front you can reduce the compressed size of your ogg files by reducing the encoding bitrate from 144kbps to 128kbps. This will reduce the amount of content to download and most people won't be able to tell the difference, especially not if they're using phone/tablet/laptop/low end multimedia speakers, or average headphones in anything other than a dead quiet environment. I use MP3s rather than OGGs, simple because at the time I was putting together the music MP3s were better supported amongst different browsers, but the bitrate principles remain the same. I found dropping below 128kbps had too much of an effect on quality - 96kbps sounds noticeably washy on half decent speakers, but I do use it for mobile users so I don't rinse their data. However, you can pull another trick out of your bag that will reduce the size of the decompressed audio without significantly compromising quality by decreasing the original sample rate, which will probably be 44.1KHz (i.e., same as CD) or 48KHz. I found that 32 KHz produces still good results for the games I'm working with, but they're pretty heavy on sound effects. You can use a tool such as Audacity (which is free) to resample down to 32 KHz and then export as ogg at 128kbps: https://www.audacityteam.org/. On the image front, again, this might require getting down and dirty with RenJS, but if under the covers you're using WebGL to render you may find you get better results with compressed textures rather than PNGs, but that may be a bit of a long shot. I realise all of this is a giant pain in the neck. Also worth saying that most of it is only something you need to worry about if ultimately you plan to distribute your game over the web, rather than as a self-contained app. 11 Thanks for the feedback. Will try what you've suggested ... but I'm loathed to attempt messing with how RenJS handles images. Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted September 2, 2018 Author Share Posted September 2, 2018 Grimm & Tonic: Episode 1 Scene 8 Introducing aspiring Novelist, Ms. Sylvianna ‘Sylvi’ Anders! Check it out HERE Quote Link to comment Share on other sites More sharing options...
Bart Read Posted September 2, 2018 Share Posted September 2, 2018 9 hours ago, SpriteWrench said: Thanks for the feedback. Will try what you've suggested ... but I'm loathed to attempt messing with how RenJS handles images. Ha! I can't say I blame you - this sort of thing is a massive headache, and it definitely doesn't help when the documentation is patchy. I may be wrong but I suspect your biggest, and least painful, gains may come from dealing with the music related issues so I'd recommend starting there. Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted September 14, 2018 Author Share Posted September 14, 2018 COMING OCT 2018! Grimm & Tonic is an ongoing collection of stories centred around the residents of New Eden City. I'm inviting the community to help shape the ways that those stories are told. Each story arc is to be encapsulated in an episode and some will be accompanied by 'B-Side' stories. Grimm & Tonic will be in Early Access until a final episode of "Last Call" is released. Currently, there is a roadmap for a total of 6 episodes, in this particular series. The goal is to have a complete episode released every 3 months with 'B-side' sprinkled throughout the release cycle. If everything goes perfectly I intend to have the game completed by the end of 2019. As of writing this, episode 1 of Grimm & Tonic: Last Call is being completed, which introduces 8 characters. On full release, Grimm & Tonic will have a total of 6 episodes, with a MAXIMUM of 3 "B-Side" stories per episode, 25+ characters and a lot more polish. Weekly Updates will resume Oct 12, 2018 Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted October 12, 2018 Author Share Posted October 12, 2018 Grimm & Tonic Now on Steam Early Access! You can check out the game on Steam & Itch.io . I will be pivoting away from the weekly online releases. Instead, i'll be updating the client with ongoing content. Teaser and mini-stories are scheduled to be released for free on itch.io Features to be included in update v0.1.2 (October 19, 2018): Achievements! B-Side Story: " Glass Half Full" An Additional Ending for Episode 1 Further Polish and Bug Fixes Below are a couple free keys (If you enjoy the game, leave a review!): P4EC7-34MIB-ARYB4 LFXZX-7RV66-B3C24 24WX5-IG768-C3TPR GR3Y5-EQ5NV-P4QA0 RWB28-06P7Y-R3JLD Quote Link to comment Share on other sites More sharing options...
SpriteWrench Posted December 7, 2018 Author Share Posted December 7, 2018 Hey Everyone! I haven't posted here in a minute, but development continues. Build v0.1.4 has just been uploaded to Steam and Itch.io. If anybody here is interested in giving the game a play feel free to message me and I'll send you a key (while they last)! If you want to support the game consider purchasing it on Steam or at very least adding it to your wishlist! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.