Skip to content

Add key_typed usage example#732

Open
Osaid2993 wants to merge 1 commit intothoth-tech:mainfrom
Osaid2993:key-typed-usage-example
Open

Add key_typed usage example#732
Osaid2993 wants to merge 1 commit intothoth-tech:mainfrom
Osaid2993:key-typed-usage-example

Conversation

@Osaid2993
Copy link
Copy Markdown

Description

Splashkit Function: key_typed

Overview of example functionality: This example demonstrates how to use the key_typed function. It opens a window and tracks how many times the A, Space, and Enter keys are typed. The counters update on screen each time one of those keys are pressed, showing that key_typed only triggers once per key press, not continuously while the key is held down.

Example Output:

key_typed-1-example

Files Included

  • C++ code
  • C# code (Top-Level statements)
  • C# code (Object-Oriented Programming)
  • Python code
  • Relevant title for the example (.txt)
  • Screenshot

Usage Example Checks (READ CAREFULLY)

  • Code uses Splashkit function above
  • Code does not use non-Splashkit functions
  • Code does not use extra function declarations or extra classes
  • Code does not violate any of the Thoth Tech SplashKit Style Guide rules
  • Simple, clear demonstration of the function
  • Tested in Chrome and Firefox

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 15, 2026

Deploy Preview for splashkit failed.

Name Link
🔨 Latest commit e41d8ca
🔍 Latest deploy log https://app.netlify.com/projects/splashkit/deploys/69dfa9622a71ea0008faa719

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant