This post was taken from this link http://swizec.com/blog/why-programmers-work-at-night/swizec/3198
I published it in my blog because I think is awsome. I gave it to read to my mother so he wont bother me anymore for working at night.
A popular saying goes that Programmers are machines that turn caffeine into code.
Tuesday, December 20, 2011
Saturday, December 3, 2011
How to Correctly Manage Screen Resolutions in Game Programming
Introduction
A few years ago, a lot of PC monitors had an aspect ratio of 4:3 you couldn’t imagine 16:9 or 16:10 monitors or others that go around today. So when you were to deploy a game; you designed your GUI following this aspect ratio. If you were to level up the screen resolution, the aspect ratio was the same and there wasn’t any kind of problems. Things got a little bit complicated when plasma and LCD monitors showed up and mobile device acquired more popularity. Nowadays, when you design a game, you have to cover all the odds, and that means your game has to support if not all, the most screen resolutions you can.You may think that almost any device supports a 640X480(4:3 Aspect Ratio) pixel resolution and a game designed in this resolution may work in all environments, which may be true but imagine how it will look like in a 24-inch monitor with a 16:9 Aspect Ratio; Besides nowadays, LCD monitors are the most popular and they only look fine at its native resolution. This article proposes a small solution to this problem.
First let’s take a look of the most popular screen resolutions nowadays:
Wednesday, November 23, 2011
Another small 3D solar system project
This one is written in C++ builder 6, It uses a .3DS file format for objects. Ive painted the sun with transparency and painted it again to give it a lighting efect. The galaxy is an image, if you find this post useful leave a comment
here is the download link
here is the download link
Monday, October 17, 2011
3D exploration of a classroom in C# with sources
In this version Ive emulated the movement of the camera by buttons, Ive placed some collisions using my small engine, shadowengine. Feel free to use the source code for your personal projects, also you can edit the textures to fit your own needs. If you download this sample, please leave a comment, anonymous comments are enabled.
here is the download link
Monday, September 26, 2011
Small engine for opengl developers with c# sources
hello Ive been developing a small engine to work with opengl, its has only the basics functions such as opengl initialization, object and texture loading, a small aproach to collisions,a small sets of windows controls. It depends on tao framework an GLUT. I uploaded the entire VS2008 project hoping that anyone could use it an expand it.Also if you don't want to use it there is a lot of source code that yo can use. Almost every project of this blog use it. If you take a look at the code you will see that is very easy and understandable, for example take a lool at this initialization code
Wednesday, September 21, 2011
Lighthouse in C# with sources
This is an example of a small lighthouse, It has three times of the day: morning, evening and night here is the download link, If you like this post please leave a comment, anonymous comments are enabled
Monday, August 29, 2011
Solid of revolution generator in C# with sources
This is a sample of a solid of revolution generator, it has some basics functions. Source code is very easy. Any question post it here. Here is the download link.
Subscribe to:
Posts (Atom)



