Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    298
  • comments
    1135
  • views
    232439

Of gyms and sectors..

Sign in to follow this  
HopeDagger

204 views

University - Karate/Exercise

What's a first week of classes/university without checking out the intro class for the Karate club?

Ouch.

It was definitely a good workout -- and I remember a few of the kicks/punches -- but I'm hurting still. Not being an active exercise'r, doing 100 crunches or so (of varying flavours) has given me pained abs for the last couple of days. My legs endured a similar experience after a short 2.5km run on my residence's gym's treadmill. Crap, I'm out of shape.

Irregardless, I'm going to be pushing myself to beef up my cardio, muscle, and general fitness. Now that I'm at a place that's actually packed with tools for getting in shape, there's just no excuse not to.

Plus, buff programmers get all the ladies.


GameDev - FPS!

So I've been continuing to tinker away at the map system (both format and rendering) for my cyberpunk/FPS/DooM-ish game.

The original approach was to make a tile-based format similar to the ancient Wolfenstein 3D, but I soon realized that this would be painfully limiting. I mean, how many interesting levels can really come out of a tile-based 3D game? (I of course exclude the awesome RoTT)

So I scrapped that code. Next up was kicking the complexity/flexibility up a notch with a rectangular sector system. I figured this would be ideal, since it's essentially a median of the tile-based Wolf3D map format and polygonal-sector'd format of DooM. It's also pretty easy/fast to drag+drop rectangles in a map editor. I soon realized that this, although reasonably flexible, would be a pain in the arse. Attaching portals -- portals being part of a wall removed so that another joined sector can be latched onto it -- would be a burden, since the sectors are defined by x/y/width/height rather than a cluster of vertices like DooM or Duke3D.

So I scrapped that code. Next up, of course, was the tested-and-true method of polygonal sectors. Ironically, what I deemed the most complex and time-consuming ended up being the easiest one of all to implement. Yesterday I wrote virtually all of the rendering, including: normal sectors, subsectors, portals, proper texture mapping (the coords took FOREVER, gah!), and variable floors/roofs that adjust their lower/upper/main walls accordingly.


(That nice sector is currently hard-coded-ly moving up and down to a sine wave!)


Sorry if there aren't many types of textures at the moment; looks a tad monotonous. These are just the initial ones by Draffurd so I had something other than programmer art to work with. [smile]

But progress didn't stop there! This morning (between classes, of course :P) I implemented a free-look mouse-controlled camera that allows for forward, backward, and strafing movements via a Camera class.

So yeah, things are going well on this project. Next up is the fabled map editor! :-O

(Oh, and kudos to John Hattan, whose point-in-polygon code I grabbed (and fully credited in source/future-credits-screen) and adapted. I owe you a beer. [smile])
Sign in to follow this  


8 Comments


Recommended Comments

Sweet. Hmm. I might even move up to 128s * 128s
but it might look weird with low rez sprites.

Share this comment


Link to comment
Holy crap; you're a hell of a fast worker. Do they not have wireless internet access points at your school? Or, I guess you just aren't as easily distracted as. Say. Me.

lolol. I'm still doing 'research' [wink]

Share this comment


Link to comment
Guest Anonymous Poster

Posted

Wow! Awesome work! I can't wait to see the map editor :D

<3 Mapping


Also, have fun in your Karate class :)

Share this comment


Link to comment
Guest Anonymous Poster

Posted

hey there, so your journal does it start from your first game? i see it is 2d and your later is 3d, just wondering, if so id probly read it from begining. let me know =)

Share this comment


Link to comment
Looks like it's coming along. Geez, you're in a uni and karate class and you still make more progress than I do.

Edit: Also, RoTT is awesome. I still have that on my computer.

Share this comment


Link to comment
Quote:
Original post by Anonymous Poster
hey there, so your journal does it start from your first game? i see it is 2d and your later is 3d, just wondering, if so id probly read it from begining. let me know =)


Nay, this journal began rougly 1 year ago, whereas my game development/programming days began more like ~7 years ago. But it's still -- depening on who you ask [smile] -- a fun read from start to end!

Share this comment


Link to comment
Quote:
Original post by Programmer16
Looks like it's coming along. Geez, you're in a uni and karate class and you still make more progress than I do.


Depends what you see as progress, I suppose. I see just a few organized textured polygons moving around. Your crazy debug console thing looks a lot more impressive to me. [smile]

Quote:
Edit: Also, RoTT is awesome. I still have that on my computer.


Ludicrous gibs! [lol]

Share this comment


Link to comment
Quote:
Original post by HopeDagger
Quote:
Original post by Programmer16
Looks like it's coming along. Geez, you're in a uni and karate class and you still make more progress than I do.


Depends what you see as progress, I suppose. I see just a few organized textured polygons moving around. Your crazy debug console thing looks a lot more impressive to me. [smile]


Thank you, I'm quite proud of it's outcome (though, I kind of went overboard on it lol.) However, I still say yours is more impressive[lol].

Quote:
Original post by HopeDagger
Quote:
Edit: Also, RoTT is awesome. I still have that on my computer.


Ludicrous gibs! [lol]


[lol]

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!