🎉 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!
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 …
Also, up to this point …
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…
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 …
There's a couple differences between …
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…
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…
In terms of the gameview, I'm not sure how I'm going to have the map loaded in. I tried t…
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…
On the subject of movement, I've taken the eas…
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 …
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…
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…
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…
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…
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…
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…
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_…
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.…
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…
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:
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 …
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…
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…
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…
A day or so before this, I attempted quaternions to fix gimbal lock I ha…
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…
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…
Well, I don't kn…
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…
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…
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…
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 …
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 …
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…
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) …
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…
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…
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 …
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 …
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 -…
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 -…
Advertisement
Popular Blogs
Advertisement