Discuss Scratch

HaloB2021
Scratcher
100+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

What_do_we_do_now wrote:

HaloB2021 wrote:

@What_do_we_do_now Can you check my TileOS v1.1 remix? But don’t forget to change the Title shadow code!
Unfortunately, if we are to have multiple different backgrounds, unless you are willing to animate the scrolling backgrounds for them, I would keep the background as a static one. Also, I did more investigation on the duplicate clone problem and tried adding a
wait until <not <key [space v] pressed?>>
block but didn't work.

Okay. I will make a new remix since the old one was a bit old, and I will try to make scrolling BG for them.
HaloB2021
Scratcher
100+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

What_do_we_do_now wrote:

I will not be able to be on this weekend. Keep working hard! Also, if there are any problems while I am gone, HaloB2021 gets to take control.
Bye!

Ok. Thanks for that.

@Everyone If anybody found a problem, please tell me (HaloB2021) or What_do_we_do-now.
HaloB2021
Scratcher
100+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

I just found out a problem, is that after the signing in the whole screen (contains coding screen) lagged a bit and back to normal. I don't know if it’s my problem but I tried several times but still the same. I checked it but I can’t find how the problem was created. I don't have this problem with my old remix. Can anyone check if you have the same problem as me, and if you have the same problem as me then try to find how the problem was created? I will try to find out what was the causes and fix them.
RobloxianMinecraft
Scratcher
1000+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

wait a sec
why does the code use this
if <app = 3> then 

broadcast [app.3 v]

else
if <app = 4> then


broadcast [app.4 v]

else

end
end
instead of boardcasting a
broadcast (join [app.] (app))::control stack

Last edited by RobloxianMinecraft (Dec. 5, 2021 01:16:37)


VIRUS THINGY, PUT IT AT THE TOP OF YOUR SIGNATURE <– i didnt start this ok?

Check out the Sodium Shop! its closed now lol
Also check out Cornmoji! Click here! also closed

(ツ) // one unicode character kumquat guard

I would indeed consider my forum signature to be quite small and/or short for the average Scratch forumer with over one thousand posts.
HaloB2021
Scratcher
100+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

RobloxianMinecraft wrote:

wait a sec
why does the code use this
if <app = 3> then 

broadcast [app.3 v]

else
if <app = 4> then


broadcast [app.4 v]

else

end
end
instead of boardcasting a
(join [app.] (app))

I don’t know, but does it do anything? It’s just making it more complex or it does something?
RobloxianMinecraft
Scratcher
1000+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

HaloB2021 wrote:

RobloxianMinecraft wrote:

wait a sec
why does the code use this
if <app = 3> then 

broadcast [app.3 v]

else
if <app = 4> then


broadcast [app.4 v]

else

end
end
instead of boardcasting a
(join [app.] (app))

I don’t know, but does it do anything? It’s just making it more complex or it does something?
it does the same thing as the if-else and its much more compact

VIRUS THINGY, PUT IT AT THE TOP OF YOUR SIGNATURE <– i didnt start this ok?

Check out the Sodium Shop! its closed now lol
Also check out Cornmoji! Click here! also closed

(ツ) // one unicode character kumquat guard

I would indeed consider my forum signature to be quite small and/or short for the average Scratch forumer with over one thousand posts.
HaloB2021
Scratcher
100+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

RobloxianMinecraft and I found out a problem, is that after the signing in the whole screen (contains coding screen and costume screen). I think the only thing that can make scratch laggy is a large number of clones and run without screen refresh blocks that are not completed. But we don’t have run without screen refresh blocks that are not completed, so a large number of clones? It might have some connections between the last problem we have found. (the problem that will create 224 clones) It's a big problem! We have to find the causes!
oxiti8
Scratcher
1000+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

HaloB2021 wrote:

RobloxianMinecraft and I found out a problem, is that after the signing in the whole screen (contains coding screen and costume screen). I think the only thing that can make scratch laggy is a large number of clones and run without screen refresh blocks that are not completed. But we don’t have run without screen refresh blocks that are not completed, so a large number of clones? It might have some connections between the last problem we have found. (the problem that will create 224 clones) It's a big problem! We have to find the causes!
I can take a look at this if you want. Is the problem lag?
HaloB2021
Scratcher
100+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

oxiti8 wrote:

HaloB2021 wrote:

RobloxianMinecraft and I found out a problem, is that after the signing in the whole screen (contains coding screen and costume screen). I think the only thing that can make scratch laggy is a large number of clones and run without screen refresh blocks that are not completed. But we don’t have run without screen refresh blocks that are not completed, so a large number of clones? It might have some connections between the last problem we have found. (the problem that will create 224 clones) It's a big problem! We have to find the causes!
I can take a look at this if you want. Is the problem lag?

