Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
I have a grid of buttons which I make using a for loop. Over time, I add objects to a list, and that gets added to the grid. This usually causes a grid not full exception, so to avoid that I check if the length of the list and add an appropriate number of null statements, but it feels really clunky and there's probably a better way.
howManyNulls = 5 - (len(ach_list) % 6)
for i in range(howManyNulls):
null
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire, My Heart Grows Fonder, Man And Elf, A Dragon's Treasure, An Adventurer's Gallantry
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails