Making progress!
Last night, I've finished the last robo-ninja room before the "flying up high to find Dr Squidbrain" sequence (which is a room or two, then the big boss fight). It's so great to be close to being finished, although the boss fight is going to take a lot of work, a lot of code, and a lot of scrounging trying to find appropriate graphics!
I haven't been doing quite as much with Atari Anguna. (the great thing about having 2 simultaneous hobby projects is that when I get bored of one, I can get excited about the other!) A couple weeks ago I got it to the point where if you killed all the enemies in the right room, a key would appear. You could pick it up, take it to the matching locked door in the a different room, and open the door with it. It's almost like a real game at this point!
But like a said in a previous post, I did the math and realized I'm running out of code space in my primary rom bank. I considered moving a block of code to the 2nd bank (where the kernel and graphics live), but even if I do that, I'm still going to have to sacrifice a number of things I wanted to include (fewer room layouts, fewer enemy types, fewer rooms overall). The other option is a bigger rom, and a different bankswitching scheme!
The folks on the dev forums of AtariAge make a big deal about how the purists pack their games into a single 4K bank. Well, I'm no purist. I'm already using 4K, I have 4K left, and I'd like a little more wiggle room. So I did some research, and there were some good schemes I could use. There were a few weird games back in the day that used a particular 12K scheme, but that one also included extra RAM on the cartridge, which somehow feels like cheating to me. I don't mind using a scheme with a ton of ROM so I can include more content, but one of the fun challenges of this whole thing is working with the limited RAM. So that 12K scheme was out. There's a simple 16k scheme that Atari supposedly used in some of its 1st party games (although I couldn't any mention of what games actually used it), which works exactly like my 8K scheme, only with 2 more banks. So that's what I'm tentatively going to go with.
This week, the plan to make it easier to transition, was first to rearrange all my code. I've been mixing my code between actual subroutines (called with jsr/rts, the native 6502 opcodes for calling and returning from subroutines) and just macros (for most "functions" that I'm only going to call once, so I don't have the 12-cycle overhead of the jsr and rts.) This ended up being a big mess, as it's difficult to tell where in my rom the macro code actually ends up. So I yanked all the macros out of the files where they lived into separate files, so I can move the subroutines around between banks without worrying about where the macros get called from.
Next I need to figure out where all I have references to the room data. If I move the room data to a new bank, all the code that reads that data has to be in that bank as well. It's almost like I have some actual encapsulation and data hiding!
I started by blogging the process of porting my homebrew game Anguna from the Gameboy Advance to the Nintendo DS. Now, my random thoughts on development and chronicling whatever hobby project catches my fancy.
Saturday, March 7, 2015
Sunday, March 1, 2015
Alternate Dimension
With Chris's new graphics, Robo-Ninja is looking better than ever. And with this fun new alternate dimension, I'm finally back on a roll making new levels. The crazy speed-up mechanic is making it a lot of fun. Instead of trying to create weird convoluted challenges for new maps, I'm just making big long rooms with very simple layouts of spikes to jump over. If the game was played at a normal pace, these levels would be, as my kids like to say, "easy-peasy-lemon-squeezy." But at crazy insane speed, it's hard and loads of fun (at least, for a crazy person like me).
Only about 5 more rooms to go, and I'm done making maps! Of course, then I'll have to spend a good bit of time and code on the boss fight, ending story, credits, and a myriad of other things I've been putting off (a proper options screen, etc)
Only about 5 more rooms to go, and I'm done making maps! Of course, then I'll have to spend a good bit of time and code on the boss fight, ending story, credits, and a myriad of other things I've been putting off (a proper options screen, etc)
The end is in sight!
Saturday, February 28, 2015
Robo-Ninja gets a makeover
Thanks to Chris Hildenbrand, who made the amazing artwork for Anguna, Robo-Ninja is getting a makeover! Here's his new look:
Here's a video clip of just a few of his new animations, which I'm still tweaking to get the timings/transitions looking correct.
Here's a video clip of just a few of his new animations, which I'm still tweaking to get the timings/transitions looking correct.
Thanks, Chris!
Monday, February 23, 2015
Trippy video
That picture yesterday didn't capture how weird this is. So I decided to post a video tonight....
I'm currently working on using that funky weirdness in the background of the new dimension, to make it look nice and weird. Which means I still have to come up with a slightly different interesting transition to the area.
Sunday, February 22, 2015
Shaders (getting trippy here)
So for this next area of Robo-Ninja, I've been trying to figure out how to do some crazy wavy-screen effect as Robo-Ninja teleports into the new dimension. Suddenly, my lack of knowledge about modern computer graphics really shows up. The Gameboy Advance and DS used their own proprietary 2d graphics systems, and so far I've just been using some high-level 2d libraries in libGdx, that protect me from having to learn much about the actual openGL stuff that's actually going on.
But to do this crazy effect, it looks like I'm going to have to use shaders. So I'm going to have to learn a little bit. Thanks to some nice folks on the libGdx IRC channel, I found a page with some nice example code of something vaguely like what I'm trying to do. Playing around with that example code, I've turned Robo-Ninja into a serious trip-fest:
But to do this crazy effect, it looks like I'm going to have to use shaders. So I'm going to have to learn a little bit. Thanks to some nice folks on the libGdx IRC channel, I found a page with some nice example code of something vaguely like what I'm trying to do. Playing around with that example code, I've turned Robo-Ninja into a serious trip-fest:
So...that's weird. Not exactly what I'm going for, but I think I can use that to get pointed in the right direction of what I want for the transition. The real question at this point is, how much time do I spend really learning this stuff properly (the syntax of the shader language isn't complicated, but to really understand it, I need to have a much better understanding of 3d graphics than I do, which could take quite a bit of time and work to really get there), vs just barely understanding it enough to achieve the effects I'm looking for (which is pretty likely in this case, since it's just for this one visual transition, and not crucial to the game itself). We'll see what happens....
Friday, February 20, 2015
Final Robo-Ninja tileset
I'm finally sitting down and building the file world graphics tileset for Robo-Ninja. The end is in sight! I'm using this simple tileset from OpenGameArt. For each tileset, I usually have to spend some time massaging it to get it to work. I need my graphics to be in 16x16 tiles. But, like this tileset, often the source material isn't on any sort of grid, so I have to do some work to shove it into a grid. Then, to prevent any blurring of neighboring tiles during any possible scaling, I run it through a gimp script that converts it into 18x18 tiles, where each tile has a duplicated edge on each outside border. So any neighboring pixels for scaling are just the same as the original pixel.
Then I have to import it into my tile editor (Tiled), and then set up map properties (such as which tiles are spikes, etc), pick out a backdrop image for the tileset, and THEN can finally start making maps with it.
With this new world area, I decided I needed something different than normal, though. I've nearly exhausted all the ideas I have for obstacles and tricky jumps in the standard Robo-Ninja mechanics. So I decided that for this area, Robo-Ninja will have entered a strange alternate dimension. A dimension where time doesn't flow normally. In fact, time speeds up the longer you stay alive in it. So the challenge of these next rooms is going to be that the game is going to start playing faster and faster as you progress.
Should be interesting.....
Then I have to import it into my tile editor (Tiled), and then set up map properties (such as which tiles are spikes, etc), pick out a backdrop image for the tileset, and THEN can finally start making maps with it.
With this new world area, I decided I needed something different than normal, though. I've nearly exhausted all the ideas I have for obstacles and tricky jumps in the standard Robo-Ninja mechanics. So I decided that for this area, Robo-Ninja will have entered a strange alternate dimension. A dimension where time doesn't flow normally. In fact, time speeds up the longer you stay alive in it. So the challenge of these next rooms is going to be that the game is going to start playing faster and faster as you progress.
Should be interesting.....
Jeopardy
For an upcoming church business meeting, we decided on playing a game of Jeopardy. Now at our church business meetings, we have a history of going all-out with some sort of gameshow-type theme. Last year we played Hollywood Squares, with a complete giant 3-story box to make it work:
So for this years' Jeopardy game, I knew we couldn't do it half-heartedly. I spent awhile searching for good Jeopardy Board-making tools online, but I didn't really like any of them. And what we REALLY wanted to do was also build a podium with score screens for each player, with their name and score, like the real game.
So I decided to write some code to slap it all together and make it happen. The main board is just a single-page html/javascript page, with some json data for the questions and answers. Then I set up another page (to be operated by someone backstage) with buttons for modifying the player scores. Then another page (one for each player) that just shows their name and score, and refreshes itself every second, to stay in sync with the scorekeeping tool:
So for this years' Jeopardy game, I knew we couldn't do it half-heartedly. I spent awhile searching for good Jeopardy Board-making tools online, but I didn't really like any of them. And what we REALLY wanted to do was also build a podium with score screens for each player, with their name and score, like the real game.
So I decided to write some code to slap it all together and make it happen. The main board is just a single-page html/javascript page, with some json data for the questions and answers. Then I set up another page (to be operated by someone backstage) with buttons for modifying the player scores. Then another page (one for each player) that just shows their name and score, and refreshes itself every second, to stay in sync with the scorekeeping tool:
If you are interested in using this, you can grab the source from my bitbucket repo: https://bitbucket.org/gauauu/jeopardy
At this point, I haven't made it very generic or user-friendly. Use it at your own peril.
Subscribe to:
Posts (Atom)
NES Anguna
Well, I had a little bit of time still, while Frankengraphics is finishing up her game Project Blue, to have a little downtime on Halcyon, s...
-
So I've recently purchased DosBox Turbo , the best (as far as I can find) implementation of DosBox for Android, and have been playing th...
-
When I'm too tired/frustrated to work on my NES game, I've been playing around with ideas for another hobby project that I've he...
-
The real trick for Spacey McRacey (as I'm calling it now) is going to be making it fun. And that's what I'm rather unsure about...







