Game Development Community

moveMap vs vehicleDriverMap

by rennie moffat · in Torque Game Builder · 08/18/2009 (4:13 pm) · 2 replies

Both of these calls are used to bind movement input to a player image map. Be it alone or in a vehicle. But I am wondering, what is the purpose of the vehicle call? Wouldnt a plain ld moveMap do?

And are there other common important preWords to the map.bind command which would be very relevant?

About the author

My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.


#1
08/18/2009 (4:21 pm)
Imagine that you wanted different key controls based on whether you were running around, driving, or acting as a passenger on a vehicle -- that's why. You can have as many 'action maps' as you need so long as you push and pop between them correctly and at the right times. You probably also have a 'globalActionMap' which are a list of keybinds that always work whether you are in the menus, the editors, or in-game.

TGB could be different... I don't know, but that's how it works in the 3d engines.
#2
08/18/2009 (4:53 pm)
oh Ok.


So say a playerActionMap, Vehicle, Main GameScreen (or is that separate gui stuff)?