Search found 134 matches

by thexerox123
Sat Feb 11, 2023 11:20 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!

Sorry, I've actually got another question! I still need to add the gifts that are going to be carried by the cranes, and have them switch to wrapped when the cranes switch to "done". I've looked into a few different ways to go about it, but am not sure what would work... should it be its o...
by thexerox123
Fri Feb 10, 2023 12:16 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!

Thank you again SO much, _ticlock_! I've got the crane game working and integrated into my game! CraneGame.png Made a few tweaks so far, and I'm definitely starting to have a better grasp of classes, now. Did manage to make it skip the difficulty select label so that it's integrated into the narrati...
by thexerox123
Wed Feb 08, 2023 6:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - (Update) Screens, Inputs, Gameloops

Yes, that did it, that got it working in both implementations, thank you! :)

Now to fine-tune!
by thexerox123
Wed Feb 08, 2023 5:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - (Update) Screens, Inputs, Gameloops

I suggest putting all these pieces of code in one place and call l_crane_game from label start to see how it works. Hm. Both in trying to implement it with my assets, and just copying it over as-is as its own Renpy game, I'm getting some sort of issue where it calls one crane that just gets stuck i...
by thexerox123
Mon Feb 06, 2023 5:45 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - (Update) Screens, Inputs, Gameloops

Holy shit, thank you so much, I'm already starting to copy that over and go through it. A couple of questions already: where does the timer go? In the init of the displayable, but after the screen? And the other question, I wanted to introduce the game first through narrative, going up through the d...
by thexerox123
Mon Feb 06, 2023 10:47 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - (Update) Screens, Inputs, Gameloops

my buttons displayed, but no cranes. Basically you can make all logic inside python and set necessary variables as a result. Ideally you should use class for this purpose. The screen can use if statements to build the logic what and how should be displayed. Having a lot of similar lines of code is ...
by thexerox123
Sat Feb 04, 2023 8:10 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - (Update) Screens, Inputs, Gameloops

And added quotes around "cranechoose" in the screen. And added extra brackets for my randoms: def cranechoice(): cranechoose = renpy.random.choice(("blue","red","green","gold")) def columnchoice(): columnchoose = renpy.random.randint((1,5)) Still onl...
by thexerox123
Sat Feb 04, 2023 7:52 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - (Update) Screens, Inputs, Gameloops

Oop, nevermind, I found my issue, I had the defs within a class rather than straight in the init python. *facepalm*
by thexerox123
Sat Feb 04, 2023 7:35 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - (Update) Screens, Inputs, Gameloops

An instance of one of my attempted fixes: in crane_game_displayable: def cranechoice(): cranechoose = renpy.random.choice("CraneList") screen sloop(): $ cranechoice() if cranechoose == "blue": if blue_cranes == 0: $ loop() in script.rpy: define CraneList = ["blue", &quo...
by thexerox123
Sat Feb 04, 2023 7:27 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - (Update) Screens, Inputs, Gameloops

1) Personally, I'd use a screen for displaying cranes rather than `show` statements inside labels. I think. it is easier to write this type of logic using screen language. For this type of game, I would consider using this approach: label gameloop: # Possibly prepare some arguments for the screen, ...
by thexerox123
Fri Feb 03, 2023 1:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - (Update) Screens, Inputs, Gameloops

Ooh! I removed the redundant vbox: add "images/bg/bg CraneDesk.png" from my crane_controls screen, and the cranes actually started showing up! Still an utter mess that led to an infinite loop, but... one step closer! Oh... realized that with only one variable for each colour of crane, I'm ...
by thexerox123
Thu Feb 02, 2023 2:21 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - Creator-Defined Displayables

Okay, I've given it another shot using screens, and I feel like I'm getting closer, but not sure yet... I probably need to get the input loop working before it's not just an infinite loop crash? In my script, I declare: default crane_difficulty = "Easy" default C1_1 = 0 default C1_2 = 0 de...
by thexerox123
Mon Jan 23, 2023 1:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

Re: Minigame Help - Creator-Defined Displayables

Thank you so much for your response! :) I hadn't thought of doing it in screen language -- I guess I could have separate crane and arrow screens and see if I can somehow summon both in sync? A bit of context for why I'm going about it this way: I'm very new to Renpy, made 1 little proof-of-concept g...
by thexerox123
Fri Jan 20, 2023 3:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4592

[SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!

I'm trying my hand at making a Renpy minigame using creator-defined displayables for the first time, and I think I've reached a point where I could use a little guidance/advice on what I'm trying to do. The gist is that you're an elf, wrapping gifts that are coming out on cranes. To wrap them, you h...