00:00
00:00
BoMToons
So many times, it happens too fast...you trade your passion for glory. Don't lose your grip on the dreams of the past, you must fight just to keep them alive.

Age 43, Male

Software Engineer

Somewhere in Nevada...

Somewhere in California..

Joined on 11/29/05

Level:
40
Exp Points:
17,128 / 17,760
Exp Rank:
1,274
Vote Power:
8.10 votes
Audio Scouts
1
Art Scouts
10+
Rank:
Police Officer
Global Rank:
14,728
Blams:
242
Saves:
415
B/P Bonus:
10%
Whistle:
Gold
Trophies:
42
Medals:
1,394
Supporter:
8y 6m 4d
Gear:
17

Development Log: New(ish) Game

Posted by BoMToons - May 5th, 2020


Read the "art" post from @Luis here: https://luis.newgrounds.com/news/post/1094855


iu_118171_1405066.jpg


From my side of things, here's the backstory:

We started work on this hoping to finish in time for the real Castle Crashers 10 year anniversary, but my life went into a brief tailspin with home struggles, new job, moving, etc. In the meantime, the program we were developing in, Game Maker Studio 1.4, upgraded itself to Game Maker Studio 2.0 and I thought: "If I go back to this, I should make it in GMS 2 so I can learn the more-modern tech and so there's no bottle-neck with publishing platform (mobile, html5, Windows, Mac, Linux, Nintendo Switch, Xbox One, PS4, etc.)" I still kinda wonder if I should have bitten the bullet and just made it in Unity, but I'm really liking GMS 2's similarities to what I'm used to in Javascript and Flash.


It really pains me to leave things unfinished when other people are involved (I have no problem disappointing myself...). This inner-pain is one of the reasons I was able to pull myself together to finish Abobo's Big Adventure - Rog and Pox had put so much time and effort into it I felt really bad dropping out (even though I really wanted to at some points). Something similar is true with this game... I didn't want to let Luis down after he'd invested so much... and regaining more direct contact with him via the NG Podcast ignited that feeling of excitement, camaraderie, and... guilt... so better late than NEVER! :-P


If I'm honest though, I'm happiest making video games. This has been really fun!


The idea of the game is to do a remake of Castle Crashing the Beard but update it with new graphics, new gameplay, and a bunch of surprises. We had actually gotten pretty far in GMS 1.4, so a lot of the past month of quarantine, in the spare time provided by not having a commute, I've just been getting the new game up to parity with the old game, but also experimenting with some new stuff along the way like shaders and testing in HTML5 in a real Newgrounds Project environment. I'm proud to say it runs really well in HTML5 (with a little lag on older GPUs, but not terrible). The coolest new thing, to me, has been playing it on an old Samsung phone and on my iPad running smoooothly from a web browser with on-screen controls. Also, gamepads work really well even in HTML5.


Here's a video of it running on the Samsung low-spec phone:



In Luis' post he talks about the art/animation challenges. The biggest workflow pipeline challenge for me is not having an IDE timeline for animation. Doing cutscenes and menus is a super painstaking process that all has to be hand-coded and timed via code. I miss the level of polish achievable easily in Flash.


Also on the technical side, I found it interesting that GMS 2 doesn't have any built-in way to "fullscreen" an html5 game. You can make the game fill the browser container, but not "take over" the whole screen. Luckily, my day job is as a Javascript programmer, so I directly edited the html file produced by GMS 2 and added some cross-browser compatible javascript functions that let the game go true full-screen (which is really important with this game to appreciate the HD graphics). I'm so proud of myself for figuring that out I might make a tutorial YouTube video about it sometime. It's so immersive that, a few times, I've forgotten I was outside of the Windows build environment.


