Hello there!
Today we had the lab at school where the assistants go through the case and explains the new concepts we're supposed to implement. In this case physics and collision detection. I pretty much uderstood most of it, but I wan't sure as of how to put the stuff in my code. After a couple of tries, I ended up screwing things up so they didn't work at all.. When i compiled the code I didn't get any errors, but my character didn't show up on the scene. After some fiddling I got the character back, but I was unable to move it. So I decided to rewrite the code from scratch using my own code from previous cases. Then I got some help from Steffen to add the functions in the correct oreder.
So what I have now is a rough example I'm going to tweak a bit.
Case 05 by ~Elr0hiR on deviantART
Showing posts with label physics. Show all posts
Showing posts with label physics. Show all posts
Thursday, October 15, 2009
Tuesday, October 13, 2009
Case 05
So yesterday we got our fifth case. In this case we're basically making the movement of the character more advanced. Now in stead of just walking back and forth, the character is actually affected by physics, like gravitation that keeps the character to the ground, and also limits the jumps so it doesn't just fly off the screen.
I've checked out the example code and tried to implement the physics stuff, but to no use. So I really don't have much to write about just yet. I'll keep you posted over the next week, so stay tuned! :)
Over and out.
Subscribe to:
Posts (Atom)