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

OOP in PenguinMod? (Object Oriented Programming) #22

Open
lego7set opened this issue Sep 21, 2023 · 5 comments
Open

OOP in PenguinMod? (Object Oriented Programming) #22

lego7set opened this issue Sep 21, 2023 · 5 comments

Comments

@lego7set
Copy link

I know that scratch is only designed to work with strings, numbers, and booleans, but wouldn't it be so cool if we could access all of the other javascript types? We could use actual objects instead of using JSON. We could create custom classes and use bigint, symbol, and all of these other javascript types. and all the normal blocks have a cast already, so would OOP in penguinmod be possible?

@RedMan13
Copy link

I know that scratch is only designed to work with strings, numbers, and booleans, but wouldn't it be so cool if we could access all of the other javascript types? We could use actual objects instead of using JSON. We could create custom classes and use bigint, symbol, and all of these other javascript types. and all the normal blocks have a cast already, so would OOP in penguinmod be possible?

thought about doing it, never came to a decisions on it
might add this into the development repo thingy

@Treetrain1
Copy link

Only wonder how something like this would integrate with the project smoothly

would it potentially need a separate tab?
Or would the block editor need to be majorly changed to support different formats alongside blocks
Whatever the solution is, I would love to have this as a feature

@lego7set
Copy link
Author

lego7set commented Mar 1, 2024

uhhh i made it myself

@lego7set lego7set closed this as completed Mar 1, 2024
@Ianyourgod Ianyourgod reopened this Mar 1, 2024
@Ianyourgod
Copy link
Member

dude you made a suggestion you can’t just close it?

@RedMan13
Copy link

RedMan13 commented Mar 2, 2024

dude you made a suggestion you can’t just close it?

yes they can

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

No branches or pull requests

4 participants