Remember me
You are here: HomeForumCyberix3D ForumGeneral DiscussionPlease Help with WASD Movement [Racing Game]
Welcome, Guest
Username: Password: Remember me

TOPIC: Please Help with WASD Movement [Racing Game]

Please Help with WASD Movement [Racing Game] 7 years 3 months ago #769

  • Tyler-Broome
  • Tyler-Broome's Avatar
  • OFFLINE
  • Fresh Boarder
  • Hi, I'm Tyler. I've dabbled in music, story writing, and even coding (as you can so far tell).
  • Posts: 17
  • Thank you received: 12
For the racing game, I'm having trouble trying to add WASD movements. I have a bit of experience with coding for Visual Basic, as it is an Honors course I am taking, but this is an entirely different level of code.

My question, though, is how do I put WASD movement onto a car so that it is both more convenient for me and players of several games to use these controls?
The administrator has disabled public write access.

Please Help with WASD Movement [Racing Game] 7 years 3 months ago #771

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 661
  • Thank you received: 628
Hello Tyler,
You simply need to add a few "If Key Pressed" commands inside the car's loop.
Inside each "If Key Pressed" you need to use the "Set" command to tell the car what to do for each key that have been pressed.
Here is a screenshot of the commands you need to add inside the car's loop:
2016-12-26_20-58-23.jpg


Here is a working example with view source:
www.gamemaker3d.com/player?pid=01621973

Regards,
Cyberix3D team
The administrator has disabled public write access.
The following user(s) said Thank You: Symbiotic Interactives, Tyler-Broome

Please Help with WASD Movement [Racing Game] 7 years 3 months ago #772

  • Tyler-Broome
  • Tyler-Broome's Avatar
  • OFFLINE
  • Fresh Boarder
  • Hi, I'm Tyler. I've dabbled in music, story writing, and even coding (as you can so far tell).
  • Posts: 17
  • Thank you received: 12
Darn it! I was so very close to that. Thanks for the advice!
The administrator has disabled public write access.

Please Help with WASD Movement [Racing Game] 7 years 3 months ago #773

yess ive been trying to find out how to do that
The administrator has disabled public write access.

Please Help with WASD Movement [Racing Game] 7 years 3 months ago #775

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 661
  • Thank you received: 628
Yes, you are right. It's not so intuitive to implement.
We are working on a Wiki with a detailed User Manual to help everyone understand all of the features of Cyberix3D and how to implement them.
The administrator has disabled public write access.
The following user(s) said Thank You: Symbiotic Interactives
Time to create page: 0.117 seconds