Discuss Scratch

Pengufenhoffer
Scratcher
100+ posts

my colossal rpg project that destroys scratch needs help

So I have this +100 sprite project which literally glitches the scratch engine and makes scripts randomly stop after the first interaction involving a key input. I tried removing like 60% of the game's content which makes the remaining game function normally. Is there any way of fixing this issue without an “insert disc 2”-type solution which I would much like to avoid?

Also, in case I were to do the ol' “insert disc 2” (where the different discs would have to be different projects), is there any way of conveniently transferring player data from one project to the other, some kind of cookies for scratch users so that people wouldn't have to copy and paste a long code?

Any help appreciated!
/your pal Pengufenhoffer

I'm Pengufenhoffer, currently working on a (short, simple) full-scale RPG entirely on Scratch. https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/419687729/
Nub_or_something_idk
Scratcher
18 posts

my colossal rpg project that destroys scratch needs help

For the first solution, try to only limit yourself to one update (or forever loop) per sprite. There's not much to say other than “optimize it”

As for an “insert disc 2” solution, I would backpack the player sprite and whatever handles player data (plus the save), and move everything essential that's always in the game (such as a dialogue system). Then feel free to move whatever else you want back there. I would also prevent the player from playing unless their save has reached a certain point of progress.

Turbowarp is also helpful for testing if you aren't already using that.

Last edited by Nub_or_something_idk (Oct. 14, 2024 01:48:23)

ProfessorUelf
Scratcher
100+ posts

my colossal rpg project that destroys scratch needs help

Pengufenhoffer wrote:

So I have this +100 sprite project which literally glitches the scratch engine and makes scripts randomly stop after the first interaction involving a key input. I tried removing like 60% of the game's content which makes the remaining game function normally. Is there any way of fixing this issue without an “insert disc 2”-type solution which I would much like to avoid?

Also, in case I were to do the ol' “insert disc 2” (where the different discs would have to be different projects), is there any way of conveniently transferring player data from one project to the other, some kind of cookies for scratch users so that people wouldn't have to copy and paste a long code?

Any help appreciated!
/your pal Pengufenhoffer

Also try to use less sprites, I am sure clones could be helpful for you in some cases.

Pengufenhoffer
Scratcher
100+ posts

my colossal rpg project that destroys scratch needs help

ProfessorUelf wrote:

Pengufenhoffer wrote:

So I have this +100 sprite project which literally glitches the scratch engine and makes scripts randomly stop after the first interaction involving a key input. I tried removing like 60% of the game's content which makes the remaining game function normally. Is there any way of fixing this issue without an “insert disc 2”-type solution which I would much like to avoid?

Also, in case I were to do the ol' “insert disc 2” (where the different discs would have to be different projects), is there any way of conveniently transferring player data from one project to the other, some kind of cookies for scratch users so that people wouldn't have to copy and paste a long code?

Any help appreciated!
/your pal Pengufenhoffer

Also try to use less sprites, I am sure clones could be helpful for you in some cases.

I have already cut down the amount of sprites by maybe 20-30? It's gonna be hard to continue doing that - but maybe worth a shot.

I'm Pengufenhoffer, currently working on a (short, simple) full-scale RPG entirely on Scratch. https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/419687729/
Pengufenhoffer
Scratcher
100+ posts

my colossal rpg project that destroys scratch needs help

Nub_or_something_idk wrote:

For the first solution, try to only limit yourself to one update (or forever loop) per sprite. There's not much to say other than “optimize it”

As for an “insert disc 2” solution, I would backpack the player sprite and whatever handles player data (plus the save), and move everything essential that's always in the game (such as a dialogue system). Then feel free to move whatever else you want back there. I would also prevent the player from playing unless their save has reached a certain point of progress.

Turbowarp is also helpful for testing if you aren't already using that.

I didn't think of turbowarp… thanks, maybe I'll try that! Regarding the “insert disc 2” solution, you know any way I could have user data transferred between the different projects without the user having to actively copy and paste a save code?

I'm Pengufenhoffer, currently working on a (short, simple) full-scale RPG entirely on Scratch. https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/419687729/
Mr_PenguinAlex
Scratcher
1000+ posts

my colossal rpg project that destroys scratch needs help

Pengufenhoffer wrote:

Regarding the “insert disc 2” solution, you know any way I could have user data transferred between the different projects without the user having to actively copy and paste a save code?
there's no way to do that unfortunately

GamesReinvented
New Scratcher
100+ posts

my colossal rpg project that destroys scratch needs help

Mr_PenguinAlex wrote:

Pengufenhoffer wrote:

Regarding the “insert disc 2” solution, you know any way I could have user data transferred between the different projects without the user having to actively copy and paste a save code?
there's no way to do that unfortunately
There is, but it's inconsistent and temporary data, rather than permanent. It uses the translate extension, but i don't know too much about it and can't explain it here.

Why does everyone
say (join ["Sorry, you have to wait ] (join ((120) - ((60) * <is scratcher? ::sensing>)) [ seconds between posts."]))
this has only been a problem for me, like twice.
cookieclickerer33
Scratcher
1000+ posts

my colossal rpg project that destroys scratch needs help

What are you doing that requires that many sprites instead of clones?

Maybe it could be optimized

Just a silly little girly :3

Deltarune chapter 3 when
RiftPatch
Scratcher
12 posts

my colossal rpg project that destroys scratch needs help

if any sprites are taking up stuff use the
create clone of [ v]
if <clone id = 3> then
broadcast [ v]
Pengufenhoffer
Scratcher
100+ posts

my colossal rpg project that destroys scratch needs help

RiftPatch wrote:

if any sprites are taking up stuff use the
create clone of [ v]
if <clone id = 3> then
broadcast [ v][/quote]
Thing is, I've been doing this a lot, but it's kind of hard for npcs who are on screen at the same time.

Last edited by Pengufenhoffer (Oct. 16, 2024 20:30:04)


I'm Pengufenhoffer, currently working on a (short, simple) full-scale RPG entirely on Scratch. https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/419687729/
Pengufenhoffer
Scratcher
100+ posts

my colossal rpg project that destroys scratch needs help

GamesReinvented wrote:

Mr_PenguinAlex wrote:

Pengufenhoffer wrote:

Regarding the “insert disc 2” solution, you know any way I could have user data transferred between the different projects without the user having to actively copy and paste a save code?
there's no way to do that unfortunately
There is, but it's inconsistent and temporary data, rather than permanent. It uses the translate extension, but i don't know too much about it and can't explain it here.
I'm definitely gonna look into that, thanks!

I'm Pengufenhoffer, currently working on a (short, simple) full-scale RPG entirely on Scratch. https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/419687729/
Pengufenhoffer
Scratcher
100+ posts

my colossal rpg project that destroys scratch needs help

Pengufenhoffer wrote:

RiftPatch wrote:

if any sprites are taking up stuff use the
create clone of [ v]
if <clone id = 3> then
broadcast [ v][/quote]
Thing is I've been doing this a lot, but it's kind of hard for npcs who are on screen at the same time.

I'm Pengufenhoffer, currently working on a (short, simple) full-scale RPG entirely on Scratch. https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/419687729/

Powered by DjangoBB