🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Adventures in Text-mode

Profile
California
My not-so daily posts on my current console project
121 comments
122 entries
Advertisement
Twisol
June 22, 2008
Cripes Update
I've made some pretty good progress! I fixed some problems (and overcompensations) in GameView's Hook/UnhookEntity functions, and got rid of the iterator contained in entity. Now you just pass the address of the entity to UnhookEntity. Does the same job, and is a lot cleaner.

Also, up to this point …
267 views
Twisol
June 19, 2008
Username Change
So, for those of you wondering who in the world Twisol is and why his journal is on your bookmarks - nevermind that linkofazeroth's journal is gone, it was never very interesting - I had a namechange from linkofazeroth to Twisol. Feel free to ask why, you know, anything to get a few comments around…
490 views
Twisol
June 16, 2008
GameView
I haven't changed anything on the front-end yet, everything has been structural. In the GameView, I'm adding HookEntity and UnhookEntity functions, to pass the GameView an entity pointer. The entity itself is still maintained by the user, just like with the HUD.

There's a couple differences between …
303 views
Twisol
June 13, 2008
Movement
I've finally figured out movement, heh. Where before I was catching the player input, but not moving the player until the end of the frame, I'm moving the player immediately and waiting a set amount of time until the player can move again. This helps so much, especially as now I can get rid of my p…
284 views
Twisol
June 06, 2008
Movement
I got the movement thing to work properly, at least in terms of stopping where I want to be stopped. Now I have to get diagonal movement in, and I'll leave it alone unless I really need to do something with it.

In terms of the gameview, I'm not sure how I'm going to have the map loaded in. I tried t…
274 views
Twisol
June 05, 2008
Cripes! update: movement and the gameview
So far so good, I guess. I've got a skeleton GameView class, although at the moment all it does is store a buffer in memory, store the size of the buffer, and store the size of the viewing window (that is, how much of the buffer will be seen on-screen).

On the subject of movement, I've taken the eas…
227 views
Twisol
June 01, 2008
About Me
I made a post recently on an announcement topic in the forums called "Hey there! What's your story?", and I realized that the only About Me post I have in this journal was from when I first started it. Things have probably changed a little since a few years ago. :P


