Skip to content

Add mouse_clicked usage example#700

Open
Osaid2993 wants to merge 1 commit intothoth-tech:mainfrom
Osaid2993:mouse-clicked-usage-example
Open

Add mouse_clicked usage example#700
Osaid2993 wants to merge 1 commit intothoth-tech:mainfrom
Osaid2993:mouse-clicked-usage-example

Conversation

@Osaid2993
Copy link
Copy Markdown

Description

Splashkit Function: mouse_clicked

Overview of example functionality: This example opens a graphical window with three coloured circles. When the user left-clicks one of the circles, the program updates to show which circle was clicked and increases a total click counter. It demonstrates how mouse_clicked can be used to detect mouse clicks in a simple interactive program.

Example Output:
mouse_clicked-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 Mar 21, 2026

Deploy Preview for splashkit failed.

Name Link
🔨 Latest commit 4adf550
🔍 Latest deploy log https://app.netlify.com/projects/splashkit/deploys/69bec385c8367c00084c8348

Copy link
Copy Markdown

@abdullah12121212 abdullah12121212 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, keep up the good work.

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.

2 participants