Search found 2472 matches

by Alex
Tue May 26, 2020 12:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Game stops when no actions
Replies: 6
Views: 155

Re: Game stops when no actions

If you add this to the screen, player won't be able to progress in game while this screen is shown.

Code: Select all

key 'dismiss' action NullAction()
https://www.renpy.org/doc/html/screens.html#key
by Alex
Mon May 25, 2020 5:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Game stops when no actions
Replies: 6
Views: 155

Re: Game stops when no actions

It would be better if you'll provide the code you have so far. What do you mean by 'exiting' - returning to main menu or exiting the screen, or..? When you run your project, the code is executed line by line until it reaches the point where it should return back to main menu. Some statements (comand...
by Alex
Sun May 24, 2020 4:58 pm
Forum: Ren'Py Cookbook
Topic: Simple minigames (Screen Language only).
Replies: 91
Views: 44342

Re: Simple minigames (Screen Language only).

... I meant that each move can be used only a couple times per battle, like what you were saying "using a supermove only 3 times per battle". I was planning on using it with the one on one battle. while (wolf_hp > 0) and (red_hood_hp > 0): menu: "Atack!": $ wolf_hp -= 2 r "K-y-aaa!!!11 (damage deal...
by Alex
Sun May 24, 2020 4:51 am
Forum: Ren'Py Cookbook
Topic: Simple minigames (Screen Language only).
Replies: 91
Views: 44342

Re: Simple minigames (Screen Language only).

...I was just wondering, on the battle sequence thing you've created, is there a way to make it so you can choose an option only x amount of times? Sort of like Pokemon PP for the moves?... Hi, ForeverAScone! What battle sequence you plan to use (1 on 1 or group one)? And how it works "you can choo...
by Alex
Sat May 23, 2020 8:46 am
Forum: Ren'Py Questions and Announcements
Topic: BUG: save that brings you back to previous point
Replies: 4
Views: 112

Re: BUG: save that brings you back to previous point

How did you 'call' your game and how did you return back to main gameflow?
Can you show a test script (some text in label, calling some label instead of actual game, returning back), will it work for you or will give the same issue with saving/loading?
by Alex
Wed May 20, 2020 2:24 pm
Forum: Ren'Py Questions and Announcements
Topic: How to have an Imagebutton in Viewport? [Solved]
Replies: 2
Views: 127

Re: How to have an Imagebutton in Viewport?

...How do I convert this so that instead of a viewable and scrollable list of text and static images it is a viewable and scrollable list of text and selectable images? ... Just replace text and image with the imagebutton. Since you making an inventory, I suppose you have a list of items, so you co...
by Alex
Mon May 18, 2020 9:32 am
Forum: Ren'Py Questions and Announcements
Topic: Button actions
Replies: 6
Views: 165

Re: Button actions

... So can I do something like below?... While you can, take in mind that showing screen won't stop Ren'Py from executing your code farther. So, the exact code you've posted will show your button screen and immediately run the 'hello_world' label (the next line of code). Check this thread - https:/...
by Alex
Mon May 18, 2020 6:55 am
Forum: Ren'Py Questions and Announcements
Topic: Button actions
Replies: 6
Views: 165

Re: Button actions

Hi I'm a bit confused Is the screen action the right way to make a button doing something on click? I mean, I'm using an imagebutton so when I click on it I want a text to appear, do I have to call a screen with the text in it? That depends of what you trying to achieve. This might be screen button...
by Alex
Sat May 16, 2020 4:28 am
Forum: Ren'Py Questions and Announcements
Topic: Create a "like" button, which only counts up once
Replies: 4
Views: 263

Re: Create a "like" button, which only counts up once

Try to add one more property to chat object to track if player liked it or not. So, if player haven't liked it yet, button will add 1 to likes, otherwise subtract 1.
by Alex
Tue May 12, 2020 3:16 pm
Forum: Ren'Py Questions and Announcements
Topic: How to change the scale of custom Namebox?
Replies: 1
Views: 109

Re: How to change the scale of custom Namebox?

Try either set the namebox width big enough to keep any name you'll use in your game, or change the namebox borders

Code: Select all

define gui.namebox_borders = Borders(8, 8, 8, 8)
https://www.renpy.org/doc/html/gui.html#borders
by Alex
Mon May 11, 2020 4:04 am
Forum: Completed Games
Topic: Kasuka
Replies: 75
Views: 24296

Re: Kasuka

Didn't found this game..., but you could try some other retro games - https://games.renpy.org/
by Alex
Thu May 07, 2020 1:54 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Have NVL mode fit in a box
Replies: 11
Views: 668

Re: Have NVL mode fit in a box

Kinmoku wrote:
Tue May 05, 2020 4:49 am
...
Try

Code: Select all

            viewport id "vp":
                #draggable True
                yinitial 1.0
This might be that game isn't progress 'cause it treats mouse click over the viewport as an attempt to drag it.
by Alex
Sat May 02, 2020 3:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Showing game stats on file slots?
Replies: 24
Views: 401

Re: Showing game stats on file slots?

... Looks like you ought to move all the sizing and other stuff to the 'save_slot' screen. In 'test_save_scr' then you can use your own variables, like $ store.save_name = name+", "+job+"|"+money+"|"+clef+"|"+hours+" h and "+minutes+" m in town"+"|"+metnum+"|"+maxnum+"|"+songs hbox: text "{size=16}...
by Alex
Sat May 02, 2020 2:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Showing game stats on file slots?
Replies: 24
Views: 401

Re: Showing game stats on file slots?

... Hm, in my sample 'save_name' variable is used as it usually used. So, as long as your 'save_name' variable is stored in save file it should show up in load screen properly. Check if you set it properly in "test_save_scr" screen (in my sample). Also, check the "file_slots" screen if you use the ...
by Alex
Sat May 02, 2020 11:45 am
Forum: Ren'Py Questions and Announcements
Topic: Showing game stats on file slots?
Replies: 24
Views: 401

Re: Showing game stats on file slots?

...My problem here is that "save_name" takes only one string and, as I said in my original post, I'd like to have some parts of the text aligned to the left, others to the center and others to the right. ... You could try to make such a system: - make a screen to dynamicaly set 'save_name' variable...