Create your AI Cum Slut -70% for Mother's Day
x

Ren'Py Help creating a sandbox game

Headshunter

Newbie
Dec 23, 2017
61
56
Hey there everyone
I was wondering if it would be possible to get some help/guidance/tutorial/documentation on how to create a small renpy sandbox game, in particular I'm interested in creating a game inspired in Game of life by Teron, the elements I'd like to emulate/implement from his game are the time phases and the traveling, I have a basic understanding of renpy (at least im able to create a simple linear story and understand what things like variables, loops and statements are), I'm used to learning by example, as in a sample code I can look at and study to undertand how it works, so I'd appreciatte if anyone can provide me with basic sample code of both of those functions, even a guide on how to develop either by myself would be greatly appreciated, I understand that a sandbox is hardly advisable to someone at my current skill level, and I know I won't get anywhere in the short run, nor am I trying to, I just want a starting point from which I can fiddle around and figure things out, my current goal is to create/get a working three scenarios map with a few time phases and move from there until I can build the game I truly want to make.
I thank the cummunity in advance for the help, hoping you all to stay safe and have a nice day.
P.D. I've tried decompiling some games with those functions but I've struggled to make heads or tails about what I'm seeing, I suppose due to most of them being quite large and advanced for me to understand.
 

GNVE

Active Member
Jul 20, 2018
724
1,190
Creating a time system isn't that hard and multiple examples have been published. Try searching this forum for the examples (There are multiple examples with extensive descriptions).
I'd suggest an intro into python (there are tons of tutorials online both free and paid) so you understand better what you are doing and can solve some issues you run into.
Looking into the code of other games is a bit of a minefield. The code of other games might be very janky in itself so even if you did understand it you'd learn the wrong things from it. As you discovered it is also generally very hard to understand someone else's code unless it was written with sharing in mind.
 

79flavors

Well-Known Member
Respected User
Jun 14, 2018
1,639
2,306
Day/Night cycles...

Probably closest to what I'd do today...
https://f95zone.to/threads/simple-day-night-cycle.165647/post-11128974

A working example, with downloadable test game I wrote...
https://f95zone.to/threads/renpy-time-advance-issue.35438/#post-2695277

A thread where I cover some of the same points...
https://f95zone.to/threads/resetting-variables-based-on-variable-value-issue.59667/

My completely over the top solution, making use of python's built in datetime functions...
https://f95zone.to/threads/have-an-...now-how-to-write-the-code.75796/#post-5848292

All these are my posts, and each has their benefits and drawbacks. The posts are written as a stepping-stones, not as full solutions. Since the solutions are very much tied to whatever you're trying to accomplish at the the time.

There are a lot of excellent posts by other people, but it's easier to find my own - since I generally recall what I'm looking for.
 
Last edited:
  • Like
Reactions: Headshunter

Headshunter

Newbie
Dec 23, 2017
61
56
Day/Night cycles...

Probably closest to what I'd do today...
https://f95zone.to/threads/simple-day-night-cycle.165647/post-11128974

A working example, with downloadable test game I wrote...
https://f95zone.to/threads/renpy-time-advance-issue.35438/#post-2695277

A thread where I cover some of the same points...
https://f95zone.to/threads/resetting-variables-based-on-variable-value-issue.59667/

My completely over the top solution, making use of python's built in datetime functions...
https://f95zone.to/threads/have-an-...now-how-to-write-the-code.75796/#post-5848292

All these are my posts, and each has their benefits and drawbacks. The posts are written as a stepping-stones, not as full solutions. Since the solutions are very much tied to whatever you're trying to accomplish at the the time.

There are a lot of excellent posts by other people, but it's easier to find my own - since I generally recall what I'm looking for.
TYVM I'll check everything out and hopefully I can go from there, I just hope not to be dumb enough to take too long to get everything, much appreciated my dude