Monday, June 7, 2010

Selling = Done!

So now you can sell items. And the inventory fixes itself. This is a load off my back because I have been putting it off for too long.



Things to do still:
-equipment
-using items
-changing maps (very easy)
-battles

After doing these things, I'll clean up a little and make the commentary look nicer, THEN a playable demo will be ready! I'm still not sure if I'm going to make a complimentary example adventure to go with it during release, or afterward.

Sunday, June 6, 2010

Selling/ Inventory Conundrum

Working on selling/ removing items from inventory. I have the basic selection part of the code done, but I still don't know how to go about re-ordering the inventory if an item is removed from the middle of the stack.

Here's the dilemma:
Say you have
4 Potions
2 Herbs
1 Sword
1 Shield

And you sell 2 Herbs. With the code I have so far, your inventory would then look like this:
4 Potions

1 Sword
1 Shield

So basically right now, I am brain storming different ways to recompile the list of inventory--hopefully without making the code too complex. I want it to end up as this:
4 Potions
1 Sword
1 Shield


Shouldn't be too hard, but will take a little thinking.

Also, I hope to work out an "organize" feature, that organizes Items you can use outside of battle, Weapons, Key items, and so on. I'm guessing that the key to my first problem will lead me to the solution of this one.

----
EDIT: Actually, while typing this I think I figured something out that will work! The code will basically check if a slot is empty, and then check if the next slot is empty. If the next slot isn't, it will take the values and print them onto the first slot, and then make the next slot empty. The only problem I can see from this is if there is two slots open--the initial check will see the that next slot is empty--BUT I think it will fix itself because the "next" slot will be checking for its next slot, so the item will move from that THEN the first check will move it up again.

YAY! Now, to test it out...

Saturday, June 5, 2010

Test Graphics

I've been playing around with some tile design ideas to use for the example adventure to be included with the Super Immortal Role Playing Engine. I want to capture and early NES feel, and have been trying to stick to the NES resolution restrictions of 256 by 224. The other NES restrictions are a lot more difficult to follow--FIRST OF ALL, there are only 56 colors total, and from those colors, you make a palette. A palette is made of 3 colors plus an alpha channel (for transparency), THEN, you can only have 4 distinct palettes in the background, AND 4 distinct palettes for the sprites, AND THEN, you can only have 1 palette per 2x2 tile. And it only gets more tough from there.

Anyways, here's the tiles I have so far:


And here is a quick mockup of a castle I've been putting together:


Tell me what you think! If there are any tiles I should include that you don't see, let me know. I know that for sure I'm going to add some trees, and maybe like, a waterfall, and those kinds of things. But let me know!

Friday, June 4, 2010

Fun Game Friday - The Adventures of Lolo 3

I have been playing The Adventures of Lolo 3 for the Nintendo Entertainment System lately, and I have to say, it's an addicting little puzzle game. I thought, instead of posting an update on how the project is going, I would post a quick review of the game. This is something that I could do every Friday. We'll call it Fun Game Friday. (its 11:51 pm as I type this, so hopefully I get it posted before Saturday!)

Here is the intro stages to the game:


The Adventures of Lolo is a puzzle series for the NES, and features very simple gameplay. You can move things around, and shoot after you've collected certain hearts. When you get all the hearts, a chest in the room opens. Get the treasure in the chest and move on to the next level. This simple gameplay is deceiving however, because the difficulty of the puzzles progresses so subtly that suddenly you realize that you have no clue how to solve one. Baddies of all sorts try to prevent you from getting the hearts. Like I said before, I've been playing this all week. It's very inspiring, and I hope to include a few ideas from it in future projects. I especially enjoy how the whole atmosphere of the game is very carefree and fantasy. You have to find keys to unlock doors. I definitely recommend at least trying it.

The music is amazing, but unfortunately, I can't record sound yet. Actually, there's something interesting I'd like to say about that. In place of the beautiful in-game music is an unreleased song from Basic Bus Driver (http://myspace.com/basicbusdriver), which is a small indie electronic music outfit, who offers an entire album for free, so definitely check them out, too.

Thursday, June 3, 2010

Buying Stuff

I finally ironed out buying stuff at the shop and adding it to the inventory. Before, it would only tell you if you didn't have enough money to buy something. But now, if you have enough money, it will added it to your inventory and subtract the price from your wallet. This might sound simple, but I was having a brain fart on how to get it to move to the next inventory slot. Anyways, I got it worked out.

Here are the results:


It's my highest task to finish the buying and sell system. I might work on the selling portion later tonight, but for sure tomorrow. Then I can move on to more exciting things, like battles...

Stay tuned!

Wednesday, June 2, 2010

Inn

There is now a working inn. The code here is pretty straightfowards. Basically re-using the store code and the chest code to make it usable for an inn.

Here's what it looks like in action:


Since the engine is getting closer and closer to being openly playable, I was planning on making a short adventure to go along with it, to demonstrate its power.

High priority to do:
-finish stores (selling, and adding to inventory)
-battles
-map changing
-save points
-name entry

Tuesday, June 1, 2010

Battles Battles Battles Battles

I've been putting a lot of thought about how to do the fighting in the Super Immortal Role Playing Engine. Standard turned-based with attacks and MP and items is fine, such as what you would see in the early Final Fantasy games or Dragon Warrior games, but the problem with these systems is that it doesn't allow for very much customization.

There is something I always enjoyed about the Pokemon series. You get to choose what moves to keep when leveling up. It adds a whole strategic element that just simple attacking and using spells doesn't quite achieve. So there's that. I also really like interactive type battles, like you see in most Final Fantasy games. You know, "Don't attack when the tail is up!" type of stuff. So I hope to for sure include those types of things.

So anyways, what I think I'm going to go with is a system where you have a "bank" of moves that you know. These moves are learned by doing various tasks for people, finding certain items, or growing to a certain level. Then, from this bank of known moves, you can choose and equip, or "arm" 3 of them. You then can use those 3 in battle. So when you are preparing for a boss fight, you might want to arm the skill that is more effective against dragons. Or, you might find that your fire-based skill will do nothing to a fire-y demon.

This will hopefully add the most strategic value, plus add more reason to do side quests and the like. Let me know what you think in the comments!