Gravity Demo

This is a short video of a screen capture of a program that I made using C++, SDL, and Chipmunk 2D Physics. In the video I am changing the gravity of the space to make the balls move. This is still in development. This is just a demonstration and learning platform that I am using to make games. Hopefully I will be able to put this on my Palm Pre soon. And use the accelerometer to control the gravity. With thisĀ  project I am learning a lot but it is frustrating at times. But I am pushing myself because I believe pushing pass the frustration is the line that separates a person from any geek off the street. My next step is to add OpenGL so the ball will spin dynamically in the demo that I created. I read from people that doing it only in SDL people is slow, but fast with OpenGL. Because of this reason, I am learning OpenGL ES because the PalmPre has hardware support for it. I just bough “OpenGL ES 2.0 Programming Guide“. I may buy the “The Red Book” later (OpenGL Programming Guide). Getting it to the phone is kind of tough. The development kit for C/C++ development on the palm pre is not out yet. Last week I spent the week working on the demo. I usually study and look for a job during the week. This week I tried to get back to that schedule. This weekend I plan to work more on this demo.

Chipmunk Compiled!

Well… this really does not do anything, but demos the engine. Chipmunk is a 2d physics engine. But since I have it working, now I am closer to using that engine for my games. I plan to first make breakout. I know this engine is probably over kill for breakout, but I think it is worth my investment in learning the engine. With this knowledge I can use the engine in other games like pinball, pool and labyrinth. Follow the link to see a video of the Chipmonk demo.

My original reason for becoming a programmer (when I was about 6) was to make games. But later the primary reason become AI and robotics. And also I developed a passion for algorithms.

I was hoping to have more to show by now. I would have liked to have shown something that I have developed. But this is what I have right now. I can make small changes to the demos, but they are not that significant (I am still learning the engine). My ultimate goal is to transfer a game that I have made to my palm pre. The demos are using GLUT to display its objects. I am working on having it use SDL to dispay its objects. If I can do this, I will then transfer the program to the palm pre that supports SDL.

I am going to try to give updates weekly soon after the weekend to this blog.

cout << “Hello world!” << endl;

Graduation at University of Texas at DallasHello world! That’s me on the left. In December 2009, I graduated from University of Texas at Dallas with a degree in Computer Science. I am creating this blog to logĀ  the computer related things that I plan to do. I will mostly post my personal programming projects, general computer related things, and cool things that I come across. I will still keep a personal blog, but from time to time I may post some personal things on here. I am now starting new section of my life. Hopefully this blog will record exciting things to come.