RenPy beginner questions

Lyka

Member
Game Developer
Aug 31, 2018
252
377
Hello,

right now im learning to use RenPy. i startet with a little "game" for it.

-------
Solved

however i don`t know how to create graphics.
Since i'm terrible at drawing- that isn't an option.
Is there a programm that allows me to draw graphics like in: Insexual Awakening and/or Love & Sex: Second Base
I don't want using Daz or Poser

--------
Solved
I got the script running the only thing i dont understand if i put it in a different file it wont work. if its in the script file with everything else it works fine.

--------
All of the previous problems was that i didn't define the new file as *.rpy
so it couldn't find any labels in other files
--------

i'm seaching for tutorials for:
a simple quest system (bring me x and get y for it)

looking forward to your suggestion
thank you very much

greetings Lyka
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,971
16,223
Next is, right now mostly everything is in script.rpy. it works so far however it gets more and more confusing this way. all the tutorials i've readed so far start with: "label start"
Yes, because Ren'py need to know where the game start. So, there's a mandatory label for this, the one that Ren'py will call to effectively start the game ; so when the player will hit the "start" button from the main menu.


if i put my little code in a diffrent file and let the script file empty how do i go on then?
Ren'py don't care about the files, it just care about the labels. You can put the "start" label in "[path to the game]/game/script/but/well/I/am/strange/notAScriptFile.rpy", Ren'py will not care and still find the "start" label.


label start wont work since i cant use it twice and if i change it to label xy it says label start not found ect.
Honestly, I didn't understood what you tried to say here.


if i use this then i'm back with the label start problem and i cant get it to show it on screen all the time.
Sorry if I will feel harsh, it's not my intend... But don't you think that you need to first understand what labels are and how they works, before trying to add such things as inventories and quests ?
Take the time to look at other games made by Ren'py, it's not like it's a rare thing here. Then take the time to understand the basis of Ren'py, by messing with the said games, mimicking them, and so on. It's only when you'll feel comfortable enough with the basis, that you'll be able to add way more specific parts like these ones.
An average learning curve with Ren'py is to simply display some dialog lines on the screen. Then adding few image change inside this dialog. After this, you try basic branching with menu, add a variable that will mark the branching, then split the code in more than one label, jumping or calling them. And finally, when you achieved to do this, you start to thinking about extending Ren'py capabilities.

Reading your questions, it really looks like you jumped to the last step without even trying the previous ones. Whatever how easy Ren'py is to use and learn, it's still a codding language. Students pass four years to learn how to code, and still need years after this to learn how to effectively do it.
You can't come and expect to understand Ren'py in a week. There's people here who talked about learning Ren'py and making a game, then effectively came back with a game many months later. They weren't lazy during all this time, they where learning. And if you don't have a previous coding experience, it can really take many months.


p.s. how can i add codes here?
By using the [ code ] and [/ code ] tags. Without the spaces of course.
 
  • Like
Reactions: Palanto

Lyka

Member
Game Developer
Aug 31, 2018
252
377
sorry that it was confusing. i'll try it again

i have a "label start:" in the game and it works so far. but if i want to toy around with the code above that has another "label start:" (i marked it now) and if i change it in "label one:" it wont work

and i dont expect learning a language in a week :)
 

HopesGaming

The Godfather
Game Developer
Dec 21, 2017
1,705
15,377
Just make a new label called 'new' or 'start2' or whatever and go on from there.

About the art. You're saying you do not wish to do 3D art, yet you also say you're terrible at drawing.
That is a bit of a dilemma.
The games you linked are not drag and drop art. They have been drawn. And there does not exist a simple program that will do a drag and drop art as you want to. Maybe some kid stuff, but those usually do not add hardcore sex in the drag and drop arts. And it's not something you can make a game out of.

So, before anything. Take aside 6-12 months. Ignoring everything but learning how to draw.
After you learned the basic of that you can look into the coding and stuff.
 
  • Like
Reactions: Palanto

Lyka

Member
Game Developer
Aug 31, 2018
252
377
oh crap i feared it.
what about all those rpg maker games they mostly use the same toons, arent they just ripped of those illusion games?
 

HopesGaming

The Godfather
Game Developer
Dec 21, 2017
1,705
15,377
That could be honey select and some other illusion games. Not that much into that to know about it.

But those are still 3d.
 
  • Like
Reactions: Palanto

Lyka

Member
Game Developer
Aug 31, 2018
252
377
and is it legal to cut them out?
or are there still copyright issues?

mean only cut out the figures not the background
 

HopesGaming

The Godfather
Game Developer
Dec 21, 2017
1,705
15,377
Not legal.
But haven't heard of a dev who uses honey select being shut down.
Maybe, if they get so successful that you'll be noticed by them. Otherwise, I think you're safe.

Your first work of the day should be what you want to use for the art and how to get it.
I think you are underestimating it a bit.
 
  • Like
Reactions: Palanto

Lyka

Member
Game Developer
Aug 31, 2018
252
377
i have a complete storyline and bio of the characters planed out. thats done long ago.
and if i can use backgroundimages and cut out the figures of the honey select games it
saves me alot of time as well. so i can focus back on coding.
however this starts first if my little demo project is further developed.
need to figure out a lot of stuff like the visual inventory ect.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,971
16,223
and is it legal to cut them out?
or are there still copyright issues?
It's not legal, but Illusion, who own the rights, don't care of what you do with their models.


mean only cut out the figures not the background
Like @HopesGaming said, it's still 3D. It mean that you'll have to select the character, make the pose, and all. It's way easier than using Daz3D, but it's not an already done thing.
 

Lyka

Member
Game Developer
Aug 31, 2018
252
377
The images are atm not the biggest problem since I know about illusion now.

Now it's all about the mechanic.
Need to learn a ton now.
I hope I can use my demo project to ask about stuff if I get stuck.

Does every game need a warning about content for adults as far as implemented?
 

Lyka

Member
Game Developer
Aug 31, 2018
252
377
how can i jump inside a menu back to the beginning of a menu
Code:
menu:
if result == "house":
    scene 1
    menu:
        "go inside":
            scene inside
            jump BACK TO IF RESULT
        "Back":
            jump map
Thanks :)
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,971
16,223
how can i jump inside a menu back to the beginning of a menu
It depend if you also need to jump from outside or not.

Code:
menu mainMenu:
   [...]
    menu .inside:
        "Oops, one more time please.":
            jump mainMenu
        "Repeat just the end.":
           jump .inside
 

Lyka

Member
Game Developer
Aug 31, 2018
252
377
ouside would be nice too.
so i can jump from a difrent label back
 

HopesGaming

The Godfather
Game Developer
Dec 21, 2017
1,705
15,377
ouside would be nice too.
so i can jump from a difrent label back
The fist menu you made is what @anne O'nymous refers to when saying outside. Not another label.
You have two menus. The main menu (outside) and the menu created inside that menu (inside)

To jump back to a menu you first have to name that menu. Can be anything

Code:
menu canBeNamedAnything:
   "bla bla":
        "bla bla"
         jump canBeNamedAnything
Now you can jump to any of the menus depending on what you call them.
To jump to another label all you have to do is write "jump whateverLabelIsCalled"
 

Lyka

Member
Game Developer
Aug 31, 2018
252
377
ok than i misunderstood him/her, however that menu from anne works already.
and how can i jump back from a diffrent label?
Code:
label abc:
menu123:
abc:
jump abd
############
label abd
"bla bla"
AND NOW jump back in menu from label abc
sorry about tabs but if i use tab her i jump outside
 

Bruni Multimedia

Well-Known Member
Donor
Game Developer
May 24, 2017
1,456
2,109
you don't need to. Instead of using "Jump abd" use "Call abd" and end that one with a "return"
That way it will resume playing "abc" from the point where it left it

label 1:
do something
call 2
//returns here after 2 has been executed
do something else

label 2:
do something special
return
 

Lyka

Member
Game Developer
Aug 31, 2018
252
377
how can i make a selfstarting event on day 20?
i have a day system as well day night sycle.

Code:
label fr:
    $ day = 20
    $ time = 1
    call updatestats from _call_updatestats_23
    jump anotherlabel
thanks again.
 

Porcus Dev

Engaged Member
Game Developer
Oct 12, 2017
2,582
4,705
how can i make a selfstarting event on day 20?
i have a day system as well day night sycle.

Code:
label fr:
    $ day = 20
    $ time = 1
    call updatestats from _call_updatestats_23
    jump anotherlabel
thanks again.
You can use this:
Code:
if day == 20:
     whatyouwannado
or, if you need to specity day night cycle:
Code:
if day == 20 and time == 1:
     whatyouwannado
Update: I made mistake putting "$" symbol and it doesn't have to be, now it's correct.