Skip to content

docs: add timer_ticks usage example#721

Open
ZGT23 wants to merge 1 commit intothoth-tech:mainfrom
ZGT23:feature/timer-ticks-usage-example
Open

docs: add timer_ticks usage example#721
ZGT23 wants to merge 1 commit intothoth-tech:mainfrom
ZGT23:feature/timer-ticks-usage-example

Conversation

@ZGT23
Copy link
Copy Markdown

@ZGT23 ZGT23 commented Apr 5, 2026

Description

This PR adds a new usage example for the timer_ticks function in SplashKit.

The example demonstrates how to create and start a timer, and display the elapsed time in milliseconds while the program is running.

Files included

  • C++ example
  • C# top-level example
  • C# OOP example
  • Python example
  • explanation file (.txt)
  • screenshot (.png)

Testing

  • tested Python example locally
  • verified timer value increases over time
  • ensured consistency across all language versions

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 5, 2026

Deploy Preview for splashkit failed.

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

Copy link
Copy Markdown

@RUNQILIU-123 RUNQILIU-123 left a comment

Choose a reason for hiding this comment

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

I reviewed the PR and it looks good overall. The timer_ticks usage example is clear, the included files match the description, and I did not find any blocking issues in this first peer review.

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