Discuss Scratch

bruhhhhhh748
Scratcher
46 posts

Need help with rpg

I’m making this rpg style game but for some reason the text engine doesn’t work when everything else is running. So if i click when the project is stopped it works but if i click it when the project is running it doesn’t work. https://scratch.mit.edu/projects/733416080/editor/

Last edited by bruhhhhhh748 (Sept. 18, 2022 01:18:24)

bruhhhhhh748
Scratcher
46 posts

Need help with rpg

I think it has something to do with the tick block in the player sprite
Angel_DJYT
Scratcher
24 posts

Need help with rpg

Not really help, but rather a suggestion: Go wtch griffpatch to help with your confusion: https://youtube.com/playlist?list=PLy4zsTUHwGJJM6OFblu_t-5I5Yw5SxvhT
legendary34678
Scratcher
1000+ posts

Need help with rpg

This is because you are adding 1000 items to a list. That takes a lot of time and is inefficient. Instead, use something like this:

definetypemessagesetindexto1Keeps track of which letter we are onshowgotox:y:Go to starting positionrepeatlengthofmessageswitchcostumetoletterindexofmessagecreatecloneofmyselfchangexbyWidth of a letterchangeindexby1Repeat only as much as we needhide
bruhhhhhh748
Scratcher
46 posts

Need help with rpg

Could i also have some help with a collision system so it doesn't just stop dead when the player hits the walls

Last edited by bruhhhhhh748 (Sept. 18, 2022 03:36:02)

legendary34678
Scratcher
1000+ posts

Need help with rpg

Just have the player attempt to move and then back up if it touches a wall (use a custom block with “run without screen refresh” checked). I would recommend that you make a new topic if you have a new question, though.
bruhhhhhh748
Scratcher
46 posts

Need help with rpg

Ok, thanks

Powered by DjangoBB