Game Maker's Garage Forum

Game Creation => Other Languages & Tools => Topic started by: WarHampster on February 02, 2011, 05:04:34 PM

Title: The Random Programming Room
Post by: WarHampster on February 02, 2011, 05:04:34 PM
I was inspired to make this by TIGSource's happy programmer room (http://forums.tigsource.com/index.php?topic=4103.0). This is the place for sharing any random programming stories that don't deserve their own thread. All languages are welcome!

I'll start. I am a happy programmer because I just implemented reflective water in my software voxel renderer!!!

(http://i73.servimg.com/u/f73/11/03/78/78/2211-110.jpg)
(http://i73.servimg.com/u/f73/11/03/78/78/2211-210.jpg)

Yeah it doesn't look particularly impressive yet and there are obvious bugs, but there's a ton of stuff going on under the hood.
Title: Re: The Happy Programmer Room
Post by: Silverwind on February 02, 2011, 05:10:26 PM
hat's really amazing stuff there. How do you draw landscapes?
Title: Re: The Happy Programmer Room
Post by: WarHampster on February 02, 2011, 05:14:51 PM
It's an old school voxel terrain renderer, which means that I raycast into a heightmap and draw columns of voxels according to the heights on the map.

When a ray hits a height that is below the water level, I first draw the terrain as usual, then cast a reflection ray from that point to get the reflected voxels. Then I do perform some bit-shifting on the reflected voxel to make it the right color and transparent.
Title: Re: The Happy Programmer Room
Post by: Silverwind on February 02, 2011, 05:46:16 PM
Oh sorry, what I meant was, how do you create hight maps?
Title: Re: The Happy Programmer Room
Post by: WarHampster on February 02, 2011, 06:15:44 PM
Oh, I just found this one online to test with.
Title: Re: The Happy Programmer Room
Post by: Gan on February 02, 2011, 06:29:15 PM
That's awesome. I'm a happy programmer cause I've had 3 snow days in a row and have spent them on a physics engine thingy.
Title: Re: The Happy Programmer Room
Post by: WarHampster on February 02, 2011, 07:02:39 PM
Haha, I've had two snow days in a row and I've used them to work on this thing.

We've been very lucky with snow this year!
Title: Re: The Happy Programmer Room
Post by: Charlo on February 02, 2011, 09:59:09 PM
I had a snow day the past two days and accomplished nothing!!!!  But in the days before that I did make some progress on a game in SC.
Title: Re: The Happy Programmer Room
Post by: x on February 02, 2011, 10:42:46 PM
Is there a sad programmers room?
Title: Re: The Happy Programmer Room
Post by: Connors on February 03, 2011, 09:14:49 AM
I'm now officially up to 3 SNoW DAYS IN A ROW!
(Which is really unusual for Albuquerque)
It is really friggin cold. :3

Waitaminute x why did you say that? 3:
Title: Re: The Happy Programmer Room
Post by: x on February 03, 2011, 06:15:24 PM
It actually has nothing too do with programming, its the fact I can't make pixel art, or draw anything at all. I've been working on this cool game engine, and I'm getting sick of looking at stick men, lol.
Title: Re: The Happy Programmer Room
Post by: Connors on February 03, 2011, 08:56:25 PM
Please elaborate.
And feel free to note that I have way too much spare time and I really like making sprites.
Title: Re: The Happy Programmer Room
Post by: WarHampster on February 03, 2011, 10:44:45 PM
Well TIGSource has a grumpy programmer room as well... but let's just use this thread as both.

I am a happy programmer because I just implemented procedural texturing and filtering!

(http://i73.servimg.com/u/f73/11/03/78/78/2311_t10.jpg)
Title: Re: The Random Programming Room
Post by: Connors on February 03, 2011, 11:37:26 PM
I'm happy because I have the perfect relatively easy game to work on (Light Maze) I get to play with Matt's Box2D physics thingy and we're up to the 4th snow day in a row! (apparently the whole snow thing is a long story, involving a gas shortage and bad road conditions. ??? Pretty interesting week for me.)
Title: Re: The Random Programming Room
Post by: EqwanoX on February 04, 2011, 01:29:16 PM
those screens look good, can move around in that enviroment?
Title: Re: The Random Programming Room
Post by: x on February 04, 2011, 06:08:54 PM
WarHampster, this voxel rendering engine is starting too look pretty impressive!

@Connors: Well thats pretty cool, its just getting some graphics together for a tech demo of an RPG engine I have been working on for a while.
Title: Re: The Random Programming Room
Post by: WarHampster on February 04, 2011, 06:21:43 PM
Thanks x, and

Quote
those screens look good, can move around in that enviroment?

of course!
Title: Re: The Random Programming Room
Post by: x on February 04, 2011, 08:35:13 PM
Quote
Thanks x, and


of course!
How do you/how will you handle collision detection and such?
Title: Re: The Random Programming Room
Post by: Gan on February 04, 2011, 08:40:57 PM
Can you release a working example for us to play with?
Title: Re: The Random Programming Room
Post by: Connors on February 04, 2011, 08:58:06 PM
Oh hecks yeah I'd like to see this in action. ;D
Title: Re: The Random Programming Room
Post by: EqwanoX on February 05, 2011, 01:31:03 PM
yea at least a screencast
Title: Re: The Random Programming Room
Post by: WarHampster on February 06, 2011, 10:45:35 AM
Nothing yet, still very buggy. My goal is to see a floating box rotating, then it'll get a real thread and everything.
Title: Re: The Random Programming Room
Post by: WarHampster on March 27, 2011, 05:49:56 PM
I am a happy programmer because I just conquered Swing and completed my AP CS homework!

Seriously though, I love Java, but man does it have some terrible libraries. Adding some simple GUI stuff to a program should not feel like such an accomplishment.
Title: Re: The Random Programming Room
Post by: Gan on March 27, 2011, 06:22:26 PM
Agreed. Also, Netbeans is crap.
Title: Re: The Random Programming Room
Post by: WarHampster on July 09, 2011, 12:09:51 AM
(http://i43.servimg.com/u/f43/11/03/78/78/uhuh_t10.jpg)

Coming soon: cross platform mobile game engine :D
Title: Re: The Random Programming Room
Post by: Gan on July 09, 2011, 10:15:29 AM
Whahahoa that looks awesome. Are you making it?