by Brent Orford


--- What's New ---


What's new for Tutorial #2? Well there was alot of clean up that has been going on over the past few days and virtually every function has been edited in some way. There are now more comments as well as an easier to read main game loop, character height and movement definitions are now encapsulated in an abstract data type called Player for easier function passing, even the startup window looks better. Dema has been added now, so the default actor is in the world. I'm still not liking the Jump function much and haven't worked on fixing it at all.

Known bugs:

- Gravitational speed is wrong when jumping and hitting an object, you drop way to quickly.

- Dema's bounding box is too small, but I'm wondering what effect it will have on object collision tests on her in the future. (i.e. weapons fire.) If I knew her exact size I could better manage it.

- Dema does not walk when you walk, she just idles all the time. This isn't really a bug I just haven't added her walking motions into the code. It should be easy to do though.

- Dema cannot crouch by nature so there is no crouch motion setting. Since clipping Dema through the floor would be a worthless hack to satisfy my desire to see her weapon while crouching and not the back of her leg I have abstained from writing it in. My main character will be able to crouch, then I'll worry about crouching code for the actor. Technically it should be the same as the walking motions so it should not be hard to do.


- Wall sliding on negatively inclined walls really sucks. This is really bothering me, if someone has a solution for this it'd be much appreciated. The troublesome area is commented in the code. It's in the Move() function.


- Wall sliding up ramps does not work at all. It always returns another collision thus your character stays in the original position. This could have alot to do with the previous problem. One may be able to kill 2 birds with one stone here.


That's about it though, hope you enjoy it!

 
Orf
Brent Orford
lborford@home.com