News
Articles & Tutorials
Games
HTML5 GM
Developer Tools
Developer Sites
Forum
GMG Contest
Home
Help
Search
Login
Register
Game Maker's Garage Forum
»
Game Creation
»
Other Languages & Tools
»
The Random Programming Room
« previous
next »
Print
Pages: [
1
]
2
Topic:
The Random Programming Room
(Read 24192 times)
0 Members and 3 Guests are viewing this topic.
WarHampster
GMG Extraordinaire
Posts: 1501
The People's Moderator
The Random Programming Room
«
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!!!
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.
«
Last Edit: February 03, 2011, 10:47:01 PM by WarHampster
»
Logged
Silverwind
^ This guy is amazing.
Posts: 2805
For the glory of my maker
Re: The Happy Programmer Room
«
Reply #1 on:
February 02, 2011, 05:10:26 PM »
hat's really amazing stuff there. How do you draw landscapes?
Logged
I survived the spammage of 2007
WarHampster
GMG Extraordinaire
Posts: 1501
The People's Moderator
Re: The Happy Programmer Room
«
Reply #2 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.
«
Last Edit: February 02, 2011, 05:15:25 PM by WarHampster
»
Logged
Silverwind
^ This guy is amazing.
Posts: 2805
For the glory of my maker
Re: The Happy Programmer Room
«
Reply #3 on:
February 02, 2011, 05:46:16 PM »
Oh sorry, what I meant was, how do you create hight maps?
Logged
I survived the spammage of 2007
WarHampster
GMG Extraordinaire
Posts: 1501
The People's Moderator
Re: The Happy Programmer Room
«
Reply #4 on:
February 02, 2011, 06:15:44 PM »
Oh, I just found this one online to test with.
Logged
Gan
Administrator
^ This guy is amazing.
Posts: 4411
Re: The Happy Programmer Room
«
Reply #5 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.
Logged
Check out this tile engine made in HTML5 GM!
WarHampster
GMG Extraordinaire
Posts: 1501
The People's Moderator
Re: The Happy Programmer Room
«
Reply #6 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!
Logged
Charlo
GMG-er
Posts: 451
Re: The Happy Programmer Room
«
Reply #7 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.
Logged
x
GMG-er
Posts: 247
Re: The Happy Programmer Room
«
Reply #8 on:
February 02, 2011, 10:42:46 PM »
Is there a sad programmers room?
Logged
Connors
^ This guy is amazing.
Posts: 2374
It's a secret to everyone...
Re: The Happy Programmer Room
«
Reply #9 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:
Logged
Warning: The above post may have been modified multiple times.
"In a great game, the character must never perfectly obey the user's command"
- Tim Rogers
http://connorspuzzles.tumblr.com/
x
GMG-er
Posts: 247
Re: The Happy Programmer Room
«
Reply #10 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.
Logged
Connors
^ This guy is amazing.
Posts: 2374
It's a secret to everyone...
Re: The Happy Programmer Room
«
Reply #11 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.
Logged
Warning: The above post may have been modified multiple times.
"In a great game, the character must never perfectly obey the user's command"
- Tim Rogers
http://connorspuzzles.tumblr.com/
WarHampster
GMG Extraordinaire
Posts: 1501
The People's Moderator
Re: The Happy Programmer Room
«
Reply #12 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!
Logged
Connors
^ This guy is amazing.
Posts: 2374
It's a secret to everyone...
Re: The Random Programming Room
«
Reply #13 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.)
Logged
Warning: The above post may have been modified multiple times.
"In a great game, the character must never perfectly obey the user's command"
- Tim Rogers
http://connorspuzzles.tumblr.com/
EqwanoX
Administrator
GMG Extraordinaire
Posts: 1180
Re: The Random Programming Room
«
Reply #14 on:
February 04, 2011, 01:29:16 PM »
those screens look good, can move around in that enviroment?
Logged
Print
Pages: [
1
]
2
« previous
next »
Game Maker's Garage Forum
»
Game Creation
»
Other Languages & Tools
»
The Random Programming Room