Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » RPG game
- VotedSilver
-
Scratcher
9 posts
RPG game
My repeat block is being weird, when i use it, for some random reason it glitches out (like deletes my sprite) but when i just repeat the code normally like duplicate it, it works just fine. for reference check this link
https://www.youtube.com/watch?v=nvB9chNNl2s&t=765s
Pls helpp i have a bet to complete this game asap.
https://www.youtube.com/watch?v=nvB9chNNl2s&t=765s
Pls helpp i have a bet to complete this game asap.
- VotedSilver
-
Scratcher
9 posts
RPG game
@Jlerpy, this is the project: https://scratch.mit.edu/projects/919850758/
The code mentioned above is in the “TileSprite” sprite
The code mentioned above is in the “TileSprite” sprite
- VotedSilver
-
Scratcher
9 posts
RPG game
Share your project?
@Jlerpy, this is the project: https://scratch.mit.edu/projects/919850758/
The code mentioned above is in the “TileSprite” sprite
- Jlerpy
-
Scratcher
1000+ posts
RPG game
I can't see the problem. There's a little guy and you can roam around quite happily. Tiles seem to load in fine. What's the trouble?
- VotedSilver
-
Scratcher
9 posts
RPG game
could
I can't see the problem. There's a little guy and you can roam around quite happily. Tiles seem to load in fine. What's the trouble?you check the code now? b4 i made it so that only i could access the editor program
- -cloudcoding-
-
Scratcher
1000+ posts
RPG game
okay I see the problem, when you press 0 this script activates
and the render script gets blocked by this script
so if you don't want that to happen remove the if in the second script
and the render script gets blocked by this script
so if you don't want that to happen remove the if in the second script- deck26
-
Scratcher
1000+ posts
RPG game
Why does CAMX change when you enter Edit mode? (It happens because of the value of tmp in Move Camera but I understand why it should be doing so.)
If you take out the Paint - Palette custom block call the basic editing still works - you can select blocks and duplicate them in different places. So the Paint - Palette code is probably where to look.
If you take out the Paint - Palette custom block call the basic editing still works - you can select blocks and duplicate them in different places. So the Paint - Palette code is probably where to look.
- deck26
-
Scratcher
1000+ posts
RPG game
OK, found the rreason for the tmp variable so ignore that.
So I looked at the Paint - Palette block and got it to display the black area OK and a single tile but not multiple tiles. I checked that the ‘'no screen refresh’ option was selected and it isn't.
Does that fix the problem?
So I looked at the Paint - Palette block and got it to display the black area OK and a single tile but not multiple tiles. I checked that the ‘'no screen refresh’ option was selected and it isn't.
Does that fix the problem?
- Discussion Forums
- » Help with Scripts
-
» RPG game




