Skip to content

New extension: UserClock #1584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

Description

This extension receive user's clock from machine and gets it realtime.

How to use the extension

Make a new event, with no condition and as action put: Change text of text to ToString(UserClock::Hour())+":"+ToString(UserClock::Minutes())+":"ToString(UserClock::Seconds())

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Reviewed

Example file

UserClock Example.zip

Extension file

UserClock.zip

@github-actions github-actions bot requested a review from a team as a code owner March 13, 2025 16:59
@github-actions github-actions bot added the ✨ New extension A new extension label Mar 13, 2025
@D8H
Copy link
Contributor

D8H commented Mar 13, 2025

Thank you submitting an extension.

Can you explain the differences with this function:
image
https://wiki.gdevelop.io/gdevelop5/all-features/time/reference/#expressions

@apodimsoftware
Copy link

Thank you for replying.

I'm sorry for submitting a pointless extension.

The first time I used Time(string) it didn't work for me.

I thought doing this as an extension would work.

After your reply I checked it again, and realised that Time(string) worked.

I'm sorry for any inconvenience

@D8H
Copy link
Contributor

D8H commented Mar 13, 2025

No problem. Feel free to report any issue you may find in the forum.
https://forum.gdevelop.io/c/gdevelop-general/bugs-reports/36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ New extension A new extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants