Provides access to information about the user's system. Use this skill when working with system operations, platform detection, system information retrieval, or any system-related operations in LÖVE games.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Provides access to information about the user's system. Use this skill when working with system operations, platform detection, system information retrieval, or any system-related operations in LÖVE games.
license
MIT
metadata
{"author":"Ron Dekker <rondekker.nl>"}
When to use this skill
Provides access to information about the user's system. Use this skill when working with system operations, platform detection, system information retrieval, or any system-related operations in LÖVE games.
Common use cases
Retrieving system and platform information
Detecting operating system and hardware capabilities
Accessing system-specific features
Handling platform-specific behavior
Managing system resources and capabilities
Functions
love.system.getClipboardText() -> text: string: Gets text from the clipboard.
love.system.getOS() -> osString: string: Gets the current operating system. In general, LÖVE abstracts away the need to know the current operating system, but there are a few cases where it can be useful (especially in combination with os.execute.)
love.system.getPowerInfo() -> state: PowerState, percent: number, seconds: number: Gets information about the system's power supply.
love.system.getProcessorCount() -> processorCount: number: Gets the amount of logical processor in the system.
love.system.hasBackgroundMusic() -> backgroundmusic: boolean: Gets whether another application on the system is playing music in the background. Currently this is implemented on iOS and Android, and will always return false on other operating systems. The t.audio.mixwithsystem flag in love.conf can be used to configure whether background audio / music from other apps should play while LÖVE is open.
love.system.openURL(url: string) -> success: boolean: Opens a URL with the user's web or file browser.
love.system.setClipboardText(text: string): Puts text in the clipboard.
love.system.vibrate(seconds: number): Causes the device to vibrate, if possible. Currently this will only work on Android and iOS devices that have a built-in vibration motor.
Enums
PowerState: The basic state of the system's power supply.