Author Topic: Steam API for GLBasic -> achievements, leaderboards for Your game ;-)  (Read 5140 times)

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2792
    • View Profile
Thank you Dreamerman, this will come in very handy the closer I get to a Steam release!  :good:


“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline loftcat

  • Mc. Print
  • *
  • Posts: 46
    • View Profile
    • Loftcat Software
Sounds like you're progressing really well with this and definitely something I'd love to see up and running in your game!

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4025
    • View Profile
    • Space Fractal
Im actuelly used this for only one thing for some of my games: Checking if Steam Deck is used. The reasons is some of my games is default set to a windowred mode. This is a no go on the Steam deck, where im wanted full screen mode...... Actuelly got to work fine.

Code: (glbasic) [Select]
LOCAL mySteam AS stats_manager_object, i1%
LOCAL isok%=mySteam.Init%(1)
IF isok%<>0

also if you dont check the steam was init or not and user launch the exe outside steam, then its will crash. Hence im checking for that.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.