1) how can i do the navigation in game for move by rooms/location preset?
In many different ways. Among them, you can use
You must be registered to see the links
to represent the different locations :
Code:
screen navigation:
hbox:
xpos 10 ypos 10
imagebutton:
auto "location1_%s.jpg"
action Return( "location1" )
[...]
imagebutton:
auto "locationN_%s.jpg"
action Return( "locationN" )
Just show the "navigation" screen each time you need it, put it on an
You must be registered to see the links
, or
You must be registered to see the links
it on your main screen
You can use
You must be registered to see the links
and
You must be registered to see the links
to make each door on each location background clickable :
Code:
screen thisRoom:
imagemap:
auto "thisRoomBackground_%s.jpg"
hotspot( 10, 10, 100, 100 ) action Return( "location1" )
[...]
hotspot( 210, 210, 100, 100 ) action Return( "locationN" )
And even with just these two variations, you can
You must be registered to see the links
like I did, which need that you
You must be registered to see the links
, or you can
You must be registered to see the links
or
You must be registered to see the links
.
And it's just three of the possibles variations of two of the possibles way to do this.
2) how can i do a city map to navigate
For this, imagemap is the better option, but still not the only one.
with a hover image that work in different resolution?
You don't have to care about this. To simplify, Ren'py always works at the resolution provided by the configuration file, then reworks the screen to fit the effective resolution. So the images will always be at the expected place, this whatever the window size is 3000x3000 or 800x640.