Log In  
Follow
richardjam13
[ :: Read More :: ]

How do you detect ANY keyboard key being pressed on the Picotron? btnp() returns a number if you pass no argument so you can check if it is greater than zero to see if any controller button is pressed. keyp() only returns true or false whether you pass any arguments or not.

P#145940 2024-04-07 02:42 ( Edited 2024-04-07 23:53)

[ :: Read More :: ]

Cart #foxrun-1 | 2024-04-21 | Embed ▽ | License: CC4-BY-NC-SA
4


Cart #foxrun-0 | 2024-04-06 | Embed ▽ | License: CC4-BY-NC-SA
4

Guide the fox through the forest avoiding obstacles and collecting butterflies. Controls are up,"w" and down,"s" on keyboard or controller.

Updated in version 2

  • Fixed keyboard issues with 0.1.0f
  • Improved game over
  • Added support for "w" and "s" keys for movement
  • Improved any key detect
P#145873 2024-04-06 03:08 ( Edited 2024-04-21 23:03)