Adventures in Text-mode

Profile
California
My not-so daily posts on my current console project
121 comments
122 entries
Advertisement
Twisol
March 30, 2007
OpenGL and Windows
So, I finally got around to downloading the PSDK, and I grabbed my OpenGL Superbible and did some example stuff, read a bit, etc. Unfortunately, their collision-detection on the square-bouncing-off-window-walls example was off (strangely), and the square bounces windowHeight+squareSize too high, an…
266 views
Twisol
February 21, 2007
Harbinger
Sorry for the lack of updates, I've been doing stuff in Real Life(TM).

I decided to dump the Harbinger code base and start fresh. I think it's going a lot better, especially after reviewing some topics like operator overloading (specifically nonmembers, and operator<<) and abstract classes. Ya…
207 views
Twisol
December 22, 2006
Harbinger
So far so good, P16 got the scripting engine going, and I'm working on a TinyXML file parser. Just dropping in for an update.
243 views
Twisol
December 20, 2006
The Cow jumped over the Moon
About the title: My math teacher was discussing the origins of the name Lua (Portuguese for Moon), and since Lua is Luna minus the N, he said "Well, Moon minus the N is Moo."

Anyways, with Programmer16's help, I found a tutorial that's up to date with Lua 5.1, so YAY, I've got Lua working. Now I've …
215 views
Twisol
December 19, 2006
Lua 5.1.1
Well, Scavenger (on IRC) may/may not be joining Project Harbinger part-time, sinec Programmer16 wants to devote a little more time to Ascension. Meanwhile, I've found a new hobby, which might (read: WILL) make people think I'm crazy, or a loon. Check it out, though, it does make some sense.

On the s…
311 views
Twisol
December 14, 2006
Project Harbinger
Me and Programmer16 are working on a text adventure together (codename Project Harbinger), and it's very much like WinMUD, except P16 and I made a design doc for it, and we're using XML for the item, room, and monster files. Gotta get to figuring out TinyXML; I tried it once and got confused.
260 views
Twisol
December 12, 2006
WinMUD, SVN, and XP, oh my!
Technically WinMUD is not a MUD, but its the name I gave it when I started, so I'm sticking with it.

Anyways, I've decided to change my to-do list to reflect changed to WinMUD instead of Arenamatic, since the only part of Arenamatic I was really looking forward to (and pleased with) was cConsole. Ta…
314 views
Twisol
December 06, 2006
Overdue Update
Holy geez! It took me HOURS last night to debug cConsole after installing the Platform SDK for VC++ EE. I had to mess with casting LPCSTRs and wchar_t's, and I'm still not sure if it's not working properly.

Lately I've been working on a sort of "text adventure", like a MUD, but one player. I have th…
254 views
Twisol
October 19, 2006
cConsole
I've mostly been working on trimming down cConsole, but a new addition to the list of functions is setBG(char color);, which allows you to set an overall background color. Basically, you call setBG before you do anything (unless you want a black BG) and you start with a background of that color. Th…
320 views
Twisol
October 17, 2006
MSDN
I've been mucking through the MSDN today, and I found a couple useful console-related functions I could use, particularly SetConsoleTextAttribute(). Not too big of a change, but it does allow for setting a "default" color. cConsole::output() now only requires the string to be passed. I'm changing t…
246 views
Twisol
October 16, 2006
title*
Yeah, I haven't posted in a while. I have a good reason, though! I got selected for the World of Warcraft expansion beta for Burning Crusade. [cool]

In Arenamatic news, the shop's done and working, but I had the idea of adding my scrolling list feature to the actual console class so it can be reused…
226 views
Twisol
October 04, 2006
Ugh

Ugh

After a couple MASSIVE headaches on the issue, I finally managed to templatize the store. I'll just have to add some way of adding items in, probably with file I/O. Then I can test the store again... and finally upload a new version of the Arenamatic. Thanks to jpetrie on #gamedev for helping me ou…
257 views
Twisol
October 03, 2006
Pokemon: Mystery Dungeon
A lot of people will hate me for this, but I bought Pokemon Mystery Dungeon: Blue Rescue Team yesterday. It's actually pretty fun, but the menu controls take a while to get used to. Storyline's pretty good, music's okay but still enjoyable. The dungeons themselves STRONGLY remind me of Lufia: The L…
274 views
Twisol
October 02, 2006
Templates
Writing from another computer, so I can't get my code right now.

I'm experimenting with templates and overloading the () operator (function objects) so I can simplyfy my store component. Right now I have rwo store functions, each doing the same thing, other than the type of item they're handling. Th…
222 views
Twisol
October 02, 2006
Store
Store's done, I added functionality for buying stuff, and you can't buy anything if you don't have enough gold for it, or you already have it equipped. Of course, it's only now that I realize I forgot to actually set the item they bought as the equipped item.. and I need to make a better weapon/arm…
238 views
Twisol
October 01, 2006
W00T
I've finished the shop interface (other than the actual buying stuff), and it's really awesome, in my [very humble] opinion. I've uploaded the code + exe, and you can get it from the link below my to-do list (which I've also updated). Please take a look, and let me know what you think!

