MrFluffums
Member
- Dec 23, 2024
- 124
- 311
Absolute legend Foxy!
To answer your question about debugging: shift-d opens the developer menu, which includes a variable viewer.
If you want to print something, it's important that Ren'Py has two modes for code: Ren'Py and Python code.
If you're in a label for instance (so executing Ren'Py code) and only need to execute a single command as Python code, you can precede it by $ to let Ren'Py know it's Python code. Because print is a Python function, you'd therefore have to use '$ print(myvar)' to print the value of myvar to the console.
If someone finds my posts explaining Ren'Py annoying / offtopic please mention it to me, and I'll just answer to PM directly instead of posting in this topic. But personally I thought it might be interesting for people even if they have no experience with programming to see a glimpse of how BSC works 'under the hood' so to speak
I suspect BSC is a gateway drug to Ren'Py for not an insignificant amount of people.
Pleevy, I might not have been entirely serious when I complained how unfair it was I can't brag about badly programming a babysitter game
Although I had considered basically ripping out all the dubious content from Cubsitting Simulator to create a sanitized version, and pass it off in my portfolio as a very short game about babysitting, inviting neighbourhood kids over, and getting thanked in the end that you took good care of the kids while nothing really happened.
But if I did that I'm worried that any prospective new employer would Google snippets of code and accuse me of plagiarizing my own game about fucking underage funny animals XD
To answer your question about debugging: shift-d opens the developer menu, which includes a variable viewer.
If you want to print something, it's important that Ren'Py has two modes for code: Ren'Py and Python code.
If you're in a label for instance (so executing Ren'Py code) and only need to execute a single command as Python code, you can precede it by $ to let Ren'Py know it's Python code. Because print is a Python function, you'd therefore have to use '$ print(myvar)' to print the value of myvar to the console.
If someone finds my posts explaining Ren'Py annoying / offtopic please mention it to me, and I'll just answer to PM directly instead of posting in this topic. But personally I thought it might be interesting for people even if they have no experience with programming to see a glimpse of how BSC works 'under the hood' so to speak
Pleevy, I might not have been entirely serious when I complained how unfair it was I can't brag about badly programming a babysitter game
But if I did that I'm worried that any prospective new employer would Google snippets of code and accuse me of plagiarizing my own game about fucking underage funny animals XD