Skip to content
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

Add TimeKeeper to extension list #159

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

Isuckatbeingsocial
Copy link

Screenshot 2024-03-11 231313

time keeper is an extension of the timer related blocks. it contains custom timers and more. (sorry for bad thumbnail)

Copy link

vercel bot commented Mar 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
penguinmod-extensions-gallery ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2024 6:36am

@Ianyourgod
Copy link
Member

you didnt actually add the thumbnail fail
nor did you add it to the extensions.js
use this as reference

@Ianyourgod
Copy link
Member

why did you change something thats not a part of your ext at all???
(refering to how you changed Blocks to blocks)

@Ianyourgod
Copy link
Member

it needs a bit of formatting but sp said he'd do that for you.

@Ianyourgod
Copy link
Member

ill review this again tomorrow bc its late

@Isuckatbeingsocial
Copy link
Author

sorry i accidentally deleted some of the letters so i just guessed the capitilzation

@Isuckatbeingsocial
Copy link
Author

i did everything you said too btw

this.timers[timerName] = 0;
this.countUpValues[timerName] = countUpValue;
this.intervals[timerName] = setInterval(() => {
this.timers[timerName] += this.countUpValues[timerName];
Copy link
Collaborator

Choose a reason for hiding this comment

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

You shouldn't do this, as many timers all doing this at once will cause lag.

You should set up a separate function that updates all values at once instead of individually

Copy link
Collaborator

Choose a reason for hiding this comment

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

The thumbnail should be 600x300. Otherwise it will be stretched

Copy link
Author

Choose a reason for hiding this comment

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

okay

(function(Scratch) {
class PauseResumeExtension {
constructor(runtime) {
this.runtime = runtime;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Unused variable

@SharkPool-SP
Copy link
Collaborator

The reviews still aren't resolved

@SharkPool-SP SharkPool-SP marked this pull request as draft July 27, 2024 06:12
@SharkPool-SP
Copy link
Collaborator

marking as draft bc of lack of input from submitter

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.

3 participants