How Do I Find Errors In My Code?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
AllegraTown
Newbie
Posts: 13
Joined: Wed Jul 04, 2018 10:12 pm
Projects: ARTISAN
Organization: The Order Of The Frame
Contact:

How Do I Find Errors In My Code?

#1 Post by AllegraTown »

Hey! So my game is just a few weeks from being released and my play testers found several tiny errors in my code (misspelled labels, missing assets etc.) My question is "is there an automated way to check for these kinds of errors that I might have missed without having to replay the entire game"? I've tried to research this but I haven't found anything that can let me perform this particular task if it's even possible (This is my first game so I'm learning on the fly). I don't mind a misspelled word here or there but if it breaks the game or leads to an error, I will need to find them before I can confidently release my game. Appreciate you all and thanks for your help :)

User avatar
Per K Grok
Miko-Class Veteran
Posts: 882
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
itch: per-k-grok
Location: Sverige
Contact:

Re: How Do I Find Errors In My Code?

#2 Post by Per K Grok »

AllegraTown wrote: Sat Jan 15, 2022 1:00 am Hey! So my game is just a few weeks from being released and my play testers found several tiny errors in my code (misspelled labels, missing assets etc.) My question is "is there an automated way to check for these kinds of errors that I might have missed without having to replay the entire game"? I've tried to research this but I haven't found anything that can let me perform this particular task if it's even possible (This is my first game so I'm learning on the fly). I don't mind a misspelled word here or there but if it breaks the game or leads to an error, I will need to find them before I can confidently release my game. Appreciate you all and thanks for your help :)
You can use "Check Script (Lint)" from the Ren'py launcher. Looking under Actions.

User avatar
AllegraTown
Newbie
Posts: 13
Joined: Wed Jul 04, 2018 10:12 pm
Projects: ARTISAN
Organization: The Order Of The Frame
Contact:

Re: How Do I Find Errors In My Code?

#3 Post by AllegraTown »

Oh wow, it worked! I never even thought to choose that Action! Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users