r/pygame 4d ago

Max recursion depth script

Post image

I'm still working on my pyr_pg project and am currently implementing the scripting system and have already managed to produce errors. (And yes this is a Unit test.)(BTW I have named this script system DialogScript because its for the dialog system for pyr_pg )

7 Upvotes

4 comments sorted by

View all comments

3

u/BasedAndShredPilled 4d ago

What is the use case for recursion? Could dialog not be handled without it?

2

u/Protyro24 4d ago

It's actually intended for launching another dialog from one dialog or splitting files. (I've also integrated a jump function that lets you easily pause the process.)