Search found 541 matches

by Per K Grok
Wed Nov 20, 2019 6:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Voting for someone based on a percentage?
Replies: 7
Views: 136

Re: Voting for someone based on a percentage?

okay so, i have 4 characters that can be voted for let’s just call them A, B, C and D the player must convince other people to vote for someone specific. $ votea = 0 $ voteb = 0 $ votec = 0 $ voted = 0 player “You should vote for B” $ voteb += 1 throughout the whole thing different characters will ...
by Per K Grok
Mon Nov 18, 2019 1:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Wait for a mouse click function
Replies: 1
Views: 102

Re: Wait for a mouse click function

Hi All, I am looking for a way to wait for a mouseclick and then see the coordinates of the click. I was hoping for something nice and easy like: $ x, y = renpy.waitForMouseClick() But no such luck it seems. I found pause and get_mouse_pos() but pause will continue after a keypress as well and I ne...
by Per K Grok
Sun Nov 17, 2019 6:34 am
Forum: Ren'Py Questions and Announcements
Topic: How to remove the SAVE menu?
Replies: 2
Views: 124

Re: How to remove the SAVE menu?

When you pause the game, there's a save menu. But, how do I remove it completely? Thanks :) There is, to the best of my knowledge not a specific Pause Mode in Ren'py (but I'm slightly behind in updating version, so if it is something recently added I would not know). But I don't see that there woul...
by Per K Grok
Sat Nov 16, 2019 4:26 am
Forum: Ren'Py Questions and Announcements
Topic: menu: causing ValueError, unable to have simple menu in game :(
Replies: 3
Views: 132

Re: menu: causing ValueError, unable to have simple menu in game :(

I am getting an unsupported format character error message when my game reaches a menu. I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 84, in script call call beginning File "game/story.rpy", line 16, in script menu: ValueError: unsupported form...
by Per K Grok
Wed Nov 13, 2019 3:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Dynamic way to add videos need HELP
Replies: 4
Views: 241

Re: Dynamic way to add videos need HELP

Thanks for your help but it is not working. I tried to put your code in different places but still nothing. The fault is always the same: Can't register channel outside of init phase. The game not starting just this fault comes up. I hope you or somebody have an another idea. Well it seems like mov...
by Per K Grok
Wed Nov 13, 2019 3:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Random choice ONLY from True variables
Replies: 1
Views: 140

Re: Random choice ONLY from True variables

I have a scene where my characters are returning from the beach and I'd like them to randomly equip one of their swimsuits. But only from the ones they've bought from the shop. default swimsuit = 0 # 0 character wears no swimsuit. 1 character wears swimsuit1, etc. default swimsuit1 = True default s...
by Per K Grok
Tue Nov 12, 2019 1:36 am
Forum: Ren'Py Questions and Announcements
Topic: Dynamic way to add videos need HELP
Replies: 4
Views: 241

Re: Dynamic way to add videos need HELP

I just want to know the way I can add the videos like the dynamic images. Thanks Again! In your code you first define an image as a movie with the name of the movie as a variable. You then later defines what that variable stands for. That will not work. You need to do it the other way around. try $...
by Per K Grok
Mon Nov 11, 2019 1:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with Imagemap and Quickmenu
Replies: 2
Views: 173

Re: Help with Imagemap and Quickmenu

I decided to try to make an imagemap menu for my game using This Tutorial , I followed every step, and my navigation screen code looks something like this: ## Navigation screen ########################################################### ## ## This screen is included in the main and game menus, and ...
by Per K Grok
Sun Nov 10, 2019 2:18 am
Forum: Ren'Py Questions and Announcements
Topic: Sniper Minigame animation - possible?
Replies: 2
Views: 224

Re: Sniper Minigame animation - possible?

I've been working on creating a sniper minigame within Renpy, sort of inspired by the "Sniper Assassin" series of Flash games, just to see what is possible with the renpy engine. (They are worth checking out for 5 min for a laugh). So far I've got most of it working, using a mix of AlphaBlend and C...
by Per K Grok
Sat Nov 09, 2019 6:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Text Message-Like Dialogue System in Renpy
Replies: 1
Views: 208

Re: Text Message-Like Dialogue System in Renpy

Hi everyone! I was wondering if it's possible with Renpy's engine to make a text-like dialogue system. I'm trying to achieve a style in which a box of text pops up, with a character sprite to one side of the box and as you press space/click, the dialogue boxes of other characters pop up. The previo...
by Per K Grok
Fri Nov 08, 2019 2:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Made a skin color screen [Solved] See her new 6 shades
Replies: 18
Views: 851

Re: Help! I need to make a skin color screen/dress-up screen [Help! unsolved]

image bg gray="#777" default skinNumber=1 default face='h' screen papperdoll(): if skinNumber==1: add "skin1.png" if face== 's': image = "skinsadl.png" elif skinNumber==2: add "skin2.png" if face== 's': image = "skinsadm.png" elif skinNumber==3: add "skin3.png" if face== 's': image = "skinsadd.png"...
by Per K Grok
Thu Nov 07, 2019 2:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Made a skin color screen [Solved] See her new 6 shades
Replies: 18
Views: 851

Re: Help! I need to make a skin color screen/dress-up screen [Help! unsolved]

------- Every time I try to show the "sad" image I always get an error. Here is what I've been typing. label starting: show screen dressup_button show screen dressup $ dressup_button_show = True $ dressup_show = False show sad "hello. I'm sad" There is no connection between show sad and the screen....
by Per K Grok
Thu Nov 07, 2019 1:37 pm
Forum: Ren'Py Cookbook
Topic: color map
Replies: 2
Views: 176

Re: color map

Mutive wrote:
Thu Nov 07, 2019 12:35 pm
Oooh, this is a nice simple example which I may end up using if I ever work on a point and click game. :) Thanks for posting!
Thanks. I appreciate your comment. :)
by Per K Grok
Wed Nov 06, 2019 6:10 pm
Forum: Ren'Py Cookbook
Topic: color map
Replies: 2
Views: 176

color map

Fbv9aSkU3Jk Using a color map loaded to a surface to mark up areas on the game screen. screen checker(): text str(mX) + ":" + str(mY) text str(inout) ypos 20 text teller pos (mX, mY-20) color "#F00" label start: label room: scene room show screen checker $ floor=im.load_surface("images/colormap.png...
by Per K Grok
Wed Nov 06, 2019 2:06 am
Forum: Ren'Py Questions and Announcements
Topic: Made a skin color screen [Solved] See her new 6 shades
Replies: 18
Views: 851

Re: Help! I need to make a skin color screen/dress-up screen [Help! unsolved]

What do I write to change the expression? I put, "show h" but it won't show the image. An undefined image shows up instead. I did one mistake when typing this line add *images/happy1.png* pos (40,50) I used * instead of " around the address to the image (tired and bad lightning maybe), and then cop...