Yes, and a problem What_do_we_do_now have found before is when you close the settings app (currently done by pressing space), it must be sending 16 duplicates of the “full startup” message, causing there to be 224 clones of the “Apps” sprite, yet he and I can't find the problem. Thank you, whether you find the problem or not.
oxiti8
Scratcher
1000+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

HaloB2021 wrote:

oxiti8 wrote:

HaloB2021 wrote:

RobloxianMinecraft and I found out a problem, is that after the signing in the whole screen (contains coding screen and costume screen). I think the only thing that can make scratch laggy is a large number of clones and run without screen refresh blocks that are not completed. But we don’t have run without screen refresh blocks that are not completed, so a large number of clones? It might have some connections between the last problem we have found. (the problem that will create 224 clones) It's a big problem! We have to find the causes!
I can take a look at this if you want. Is the problem lag?

Yes, and a problem What_do_we_do_now have found before is when you close the settings app (currently done by pressing space), it must be sending 16 duplicates of the “full startup” message, causing there to be 224 clones of the “Apps” sprite, yet he and I can't find the problem. Thank you, whether you find the problem or not.
The problem is simple: your clones are creating more clones, and the script to delete the clones is run by all the clones, so only one clone wins out, and only one clone is deleted. to fix this, just remove the “Stop other scripts in sprite” message from the “When I recieve delete clones” script.

The lag has a simple cause as well: your custom blocks are all set to “run without screen refresh”. Uncheck this box on all 2 “create clones” custom blocks in the project, and the lag completely disappears.
oxiti8
Scratcher
1000+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/611967899/ Made a remix that fixes all the lag and clone issues, adds back WAVE-8, and fixes a bug with the Files app where the Files list would not disappear upon restarting the project.

The reason I added back wave-8 is simple: If you're going to add a scratch emulator, why not add an emulator of an actual system like CHIP-8 as well? Plus I already put all the work in to port it.

I also took the liberty of doing
(join [app.] [(costume name)])

for the app selection. It's a lot cleaner now.

That Wave8 launch function in the files app also actually works now.

Last edited by oxiti8 (Dec. 5, 2021 23:09:58)

RobloxianMinecraft
Scratcher
1000+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

oxiti8 wrote:

snip

The problem is simple: your clones are creating more clones, and the script to delete the clones is run by all the clones, so only one clone wins out, and only one clone is deleted. to fix this, just remove the “Stop other scripts in sprite” message from the “When I recieve delete clones” script.

The lag has a simple cause as well: your custom blocks are all set to “run without screen refresh”. Uncheck this box on all 2 “create clones” custom blocks in the project, and the lag completely disappears.
yea i was also thinking of that

oxiti8 wrote:

https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/611967899/ Made a remix that fixes all the lag and clone issues, adds back WAVE-8, and fixes a bug with the Files app where the Files list would not disappear upon restarting the project.

The reason I added back wave-8 is simple: If you're going to add a scratch emulator, why not add an emulator of an actual system like CHIP-8 as well? Plus I already put all the work in to port it.

I also took the liberty of doing
(join [app.] [(costume name)])

for the app selection. It's a lot cleaner now.

That Wave8 launch function in the files app also actually works now.

RobloxianMinecraft wrote:

wait a sec
why does the code use this
if <app = 3> then 

broadcast [app.3 v]

else
if <app = 4> then


broadcast [app.4 v]

else

end
end
instead of boardcasting a
broadcast (join [app.] (app))::control stack
also was thinking of that here

Last edited by RobloxianMinecraft (Dec. 6, 2021 02:37:01)


VIRUS THINGY, PUT IT AT THE TOP OF YOUR SIGNATURE <– i didnt start this ok?

Check out the Sodium Shop! its closed now lol
Also check out Cornmoji! Click here! also closed

(ツ) // one unicode character kumquat guard

I would indeed consider my forum signature to be quite small and/or short for the average Scratch forumer with over one thousand posts.
What_do_we_do_now
Scratcher
500+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

I am back!

RobloxianMinecraft wrote:

wait a sec
why does the code use this
if <app = 3> then 
broadcast [app.3 v]
else
if <app = 4> then
broadcast [app.4 v]
else
end
end
instead of broadcasting a
broadcast (join [app.] (app))
So I now have to go through and recode all of the scripts.

HaloB2021 wrote:

oxiti8 wrote:

HaloB2021 wrote:

