This is my contest entry for the 2012 Apocalypse Contest over on Omnimaga. I haven't made a BASIC RPG in almost five years, but I finally worked up the motivation to go back to one of my oldest projects with a simple name— Battle. The 4000 simply indicates the version (Version 4, revision «blah»). This game isn't completely written in BASIC since there are five assembly programs that I am using:
-Shift a portion of the screen up 6 pixels
-Shift a portion of the screen down 6 pixels
-Draw the map
-Draw the "tiles"
-LblRW for reading and editing lines in the program.
The first two are simple opcodes, the next two are slightly more advanced (but are still simple and small. The first draws a list of rectangles, the second draws a series of points). The last one is more complicated, but by far the most useful tool. It has sped up my program, removed a bazillion If statements that I had in the battle engine and it removed the need to store a 350 byte list and string for the Item menu.
Anyways, what do I have done so far?
- You can walk around on the map (you are a 3x3 Pt-On( block)
- You can buy and sell items
- There are a little over 30 items programmed in
- The battle engine is in working condition, though it isn't finished. I use a completely BASIC routine for drawign the monster sprites and healthbar.
- You can level up, gain experience, get money, and occasionally get items when you defeat a monster (for example, you might get a Sweet Fruit or Heal Herb from defeating a Florita, or some kind of Ore from defeating a Dwarf).
- There are 19 monsters completed, though you can normally only face 16 of them (the last three are bosses)
And then there other features that I probably forgot to mention. What I plan to add before the contest deadline (the end of the world :P) is:
- A customisable player sprite (I will probably add this in today)
- A blacksmith/weaponsmith to create items such as weapons and armor (I have 32 such items planned, but I will need to make a menu for this as well)
- Add in three more options in the battle menu for using an equipped weapon, using a spell, or fleeing a battle.
- Add in spells :P
- Create an apocalypse themed storyline
- Write a small assembly program to convert a list or number to a string, so I can store the save file inside the program, using LblRW.
- Modify LblRW to read multiple "lines" that way I can keep the whole save file inside the program (instead of using a 1112 byte custom list, this will be around 300 bytes on average in the program).
After the competition, I might include more assembly to speed up other sections, such as sprite drawing. Anyway, I cannot release downloads or source until after the competition (though I am sure releasing routines isn't a problem). I can, however, release screenies :3
Note that I did spell preferences incorrectly >.>
47%? Take a look and try to imagine how cool 100% will be. This has won zContest 2011 and made news on TICalc. This compromise between Assembly and BASIC parses like BASIC and is fast like assembly. Grammer 2