One more technical note: I tested on my old-ish laptop (projected outside for quarantine movie night) and it ran really slowly... like half the intended FPS. (here's a pic of movie night with HUGE video game time)


iu_118167_1405066.jpg


This was suprising to me because it runs so smoothly on phones/mobile devices. After some consulting with @Mike and @PsychoGoldfish, we narrowed it down to my laptop's GPU. I tested some configurations and settled on the problem being my "texture size" in the game's html5 publish settings. Basically, GMS bundles up all your art/sprites onto "pages" where each frame of the game is "packed" together as tightly as possible.


iu_118168_1405066.jpg


Then the program is able to copy the artwork from its location on the texture-packed page and paint it onto the game screen in real time. One of the settings in GMS 2 is for the dimensions of these pages. I had my settings at 4096px by 4096px (which most people online said was fine for most GPUs). However, this was the culprit for my laptop's lag because, when I reduced texture size to 2048px, the lag disappeared. There are some ramifications for this change though... some of the BG and FG art pieces are WIDER than 2048px, so GMS 2 actually shrinks them down to fit the texture page size... because of the particular art style we're using which has crisp, pixel-perfect, edges... this shrinking causes artifacting and blurring of those BG pieces.... SIGH... this just means I will need to revisit the BGs, chop them up into smaller pieces manually (under 2048px per chunk) and re-code the BG movement/parallax stuff to move all those pieces in-sync. #sync


Here's a pic of my whiteboard with all the items necessary for bringing the new game up to parity with the one in GMS 1.4 from 2018 (and random bugs to fix) - notice my son's writing along the bottom... lol:


iu_118169_1405066.jpg


If you're interested in a SUPER spoiler, check out this video:



So, TL;DR: It's coming together and will be prrrreeettty cool! Also @TomFulp get your voice box warmed upppp! lol!


For a final pic, check out this sweet Behemoth merch I got for my boys/beta testers who have been obsessed with Castle Crashers lately... who knows why???


iu_118170_1405066.jpg


21

Comments

That is all looking great! In Nightmare Cops our max textures are even smaller than that but I can just break apart the art in Flash and have it all together inside a graphic of movie clip. Would be nice if Game Maker 2 would let you group large pieces like that, assuming it doesn't.

Also do you see the last video you included in that post? I'm seeing an empty box on my end, wondering what went wrong there.

Yeah, no grouping of multiple sprites with unique positions within an object in GMS 2, that I know of, but maybe someone who knows more about it can correct me and make my life easier.

Update: I see the second video now. It hadn't loaded in my lightbox feed so I'll test that again.

The first image was actually uploaded as a .gif - did NG stop supporting animated gifs in blog posts recently?

@BoMToons It might have been an issue if the animated gif was too big - how big was it?

15 MB... that makes sense... I'll see about uploading a shortened version.

I am working in Gamemaker Studio 2 as well... let me know if you are interested in collaborating once you get ready to move on to a new project. I'm working on a reboot of Primary, but I'm currently still in the engine building and world building phase, so the engine can pivot. It's always more fun to work on stuff with others.

Cool man, good to hear you're still at it! I'm excited to see the latest and greatest version of Primary!

I think in a weird way, having tailspins at the same time actually might have made for a better game in the end, well, if we finish it. I feel alot better about animation now, or maybe i'm better, or both, i've been tempted to start redoing things.. but i wont, and it helps to live with @krinkels because he is able to talk me out of trying to redo stuff, he knows all too well, games that take a long time to finish.

Yeah, I'm actually a much better programmer now compared with then as well. Not being as frustrated with bugs is a big momentum builder. Let's finish it! :-D

Better late than never!

Hey! I just said that!

Your animations would look SICK interpolated in Dain-App. Have you seen that yet?

https://grisk.itch.io/dain-app

It's cool tech, but I prefer the chunky motion... to me it feels more authentic/nostalgic.

SORRY, LUIS' *

Credit where credit is due!

@Tyler, hey, this instrument looks pretty powerfull! Where did you find it?

@Pecheneg check the #dainapp hashtag on twatter dot com

Hey BoMtoons! I wanted to ask you a question. How would you feel about discovering that you created a fan club to honor your creations and it already has, for example, 5000 participants?

Ps: I really like your creations, you are very talented.

Um... I would be really flattered? Are you referring to something real?

@ABrazillianBoy @BoMToons

no, I am not referring to anything, but I am not saying that there is no fan club of yours, there must be many of these, but I am not part of any of them.

Ha ha, none that I know of. You can join the Super Chibi Knight Discord channel tho!

@ABrazillianBoy @BoMToons @BoMToons

Hah, it would be nice to participate, but I'm not good at speaking English, so I'll stay here in my lonely ball

Looking forward to playing it!

Castle Crashing the Beard Remastered.exe