3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Advanced Character Movement v1.0  (Read 2891 times)

« on: January 29, 2010, 01:40:58 PM »
OK so my current impression of 3drad is that if you want to make a car game you'll probably have some success. If you want to make a 3rd person adventure or 1st person shooter, you're gonna need to put in a lot more time to reach that same level of success. I thought it was time 3drad offered a more modern style to the 3rd person adventure/RPG (the current walk and then turn system hasn't really been used since tomb raider!!).

To that end, I've scripted a character movement system which (I think) is superior to the default provided with 3drad. This took me far longer than it should have so I hope people will take the time to comment (criticism is certainly welcome). As far as I'm aware, this is effectively the type of system they use is most modern 3rd person games.

Read the following details then simply run the attached project.

FEATURES

- realistic character movement (left goes left rather than turning left etc)
- cylindrical polar camera system controlled by mouse
- character movement is relative to camera orientation for pleasant camchasing (eg forward key should always run away from camera)
- camera height and 'zoom' can be adjusted (so you can choose your ideal view)

FUTURE IMPROVEMENTS (hence the v1.0 naming)

-spherical polars rather than cylindrical could improve the view created by the vertical camera orientation (controlled by iMouseLookX())


You could maybe add this to the demo projects folder for future releases Fernando (if I make the script more explanatory)!? We'll hopefully start seeing more adventures/RPGs on the forum!
« Reply #1 on: January 29, 2010, 01:44:55 PM »
Nice work chebob69 :)
« Reply #2 on: January 29, 2010, 03:38:48 PM »
pretty cool! :)
using 3Drad 7.22

system specs:
Windows 7 Home Premium 64-bit
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 CPUs), ~3.2Ghz
8 gig ram
Geforce GTX 650 1024 MB GDDR5
DirectX 11
« Reply #3 on: January 29, 2010, 10:18:33 PM »
Now that the dirtywork is done, you might want to try optimising this movement system with a game pad. Most preferably a 360 controller ;D ;D ;) Nice work btw..

Edit: Sherical polars would be nice, but you could use the mouseY to manipulate the zoom and height together to acheive the same thing. Well maybe.. just an idea..
« Last Edit: January 29, 2010, 10:30:06 PM by Rush3Fan »
« Reply #4 on: January 29, 2010, 11:50:06 PM »
Now that the dirtywork is done, you might want to try optimising this movement system with a game pad. Most preferably a 360 controller ;D ;D ;) Nice work btw..

Edit: Sherical polars would be nice, but you could use the mouseY to manipulate the zoom and height together to acheive the same thing. Well maybe.. just an idea..

I'm more of a keyboard user myself so don't really have any interest in gamepads. Maybe someone else could follow this up?

mouseY is actually the horizontal one btw. The advantage of doing spherical polars explicitly rather than the way you mention would be that each coordinate is a function of the the spherical radius rather than the radius from the y-axis to that point. It would therefore be easy to implement a further zoom function by manipulating this radius. If you get what I mean...
« Reply #5 on: January 31, 2010, 06:17:26 PM »
I could not run your 3D Rad project. I tried several times. Each time it gets to about 50% loaded and crashes with ... 3D Rad fatal error, fatal message.
« Reply #6 on: January 31, 2010, 06:46:50 PM »
This is crashing on my 3DRad 6.40.
CsharpJsharp.com: the computer nerd site. Accepting suggestions!




Windows 7 on Acer Aspire 5735 laptop
Pentium Dual-Core T3200
732 MB Mobile Intel Graphics Accelerator 4500M
2GB DDR2 RAM
« Reply #7 on: January 31, 2010, 07:30:48 PM »
This is nice work chebob,  I may use this in place of  my old school Resident evil style controls on the 3rd Person Shooter that I am working on.

While most PC games use this kind of control layout, i suggest allowing the option of using the arrow keys to control the camera. 

I'm going to mess with this a bit to see if I can get it to suit my uses, and if so I will post what I do incase you may want to implement it.
« Reply #8 on: January 31, 2010, 07:44:55 PM »
This is crashing on my 3DRad 6.40.

I assume you need the newer version? Not sure about compatability stuff, someone else will have to answer this for you.

While most PC games use this kind of control layout, i suggest allowing the option of using the arrow keys to control the camera. 

Glad to hear you're considering using it- that is why I made it. If you want to wait for V2, which I'll do during the week at some point, I will probably add the option to choose between mouse or arrow keys for the camera orbit.
« Reply #9 on: January 31, 2010, 10:49:21 PM »
Cool, Looking forward to seeing it.
Pages: [1]