feature/godot-steam-integration #3

Merged
gskeough merged 13 commits from feature/godot-steam-integration into chris-dev 2024-12-10 03:28:25 +00:00
Showing only changes of commit b89eb1b74c - Show all commits

View File

@ -1,14 +1,7 @@
extends Node
func _init() -> void:
# Set your game's Steam app ID here
OS.set_environment("SteamAppId", str(480))
OS.set_environment("SteamGameId", str(480))
func _ready() -> void:
var init_result = Steam.steamInit()
var init_result = Steam.steamInit(true, 480)
if init_result["status"] <= 1: # Check if initialization was successful
GameConsole.print_line("Steam is running!")
var steamId = Steam.getSteamID()