Quote:
Jonathan, age 15, codes in …
281 views
Twisol
May 31, 2008
Playing view
Cripes! - The Snipes Clone
So today I really didn't do much with the code itself. I did tweak my HUD implementation though, and I've begun work on keypress handling. Right now I'm just trying to figure out how to get the Cripes! playing view going. I figure I'm going to have a buffer that contains t…
251 views
Twisol
May 30, 2008
Timers
Tonight I worked through my implementation of "timers" a little bit, and fleshed out how I want the game to run a little more. My "delay" techinque, quite simply, was restrictive. Luckily, I found out about the SetTimer function. I had to rework the main loop of my program (as seen in my last journ…
256 views
Twisol
May 27, 2008
Timed stuffs!
First, a thanks to EasilyConfused for his much appreciated comment. :D

Today I coded in a timed delay thing into the game's main loop. This way things don't go lightning-fast on the player... it's limited to doing stuff once every 500 miliseconds now. I guess you could call each interval the game do…
291 views
Twisol
May 25, 2008
Update so far
I finished task two of my to-do list today, so now my HUD's data is all stored in files for easy modification. I have the single lines of info (like "Score" and the smiley face characters) in "statics.txt", and the actual data in "layout.txt". The format for the statics is one static per line, in t…
301 views
Twisol
April 26, 2008
HUDding progress!
Okay, so I have a working HUD implementation up! The code below looks kind of messy, but the thing is, all of it only needs to be run once ever. Except for hud.Draw(), though.. that's obvious, right?

HUD hud(80, 3);
hud.SetBGColor(CC_BLUE);
hud.WriteStatic(string() + char(218) + char(191), 0, 0, CCI_…
301 views
Twisol
April 26, 2008
HUDding
I talked to my VB .NET teacher at college on Tuesday, and he gave me some ideas on how to tackle this project. I suppose this one should have been obvious, but the one I've taken to heart at the moment is modularizing things... or at least, building each component separately and getting it to work.…
298 views
Twisol
April 21, 2008
Cripes! To-do list
Cripes!
I didn't do much on Cripes! today, except work a little on the HUD. So far all of the values are hard-coded, although I'm going to try storing those values in a file eventually.


Short-term goals:

  • Finish the basic look of the HUD.

  • Store character and color values in files

  • Create some walls and t…
  • 268 views
    Twisol
    April 19, 2008
    Snipes clone: "Cripes!"
    Well, I've decided to try my hand at a Snipes clone. I've worked a little and decided that my console manipulators wouldn't be much help, although they were just a little side project anyways. I haven't found a clean way to do what I want yet, for a few reasons, but here's a picture of what I have …
    392 views
    Twisol
    April 18, 2008
    The Programming Squib
    Heh, yeah, I feel like a squib right now.*

    I've been feeeling a little, eh... stagnant with my programming lately, mostly because I haven't been able to properly complete a project. ((Yes, I realize many of you haven't either :D)) So I bought the GameTutorials set of tutorials... so far I think I've…
    347 views
    Twisol
    November 16, 2007
    Book reading
    I finally managed to pick up "OpenGL Game Programming", and it is so great.. the one problem I have with it is the math section, and that's only because I don't understand trigonometry yet... but that will change next semester.

    A day or so before this, I attempted quaternions to fix gimbal lock I ha…
    340 views
    Twisol
    November 16, 2007
    *cackles*
    Update soon, not like anyone cares, but I thought I'd post this...

    Quote: wtf is a tootsie pop
    i've only had tootsie rolls
    ...
    ....
    What a /sucker/!
    :D
    359 views
    Twisol
    July 18, 2007
    Tactics (and Advice)
    Well, after some of the people over at #gamedev looked at my code and pointed out at TON of "design errors" (such as the use of BAD_SUIT, BAD_VALUE cards as sentinels for the end of the deck), they told me to mostly scrap the entirety of CardDeck, and change some of the details of Card.h - Card its…
    254 views
    Twisol
    July 15, 2007
    A new level of geekdom
    Look at the bottom of my journal before you read any further. Then proceed to comment on my geekiness.



    Done? No? Look again.





    Hex and Celestial countdowns from THE LAST MIMZY. <_>






    In less interesting news, I'm redoing CardDeck almost completely.
    289 views
    Twisol
    July 14, 2007
    CardDeck
    Over the past few days I've been slimming down CardDeck, and trying to fix some inconsistencies I've noticed (like the previously mentioned BAD_SUIT, BAD_VALUE cards when I know there's still more cards). If I clear up some of the clutter, though, maybe I can see what's going wrong.

    Well, I don't kn…
    295 views
    Twisol
    July 13, 2007
    cConsole
    This is a blast from the past... Apparently, Programmer16 studied my cConsole code to research how to "interface with the console", and wrote his own Console class (without the input capabilities, from what I can tell) for use in his recent Quickies games. That's pretty neat, and quite an ego boost…
    304 views
    Twisol
    June 20, 2007
    War!
    War is coming along well. I have the basic Card and CardDeck classes, with CardHand on its way. I'm also working on the War class, which will handle most of the details of the gameplay. When it's used, you simply create an instance of War, specifying with a bool whether to include Jokers or not, an…
    333 views
    Twisol
    June 19, 2007
    Harbinger Update
    Um... Not much to update on actually. I got sidetracked on a more basic project.. the infamous card deck. <_< I never really got much experience with objects when I first started using them, so I thought I'd follow in the steps of a few other people I've seen around GDnet and make a card game…
    253 views
    Twisol
    May 26, 2007
    Code::Blocks
    I got U3 working, and I love it, but I'm working out the kinks on the rest of my thumb drive programs, like Code::Blocks; see next paragraph.

    I've installed Code::Blocks on my Cruzer - it's easier to call it by its model name than "USB drive" or "thumb drive", and it sounds cooler - but I can't get …
    337 views
    Twisol
    May 21, 2007
    Florida
    I've arrived in Florida! I managed to snag a two-gig flash drive from OfficeMax for $30 right before we left, so woot! But it's got some U3 Launchpad thing on it, and I can't do anything to the drive - it's write-protected apparently. And worst of all, U3 Launchpad won't launch, so I can't even del…
    257 views
    Twisol
    May 20, 2007
    Vacation
    I'm going on vacation for two weeks in Florida! I'll be staying right by the east coast, and there's a cute girl living right across the street. [gasp] If I'm lucky, I might be able to work on some Lua while I'm there, but C++ is probably not going to happen. I tried to get a USB flash drive (2GB) …
    358 views
    Twisol
    May 18, 2007
    Real Life
    Well, I got cut off before I could properly finish my previous entry, because my father needed to get on the computer. Continuing:

    I've been taking classes at my local community college. I just recently finished my Geometry finals - I've been averaging a B- on my test material, so I'm hoping I got a…
    251 views
    Twisol
    May 18, 2007
    The moon
    I guess the Portuguese actually don't see the same moon as the rest of us. Seems they just see a big ball of code in the sky.

    Ahem. <_< I bought a book on Lua - Beginning Lua Programming, by Kurt Jung and Aaron Brown - and it's pretty good. I really like how closures/upvalues work, especially …
    268 views
    Twisol
    April 03, 2007
    Graphics
    This is mostly just a response to comments in my last entry.

    I know graphics is an advanced subject, but I've been doing text for 1-2 years now... I've already made enough text RPGs to make me sick. >_< I guess I'll just have to wait until I'm old enough to go to Digipen (which no-one I know -…
    329 views
    Advertisement

    Popular Blogs

    shawnhar
    Generalist
    101 Entries
    12 Followers
    15 Entries
    12 Followers
    johnhattan
    Programmer
    1,277 Entries
    48 Followers
    ApochPiQ
    Generalist
    628 Entries
    43 Followers
    dgreen02
    Generalist
    338 Entries
    55 Followers
    Advertisement