|
Title: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on February 18, 2012, 07:32:13 PM Title: TBA
Release Date: TBA Programming: Overkill (http://forums.tigsource.com/index.php?action=profile;u=1899) Design: Kramlack (http://forums.tigsource.com/index.php?action=profile;u=44865) Platform: GameBoy Color So Overkill and I have been working on a currently unnamed Dragon Quest-like dungeon crawler on the GameBoy Color. This project started out last year as a sidescroller, but quickly shifted over to an rpg a month or two later. The goal of this project is to try some funky tricks on the hardware while just making a fun, old school RPG. Hopefully this DevLog will serve to chart our progress and changes. Saturday, February 18, 2012 We have screen scrolling, text boxes appearing on screen, and a makeshift menu that doesn't fully work (but looks like it does)! The assets used in the images below are about a month old now, and most have been updated since then, but not yet put into the game. Some images showing what we have working. (http://neuropod.net/imagehost/uploads/377124e107c6a1487ce39d82d1f688c3.png) Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: superflat on February 18, 2012, 07:35:45 PM Love it man.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Hangedman on February 18, 2012, 07:59:44 PM Very neat stuff.
I'd love to hear more about the programming end, i'm very curious about the whole structure behind it, how deep you have to go. Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: jmac on February 18, 2012, 08:18:43 PM Very cool, has always been a dream of mine.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: baconman on February 18, 2012, 10:36:25 PM Sweet. I too, would like to hear how much of a similarity/difference there is between making PC-related and Nintendo-related software; as well as what design plans you have for this bundle of joy...
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on February 18, 2012, 11:15:28 PM Maybe overkill can do a post-mortem after we finish the game, just sort of shedding some light on how this was done. Short of that, if you want to PM me, I know a bit about the programming side, and just about everything regarding the restrictions.
EDIT: Here's a bit from Overkill when I talked to him about doing a post-mortem. Quote A lot of the stupid shit to do with the gameboy is not having enough memory, or not being able to multiply shit efficiently. Or their weird, weird, weird hardware registers. Not having multiplication, the bane of my existence. You can make a thing that can times two numbers by hand, but it'll be slow as hell. Thankfully the RPG can do this for damage calculations, but things that draw, or figure out where to put things in the memory, need stupid limitations so things are fast. And yeah this is brainmelting basically because there are so many things that are possible in high-level programming languages that can't be done easily in assembly. At least old assembly. But yeah, simple things like textboxes and cameras and stuff take very little time in a language like C, and like ridiculously fast to write in Python/Lua/JS or something, but you can't really realistically use that on the Gameboy. Tasks that would take me a day tops are taking me MONTHS ;_; Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: baconman on February 19, 2012, 12:05:43 AM YIKES. So it's harder than TI-84, basically, and that everything has to be measured arithmatically, instead of geometrically? Even in 2D, that's a tremendous pain in the tookus. I couldn't imagine! ~.~
And yet now, that obscure leveling system that GB RPG's used and alternative physics engines that their platformers use makes total sense. There's a good reason why SML2 feels floaty and vertically steady compared with other titles... Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Ashkin on February 19, 2012, 01:44:51 AM Man, FINALLY.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Franklins Ghost on February 19, 2012, 04:10:10 AM Liking the sound of this, interested to see how the process goes :)
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Birdorf on February 19, 2012, 05:11:16 AM The tech side sounds fascinating/annoying. Looking forward to your updades.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Manuel Magalhães on February 19, 2012, 05:21:13 AM Wow, the screensshots look really nice. Looking forward to this. :)
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on February 19, 2012, 02:57:15 PM @baconman: Glad that little bit of info was able to help you understand a few things.
@everyone: Here's an update. Or, wait a minute... (http://neuropod.net/imagehost/uploads/6ce54f95d5fac1c91c5d3a4eed924d45.png) ??? Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: CK on February 19, 2012, 03:07:54 PM All of my love.
(http://i.imgur.com/he7Vp.png) Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: rdein on February 19, 2012, 03:08:10 PM release date: 2105, after kramlack rage-quitted approximately 58 times and nagged eternally
~ obligatory ass post thanks for cloning final fantasy ~ Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Udderdude on February 19, 2012, 03:09:49 PM Pretty impressive coding for that system. It's not an easy one to deal with by any measure .. good luck with it.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on February 19, 2012, 03:25:06 PM release date: 2105, after kramlack rage-quitted approximately 58 times and nagged eternally ~ obligatory ass post thanks for cloning final fantasy ~ I can't really argue with anything here because it's all true. Thanks Ein. Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: CorazonAzul on February 20, 2012, 01:07:30 PM Nice. Now visit my fake-ass Gameboy RPG devlog and tell me how many rules I'm breaking :lol:
Keep the updates coming Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: dafthero on February 20, 2012, 02:22:26 PM Hardcore! Looks really solid so far. Keep up the good work.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Overkill on February 21, 2012, 10:37:22 PM After some pain... Progress!
While most of the data here is cheesed placeholders, the timer pictured here is updated roughly once every minute. Here is the storage definition used for the timer, nothing fancy, just a few byte variables in the BSS section: Code: ; Timer system timer_steps DS 1 timer_seconds DS 1 timer_minutes DS 1 timer_hours DS 1 It counts the number of vblank interrupts in a "step counter". When that hits 60, the second counter is incremented. When that hits 60, the minute counter is incremented. When that hits 60, the hour counter is incremented. If you hit 99 hours, none of that happens, the timer just stops. Code: draw: ... ; If we somehow hit 99 hours, don't update the timer. ld a, [timer_hours] cp a, 99 jr z, .done_timer_increment ; Advance the timer. ld hl, timer_steps ld a, [hl] inc a ld [hl], a cp 60 jr nz, .done_timer_increment ; Reset steps. xor a, a ; Seconds. ld [hl+], a ld a, [hl] inc a ld [hl], a cp 60 jr nz, .done_timer_increment ; Reset seconds. xor a, a ; Minutes. ld [hl+], a ld a, [hl] inc a ld [hl], a cp 60 jr nz, .done_timer_increment ; Reset minutes. xor a, a ; Hours. ld [hl+], a ld a, [hl] inc a ld [hl], a .done_timer_increment: ... Oh, also, what you see on the menu screenshot near the top of the screen is a crazy round trip to draw the updated timer numbers. First, in the main loop, it converts the minutes and hours into BCD (binary coded decimal (http://en.wikipedia.org/wiki/Binary-coded_decimal)) formats. Then it prints those numbers as tiles to a null-terminated temporary buffer, which gets transformed into unrolled loop code in system RAM that copies those tiles. Then during vblank, that unrolled loop is called to actually draw those numbers to the screen. Here is some print-loop-unroll code, for those interested: Code: textbox_unroll_string: ; Dirty: all registers ; Arguments: ; hl = pointer to code buffer. ; bc = buffered characters. ; de = eventual destination. ; Save start of line. push de ; Switch active GBC bank to tiles. ; buffer << `ld a, n` ld a, $3E ld [hl+], a ld a, 0 ld [hl+], a ; buffer << `ld [$FFnn], a` ld a, $E0 ld [hl+], a ld a, gbc_vram_bank & $FF ld [hl+], a .loop: ; First, check the character to be copied. ld a, [bc] or a, a jr z, .done ; break if [src] == 0 cp a, $01 jr nz, .skip ; if newline, move to start of the line, one line down ; src++ inc bc ; dest += 64 pop de ld a, e add a, 64 ld e, a ld a, d adc a, 0 ld d, a push de jr .loop ; end .skip: ; Character copy. ; buffer << `ld a, n` ld a, $3E ld [hl+], a ld a, [bc] ld [hl+], a ; buffer << `ld [nn], a` ld a, $EA ld [hl+], a ld a, e ld [hl+], a ld a, d ld [hl+], a ; src++ inc bc ; dest++ inc de jr .loop .done: ; Pop off saved line position to restore stack. pop de ret Now I realistically can work on useful programming things, like the other menus, and making the stat screen no longer hardcoded. Cool. Also hard to tell from here, but you can move the cursor around, and the description text for the menu item selected will update by buffering strings in a similar unrolled-for-vblank manner. I'm considering doing the inventory menu next! Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: King Tetiro on February 21, 2012, 11:39:31 PM Wow I can see why Kramlack was so critical on my 8-Bit style. This is impressive man! :D Well done man :)
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Udderdude on February 22, 2012, 04:45:31 AM Ah, good ol' ASM, how I don't miss you at all .. >_>
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Manuel Magalhães on February 22, 2012, 04:52:07 AM This game reminds me why I like when developers make a game in the end of a console's lifespan: the hardware is so well known that it's possible to do games that pushes the system to the limit. Judging by that awesome gradient you guys are doing it. :)
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: CK on February 26, 2012, 04:10:41 AM (http://i.imgur.com/puNCw.gif)
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 25, 2012, 11:05:50 AM Woah! Slow down! There's no update here.
I'm just swinging by to say this is alive and kicking, and that Overkill is currently making some tools to manage the code better. A small somewhat-update is that I've decided to add a room where you meet my current avatar. I haven't heard back from Overkill about this, so there's a chance it could get blasted out of existence. If it works out though, no details on whether it'll be a hidden room or part of the story, or even a button based code to get to, but. I'll leave an image of my avatar here for when I decide to change it again. (http://neuropod.net/imagehost/uploads/32492ef95c2b9ceb889caceeb6f7cd47.gif) "Mortal, you dare to enter my tower of cardboard boxes?" - FaceBoks, Lord of the Bokses EDIT: Thanks for the heads up on that Connor and Andy. Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: rdein on March 25, 2012, 11:25:44 AM thank you,
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Enker on March 25, 2012, 11:27:42 AM This project looks AMAZING and totally addictive! Please tell me that it's going strong?
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 25, 2012, 11:35:06 AM @Ein: You're welcome.
@Enker: It's hard to say it's going strong. I mean, neither of us are near the breaking point of quitting, but as Overkill mentioned before, simple tasks that would take a day or two with other forms of code are now taking months with the GameBoy hardware, so this will be a long project. I'd like to say FEZ long, but then I want to cry. Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: CK on March 25, 2012, 01:01:21 PM "Boxes"
Did you mean "bokses" or "boks"? Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Andy Wolff on March 25, 2012, 01:03:35 PM Kramlack Boklord, lord of the boks
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: BlueSweatshirt on March 25, 2012, 01:47:39 PM Bokchoylord
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 25, 2012, 06:26:06 PM Oh shi-
(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif) (http://www.youtube.com/watch?v=oVTlNkAxlYU) Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: rdein on March 25, 2012, 07:00:02 PM let me guess: boktai
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 25, 2012, 07:11:21 PM What? This has nothing to do with Boktai...
EDIT: Oh wait, the sunlight right? Not really. It was originally just from looking at caves in SNES games that had light pouring in, but yeah, I guess it looks more like Boktai with the flickering going on. EDIT2: I need to be quicker on picking this stuff up. Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: rdein on March 25, 2012, 07:11:58 PM let me guess: sunlight
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Franklins Ghost on March 25, 2012, 07:19:01 PM Those colours are great.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Ashkin on March 25, 2012, 07:33:02 PM I expect credit and 25% royalties for the inspiration.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 25, 2012, 07:38:01 PM What royalties, no one told me about royalties. I'm selling carts at a loss Ashkin, so you better be ready to pay me!
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: CorazonAzul on March 25, 2012, 08:14:56 PM Thanks for the update. I guess it looks like a box with a face? The closest thing that comes to mind are those "mimic" treasure chests, except this one looks like it's not going to attack you
Good luck on the code Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Alex Norton on March 25, 2012, 08:27:47 PM LOVING THIS
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: CK on March 27, 2012, 10:56:35 AM (http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)(http://neuropod.net/imagehost/uploads/cf0269b61dc20ee31bf0f6d266e60fc6.gif)
Daaaaamn, girrrrrl. :-* Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 28, 2012, 03:03:21 PM (http://neuropod.net/imagehost/uploads/4d12611885e5bc95755fe70c2ac545be.png)
(http://neuropod.net/imagehost/uploads/1ed6f0a14cbd5431093c0b90071da9d4.png) EDIT: Added another one based off something Overkill mentioned to me earlier. Two now becomes three boxes. Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: rdein on March 28, 2012, 03:11:15 PM any is fine as long the content in them is beautiful... stop looking at the appearance of things and look at their messages!
also, one of your gameboys has a darker black at the bottom..? why Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 28, 2012, 03:15:38 PM Do you mean the one Overkill put up (the lighter one)? That's the one as it is in-game, I believe with a filter to desaturate the colours (as they'd look on a GameBoy Colour screen). The ones I'm posting are from my own set of mock colours and what not. Long story short, nothing is final, colour-wise.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: rdein on March 28, 2012, 03:25:59 PM GEEZ MAN
(http://puu.sh/mR1Y) ps it isn't black so i'm GEEZ MAN'd too Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 28, 2012, 03:28:14 PM Did you really need to post about that in this thread? Also I have no idea, it was originally two colours, but then I figured it would be impossible to notice and changed it to all black, so I guess I only changed one instead of all of them.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: rdein on March 28, 2012, 03:29:06 PM is my derailing hurting your delicate, canadian heart
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 28, 2012, 03:32:34 PM Considering you just page'd my question about the game, yes.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: DavidCaruso on March 28, 2012, 03:40:24 PM Would it be possible to combine the middle box shape with the down arrow thing inside the box like in the bottom one (maybe have it move a little up and down if you can spare a sprite?) That'd be the one that looks best to me. Failing that, just go with the middle one.
Game looks great, by the way. Been following this thread for a bit but never really posted, I'm looking forward to this. Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 28, 2012, 03:48:16 PM Yes, any of the options can be combined, and yes to the little arrow inside the box being a sprite actually. My only concern (that I brought up when Overkill suggested it) is that it takes the place of a character, which is spared if we use either of the other arrows.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Veo on March 28, 2012, 03:58:39 PM I like the second one the best.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: stef1a on March 28, 2012, 05:02:29 PM I love the graphics. And the tininess.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Franklins Ghost on March 28, 2012, 06:07:12 PM I'm liking the middle one.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Ashkin on March 28, 2012, 07:35:16 PM Middle one, with the arrow like in the first. Definitely have it bob or something to draw attention.
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on March 31, 2012, 05:43:38 PM Just stopped by to let everyone know that Overkill broke a bone in his arm/wrist. So he's got that in a cast for 6-12 weeks. He's still able to type, but...
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Cow on March 31, 2012, 05:55:23 PM sup
Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Overkill on April 05, 2012, 10:31:59 PM Yeah I broke my scaphoid bone pretty bad. I can still type, but everything else has basically been fucked for left hand/arm. I'm hoping to still make progress on this though, but it's gonna go slow.
I've survived one week! I get the see the doctor on April 23, hopefully I can get this cast removed at that point, and get back to my typical life. Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Ashkin on April 05, 2012, 10:33:43 PM hey
hey kramlack unblock me on msn ;o Title: Re: Dungeon Crawler (GameBoy Color homebrew) Post by: Kramlack on April 17, 2012, 03:37:31 PM Figured I'd update this while I'm back. This game is dead, in relation to me leaving a week ago, but Overkill and I are still working on a GBC homebrew. Stay tuned?
|