Comments on c…
290 views
Twisol
September 30, 2006
Good news, bad news
Good news: I have the store nearly implemented. I added a cool "scroll" feature, where if you have, say, this...

Quote:
1. item 1
2. item 2
3. item 3


...then tapping a button 'scrolls' it to...

Quote:
2. item 2
3. item 3
4. item 4


Bad news is now redundant, as P16 solved the bug. My console.output() function…
259 views
Twisol
September 29, 2006
Hmm

Hmm

I've been trying to post 1-2 times here, once early and once late, so here's my late post. [grin]

Today I took to the task of splitting my .h files, which had class declarations AND definitions, into .h's with declarations and .cpp's with definitions. Took me a LONG while to actually figure out how …
237 views
Twisol
September 29, 2006
Tough
Project 2 of the C++ workshop was unveiled.. I'm going to have to work hard to get that done. It really looks tough.. meaning, I've never done something as big as that before. Big being relative to what I have done before.

On other news, I've uploaded the [at the time] current versions of cConsole, …
277 views
Twisol
September 28, 2006
Updates
First of all, thanks to Programmer16 for his suggestion that I let getKey() take the keys as a parameter instead of just reading the string off of cConsole. I might as well get rid of the 'keys' string now since it's redundant. Thanks P16!

The character creation stuff is nearly done, just have to ad…
275 views
Twisol
September 27, 2006
Wow, this is fun
I made a sort of cin-esque function, except it's specifically for console-buffer type applications like mine. I'm using it in the actual project to have the player input a character name. The kewl thing about it is, not only can you set what keys you want to use (as usual), you can also set precise…
354 views
Twisol
September 26, 2006
O_O

O_O

I've, like, neglected this thing. Not to mention GDNet+ expired on me. I've moved on from my Arena Battle project.. in retrospect, it was getting kind of convoluted. I'm now working on something totally new for me... Project 1 in the C++ Workshop!

No, seriously, it's new! You have to color the outpu…
373 views
Twisol
July 06, 2006
It's alive!!!
Ehm.. heylo again. Been a while. >_>

Life's been busy, and I havent had time to code or post on here in a while. I'll try to stamp out my Pikmin (1 & 2) addiction. :p

Just wanted to let everyone know that I have NOT been (a) destroyed by a black hole, (b) eaten by a giant spider, or (c) got…
269 views
Twisol
May 09, 2006
Italy
The flight to Italy was so, so, so tiring and boring. I'm lucky that I can even post this from here, since this hotel's internet access costs $15 for an hour, and my father had to get on and let me have the last 30 minutes.

When we got off the plane, ARGH, I felt like i was braindead. Then we had to…
303 views
Twisol
May 07, 2006
Gone for a week
I'm headed to Italy in about 8 hours, so I likely won't be posting for the week I'm staying there. Adios!

Uh, no, wait, that's Spanish... hmm...
288 views
Twisol
May 05, 2006
TinyXML
Well, Deranged has pointed me to TinyXML, so I might just scrap the current file parser I'm working on. It depends on if I can use TinyXML to fill instances of class "item" with the information parsed from an XML file. Could anyone reading this comment and let me know if it's possible and a good id…
364 views
Twisol
May 05, 2006
Item loader
Well, so far so good. I've managed to make it "see" the 's' in the first line of the file, and then act to take in the number just after it. The code I have so far is below; still has mainly debugging cout statements, but at least I'm gettimg somewhere.


void LoadGame() // Still implementing
278 views
Twisol
May 04, 2006
Designing trouble
Well.. I've hit a wall in my coding. I need some easy-to-use way of maintaining player item inventory, equipment, and store lists (rather, maps), but I don't want the user to have to create and maintain three separate files. I'm thinking of having one master file with all the information about an i…
257 views
Twisol
May 02, 2006
Arena Battle update
I've tossed out the name "AreBat". Sounds too freaky.

Today I managed to solve my runtime problems (one that sticks out in my mind is accidentally passing a map iterator->second instead of ->first), and the shop has been bumped up to green! (I save light green for polishing and otherwise impro…
223 views
Twisol
May 01, 2006
Today's AreBat update
AreBat is pronounced ah-REE-bat, and stands for Arena Battle. :P

Well, today I chatted on IRC way too much. I did take out a useless string (and its functions) in the cArena class, though, as well as change the way I utilize my modes in the actual program. I'm making sure my store class works the wa…
299 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
9 Followers
15 Entries
10 Followers
johnhattan
Programmer
1,277 Entries
47 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement