VN Ren'Py Freeroaming and map exploring

Yass4Fake

Arabasta is a nightmare
Game Developer
Jun 27, 2019
43
26
Hey i am making a game where the story is so important and its heavily influenced by economics and its settings are in a desert city and it contains some fantasy in it i want to know if i add some kind of free roaming or map exploring how can i add it with the least coding needed and also without getting away from the story and making a grinding machine instead of the game i want
 

Meaning Less

Engaged Member
Sep 13, 2016
3,539
7,178
The least coding needed is going to be simply using the default choice menu from renpy to make the player choose where to go or what to do in each map.

But the exact ammount of coding needed will vary depending on how deep you want those mechanics to be.
 

Yass4Fake

Arabasta is a nightmare
Game Developer
Jun 27, 2019
43
26
The least coding needed is going to be simply using the default choice menu from renpy to make the player choose where to go or what to do in each map.

But the exact ammount of coding needed will vary depending on how deep you want those mechanics to be.
The kind of frrroaming there is on vae victis or summertime saga
 
  • Like
Reactions: Doorknob22

Meaning Less

Engaged Member
Sep 13, 2016
3,539
7,178
The kind of frrroaming there is on vae victis or summertime saga
Exactly, people call it sandbox here, it's the simplest form of freeroaming.

Give the player several buttons and depending on the button they click something different happens.

Games like summertime saga simply display those buttons as images, this gives the player the impression that they are navigating an environment when in fact they are just clicking buttons.

With renpy, if you know how to use the menu and know how to create variables then you should already be able to create a simple freeroam experience with dialogue options alone.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,976
16,231
With renpy, if you know how to use the menu and know how to create variables then you should already be able to create a simple freeroam experience with dialogue options alone.
Basically it can be done with just this kind of code:
Python:
screen map():

   add "background.jpg"

   imagebutton:
       idle "location1.jpg"
       xpos 100 ypos 100
       action Jump( "location1hub" )

   imagebutton:
       idle "location2.jpg"
       xpos 100 ypos 150
       action Jump( "location2hub" )

label location1hub:
    if not thisFlag:
       "You can't go there."
       call screen map

    if thisVar == 1:
        jump thisEvent
    elif thisVar == 2:
        jump thatEvent
    [...]
 

Yass4Fake

Arabasta is a nightmare
Game Developer
Jun 27, 2019
43
26
Basically it can be done with just this kind of code:
Python:
screen map():

   add "background.jpg"

   imagebutton:
       idle "location1.jpg"
       xpos 100 ypos 100
       action Jump( "location1hub" )

   imagebutton:
       idle "location2.jpg"
       xpos 100 ypos 150
       action Jump( "location2hub" )

label location1hub:
    if not thisFlag:
       "You can't go there."
       call screen map

    if thisVar == 1:
        jump thisEvent
    elif thisVar == 2:
        jump thatEvent
    [...]
That was very helpful thank you