Third-person game
Started by Coga19000, Jul 27 2012 09:18 PM
8 replies to this topic
#1
Posted 27 July 2012 - 09:18 PM
OK, I'll be honest here. I'm not going to make what I ask for a while, as I don't have GMpro, but I'm thinking of getting it. How can I make an object to continiously be behind the player and act as the camera(working as a third-person game)?
#2
Posted 27 July 2012 - 09:37 PM
The same way you would in first person, just at a distance from the player. (lengthdir is one way)
#3
Posted 28 July 2012 - 09:32 AM
Thanks! Oh, and one more thing. As I said, I don't have Pro GM until now. How can I play the examples of the fps? Stand-alone game didn't work.
#4
Posted 28 July 2012 - 02:09 PM
You need to run executables that were created through registered versions of Game Maker.
#5
Posted 28 July 2012 - 02:32 PM
You don't need to constrain the camera position to the object position, so no need to actually move the object. Just refer the xfrom, yfrom and zfrom parameters in d3d_set_projection function to some variables that you set to the coordinates of the position behind the player.
You should register GM, the registered version is awesome.
You should register GM, the registered version is awesome.
#6
Posted 28 July 2012 - 04:17 PM
I will, but I want to play it before I do. Can someone make an executable for me?
#7
Posted 29 July 2012 - 04:16 PM
I will, but I want to play it before I do. Can someone make an executable for me?
You can try to create this in 2D by making something follow behind the player in a top-down view, it's basically the same thing, but without actually viewing the scene in 3D.
Edited by Pandaboy, 29 July 2012 - 04:18 PM.
#9
Posted 30 July 2012 - 12:06 PM
@Pandaboy Actually, I meant I want to play the example of the FPS.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











