First post - And then there were physics
1,437
0
Advertisement
[font="Arial"]Repost from http://hydroxicacidgames.wordpress.com/.[/font]
[size=2][font="Arial"]Hello out there to anyone who's reading, and welcome to my new blog!
What is this?
This blog is about my programming and game development experiences. I started this blog to showcase some of the things I am working on and to put a little piece of myself out on the internet. If you want to find out more about me, read my aptly named "About Me" page (if you can't find it, I probably haven't made it yet).
So what are you working on?
Recently I have been working on a 2D game that I've tentatively titled Meep Wars (do tentative titles go in italics?). Honestly, I haven't worked much of the game design out yet, but I think it will have characters that look like the guy in the image below, and I know that it's going to be epic.
No, that's not a hat. Its a gun. Its cute, isn't it? Kind of? Come on, use your imagination.
Did someone say physics?
Recently I integrated the Farseer Physics Engine into my game engine. This was not a simple feat, let me tell you, because of both the dearth of documentation and the fact that I am using OpenTK as my graphics API. The Farseer folks, in their infinite wisdom, chose to use XNA's Vector2 class, which means that every time I want to interact with the physics engine I have to convert between OpenTK's Vector2 class and XNA's Vector2 class. To add additional complexity, the Farseer engine wants values between 0.1 and 10, so I have to scale back and forth between pixel and physics world coordinate systems.
Fortunately, for your viewing pleasure, I have prevailed! Okay, so I haven't gotten triangles to work correctly yet. Whatever; circles and squares are all anyone really needs anyway.
[media]
You can download the program here. Checkout the ReadMe for directions. It requires OpenGL drivers and .Net 4.0. Enjoy this mildly diverting entertainment!
[/font]
[size=2][font="Arial"]Hello out there to anyone who's reading, and welcome to my new blog!
What is this?
This blog is about my programming and game development experiences. I started this blog to showcase some of the things I am working on and to put a little piece of myself out on the internet. If you want to find out more about me, read my aptly named "About Me" page (if you can't find it, I probably haven't made it yet).
So what are you working on?
Recently I have been working on a 2D game that I've tentatively titled Meep Wars (do tentative titles go in italics?). Honestly, I haven't worked much of the game design out yet, but I think it will have characters that look like the guy in the image below, and I know that it's going to be epic.
No, that's not a hat. Its a gun. Its cute, isn't it? Kind of? Come on, use your imagination.
Did someone say physics?
Recently I integrated the Farseer Physics Engine into my game engine. This was not a simple feat, let me tell you, because of both the dearth of documentation and the fact that I am using OpenTK as my graphics API. The Farseer folks, in their infinite wisdom, chose to use XNA's Vector2 class, which means that every time I want to interact with the physics engine I have to convert between OpenTK's Vector2 class and XNA's Vector2 class. To add additional complexity, the Farseer engine wants values between 0.1 and 10, so I have to scale back and forth between pixel and physics world coordinate systems.
Fortunately, for your viewing pleasure, I have prevailed! Okay, so I haven't gotten triangles to work correctly yet. Whatever; circles and squares are all anyone really needs anyway.
[media]
[/media]
You can download the program here. Checkout the ReadMe for directions. It requires OpenGL drivers and .Net 4.0. Enjoy this mildly diverting entertainment!
[/font]
Advertisement
Advertisement
Advertisement
Discussion