Because it's a good idea
Avoid learning from any game that starts with something that looks like:
Python:
init:
$ myvariable1 = 0
$ myvariable2 = 0
$ myvariable3 = 0
-or-
Python:
init python:
myvariable1 = 0
myvariable2 = 0
myvariable3 = 0
Regarding variable declaration, this too is bad practice:
Python:
label whatever:
$ myvariable1 = 0
$ myvariable2 = 0
$ myvariable3 = 0
And of course, there's this that is a really bad omen:
Python:
default MC = Character( "mc" )
Variables that are constants shouldn't be savable.
On the same topic there's still some who are doing that kind of error:
Python:
define mc = Character( "[mc]" )
label start:
"What's name do you want to use"
$ mc = input( "Your name" )
Should also be added the (still too frequent):
Python:
label whatever:
show screen whatever
pause
jump whatever
And its variations (there's too many to present them all).
The dev want a blocking screen that will wait for the player input, but neither use the
You must be registered to see the links
, nor the
You must be registered to see the links
syntax, that are made for this.
The use of
show imageName
when all the CGs are full screen.
Not understanding the difference between
You must be registered to see the links
and
You must be registered to see the links
, while they are the basis of any Ren'Py game is a really bad omen.
Talking about bad omen, the use of
You must be registered to see the links
without related
You must be registered to see the links
is also a strong one.
It's perfectly possible, and totally legit, to have the
return
in another label:
Python:
label whatever:
[...]
call calledLabel
label calledLabel:
[...]
if someCondition:
jump subCalled1
else:
jump subCalled2
label subCalled1:
[...]
return
label subCalled2:
[...]
return
But it must
always be ended by a
return
.
Doing so show a strong misunderstanding of how the game flow works.
Also a bad omen are games that copy/paste a big part of their code because of a small variation, especially when it regard the CGs:
Python:
label whatever:
menu:
"what swimsuit should she wear ?"
"The red one":
jump beachRed
"The green one":
jump beachGreen
label beachRed:
scene beach001red
girl "Wow, it's beautiful here."
[...]
label beachGreen:
scene beach001green
girl "Wow, it's beautiful here."
[...]
Here it's more excusable, but it's also not really difficult to find information on how to avoid this. It's been years that people promote the right way, and there's many games displaying it, some being already more than 5 years old.
More subtle, and so alas harder to catch, screens that handle all the action and update themselves for a long period are also to avoid.