RobloxianMinecraft and I found out a problem, is that after the signing in the whole screen (contains coding screen and costume screen). I think the only thing that can make scratch laggy is a large number of clones and run without screen refresh blocks that are not completed. But we don’t have run without screen refresh blocks that are not completed, so a large number of clones? It might have some connections between the last problem we have found. (the problem that will create 224 clones) It's a big problem! We have to find the causes!
I can take a look at this if you want. Is the problem lag?
Yes, and a problem What_do_we_do_now have found before is when you close the settings app (currently done by pressing space), it must be sending 16 duplicates of the “full startup” message, causing there to be 224 clones of the “Apps” sprite, yet he and I can't find the problem. Thank you, whether you find the problem or not.
I have looked everywhere to fix that problem and just can't find it, and the lag when you start the project is caused by a “run without screen refresh” custom block, used to try to fix that problem.

Speaking of problems, here is another one: when you turn on dark mode and close out of the settings, the title still is bright, so it must be having trouble sensing the “dark mode” var.
@oxiti8: The bugfix is fine, but when you close the settings, the background stays as the settings background. Also, WAVE-8 will be added sometime within the next week, as I have school.
Sorry for the long post, but I want to address everything.
@HaloB2021: Any problems, besides annoying bugs?

Thanks, @WhatDoWeDoNow

Why not join TileOS? Here's a link if you want to join: Your friendly neighborhood link
What_do_we_do_now
Scratcher
500+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

Never mind, I just realized that the settings background doesn't change either.

Thanks, @WhatDoWeDoNow

Why not join TileOS? Here's a link if you want to join: Your friendly neighborhood link
RobloxianMinecraft
Scratcher
1000+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

What_do_we_do_now wrote:

I am back!

RobloxianMinecraft wrote:

wait a sec
why does the code use this
if <app = 3> then 
broadcast [app.3 v]
else
if <app = 4> then
broadcast [app.4 v]
else
end
end
instead of broadcasting a
broadcast (join [app.] (app))
So I now have to go through and recode all of the scripts.
you don't
just replace the ifelse with that one boardcast block

VIRUS THINGY, PUT IT AT THE TOP OF YOUR SIGNATURE <– i didnt start this ok?

Check out the Sodium Shop! its closed now lol
Also check out Cornmoji! Click here! also closed

(ツ) // one unicode character kumquat guard

I would indeed consider my forum signature to be quite small and/or short for the average Scratch forumer with over one thousand posts.
HaloB2021
Scratcher
100+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

RobloxianMinecraft wrote:

What_do_we_do_now wrote:

I am back!

RobloxianMinecraft wrote:

wait a sec
why does the code use this
if <app = 3> then 
broadcast [app.3 v]
else
if <app = 4> then
broadcast [app.4 v]
else
end
end
instead of broadcasting a
broadcast (join [app.] (app))
So I now have to go through and recode all of the scripts.
you don't
just replace the ifelse with that one boardcast block

Sorry RobloxianMinecraft I didn’t think that’s going to work.
oxiti8
Scratcher
1000+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

HaloB2021 wrote:

RobloxianMinecraft wrote:

What_do_we_do_now wrote:

I am back!

RobloxianMinecraft wrote:

wait a sec
why does the code use this
if <app = 3> then 
broadcast [app.3 v]
else
if <app = 4> then
broadcast [app.4 v]
else
end
end
instead of broadcasting a
broadcast (join [app.] (app))
So I now have to go through and recode all of the scripts.
you don't
just replace the ifelse with that one boardcast block

Sorry RobloxianMinecraft I didn’t think that’s going to work.
It does in my remix.
What_do_we_do_now
Scratcher
500+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

Me scrolling through @HaloB2021's remix:

Me: bangs head on keyboard.

Thanks, @WhatDoWeDoNow

Why not join TileOS? Here's a link if you want to join: Your friendly neighborhood link
RobloxianMinecraft
Scratcher
1000+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

What_do_we_do_now wrote:

Me scrolling through @HaloB2021's remix:

Me: bangs head on keyboard.
the picture is broken

VIRUS THINGY, PUT IT AT THE TOP OF YOUR SIGNATURE <– i didnt start this ok?

Check out the Sodium Shop! its closed now lol
Also check out Cornmoji! Click here! also closed

(ツ) // one unicode character kumquat guard

I would indeed consider my forum signature to be quite small and/or short for the average Scratch forumer with over one thousand posts.
What_do_we_do_now
Scratcher
500+ posts

TileOS™️: A New, Interactive Operating System, Made in Scratch! OLD THREAD (new inside)

RobloxianMinecraft wrote:

What_do_we_do_now wrote:

Me scrolling through @HaloB2021's remix:

Me: bangs head on keyboard.
the picture is broken
If you go into his remix and go to the “app. music” sprite and scroll down, there is a point where there is 37 if's inside each other.

Thanks, @WhatDoWeDoNow

Why not join TileOS? Here's a link if you want to join: Your friendly neighborhood link

Powered by DjangoBB