playMaker

Author Topic: Check if running on consoles?  (Read 855 times)

IIKII

  • Full Member
  • ***
  • Posts: 137
  • Lonely developer
    • Patreon
Check if running on consoles?
« on: August 09, 2021, 01:28:30 AM »
Hi, I am using 'get joystick name' action to get whether the player is running on consoles since consoles only use joystick controllers.

Curious if this is the correct or the best way to check if the game is running on consoles?

thanks
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Check if running on consoles?
« Reply #1 on: August 09, 2021, 03:38:04 AM »
No, since console gamepads can be used on PC. Use Platform Dependent Events.
Available for Playmaker work

IIKII

  • Full Member
  • ***
  • Posts: 137
  • Lonely developer
    • Patreon
Re: Check if running on consoles?
« Reply #2 on: August 09, 2021, 05:14:24 AM »
No, since console gamepads can be used on PC. Use Platform Dependent Events.

Nice, thanks. I think they changed the action name to 'runtime platform events'.
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio