Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Thank you for the much needed input, This is the first game I have made on my own and not for school. I am very inexperienced in the developing of these games but I am a very avid consumer so I understand what makes these games popular, but This intro was just meant to catch the eye of people who will hopefully stick with this project. I do plan to implement some sound, namable protagonist, custom font, and a gallery in the next update. Can I use that updated script you made? I am using the basic knowledge I have of python and the ren'py engine so this simple solution helps me tremendously to clean up the mess my code was.


Thank you,

TOILETdev

(1 edit)

That's what it's there for so go ahead and use it.

Good luck with your game!

Gallery shouldn't be too hard if you make a simple one with imagebuttons and the example mentioned above.

https://www.renpy.org/doc/html/style_properties.html

idle - the image for when an item appears on screen but isn't hovered or clicked.

hover - when the image is hovered over with the mouse and clicked.

insensitive - it's disabled for whatever reason.

imagebutton auto "gui/gallery/h-scene01_%s.png" action Replay("Ll", scope={"player_name": persistent.player_name or "Jacob"})

the "auto" part fills in the "%s" with one of those states so have images called:

h-scene01_idle.png

h-scene01_hover.png

h-scene01_insensitive.png

Having three helps the player know they can interact with it yet you can get around with only idle and hover if you make a generic locked image though you might want to do that without using auto.  Replay by default will report if the scene can be replayed if the player has seen the label but if they haven't it switches to insensitive.  Insensitive can be used to give hints about the scene.

For a bit more finesse you could even include tooltips

https://www.renpy.org/doc/html/screen_actions.html#tooltips
https://www.renpy.org/doc/html/screens.html?highlight=grid#grid