playMaker

Author Topic: Top down shooter questions  (Read 2739 times)

Eirestudios

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
Top down shooter questions
« on: December 17, 2013, 09:29:02 AM »
Hi guys, I bought playmaker a while back but I'm only starting to learn it now because I just finished up my final project on another game engine.

My questions are, is it easy to make a top down controller where the player (cube) rotates to the position of the mouse and can I get the cube to move using the arrow keys? Can I get a bullet to spawn and fire towards the X & Y position of the mouse? I'm not looking for someone to make it for me, what I'm looking for is to be pointed in the right direction so I can learn how to do it myself.

Thanks in advance guys  :)

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2488
  • Yup.
    • View Profile
    • Cleverous
Re: Top down shooter questions
« Reply #1 on: December 17, 2013, 09:32:29 AM »
Check out Angry Ships.

Basically you use a wrapper object, add the directional controls to that (probably utilizing Get Axis), then put the rotation controls on the model object (Mouse pick intersection with floor). Firing is a matter of spawning a prefab and the prefab handles its own acceleration, collision and damage behavior.

Eirestudios

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
Re: Top down shooter questions
« Reply #2 on: December 17, 2013, 09:41:51 AM »
Wow thanks! that exactly what I'm looking for :)

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2488
  • Yup.
    • View Profile
    • Cleverous
Re: Top down shooter questions
« Reply #3 on: December 17, 2013, 09:45:12 AM »
You bet! Feel free to post up questions. =)