Search found 733 matches

by Milkymalk
Sun Apr 03, 2022 2:48 pm
Forum: Ren'Py Questions and Announcements
Topic: How to use the Screen Input not during the game?
Replies: 2
Views: 336

Re: How to use the Screen Input not during the game?

Look at the description for input:
https://renpy.org/doc/html/screens.html ... nput#input

You are only showing the console screen, but you need to call it. You can scrap the function for toggling the screen completely, a called screen will hide when it returns something, which input does.
by Milkymalk
Sun Apr 03, 2022 2:42 pm
Forum: Ren'Py Questions and Announcements
Topic: X-ray effect around cursor?
Replies: 3
Views: 591

Re: X-ray effect around cursor?

Why not make it the other way around? Instead of making the top image transparent, you could paste a portion of the "lower" image on top of the top image where the cursor is. First get the mouse coordinates, then crop the X-ray image to whatever it should show at these coordinates, then display that...
by Milkymalk
Sun Apr 03, 2022 2:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Undertale-Like Game
Replies: 3
Views: 366

Re: Undertale-Like Game

You can randomize using renpy.random: https://www.renpy.org/doc/html/other.html#renpy-random You can put anything pretty much anywhere on the screen. A minigame is usually confined to its own screen (that is, Renpy "screen"), which contains objects that you can place with attributes like anchor, ali...
by Milkymalk
Fri Apr 01, 2022 7:24 pm
Forum: Ren'Py Questions and Announcements
Topic: "return" to specific label?
Replies: 2
Views: 228

Re: "return" to specific label?

Oh, thank you, that's handy!
I've been absent for a while so I probably missed a lot of little additions.
by Milkymalk
Fri Apr 01, 2022 6:53 pm
Forum: Ren'Py Questions and Announcements
Topic: "return" to specific label?
Replies: 2
Views: 228

"return" to specific label?

Is there a way to use the "return" statement to return not to the point where the label was called, but to any other label? Alternatively, is there a way to remove the last call from the stack so I can just "jump" where I want to be? Otherwise I need to use variables and do strange checks after the ...
by Milkymalk
Wed Jun 17, 2020 4:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Adding 'tags' to objects in my Inventory ...
Replies: 2
Views: 259

Re: Adding 'tags' to objects in my Inventory ...

variable = ["hat"] means it is a list. With variable.append("socks"), you can add more elements to the list, or you make it variable = ["hat", "socks", "shirt"] from the beginning. Basically the same as in Twine, just minor changes to syntax.
by Milkymalk
Tue Jun 09, 2020 3:20 am
Forum: Creator Discussion
Topic: [CLOSED POLL!] Winner: MAKE A RYTHM GAME!
Replies: 18
Views: 3772

Re: [POLL!] What tutorial for this forum?

A! Especially since in my experience (and I was also told this) Ren'py's engine is not exact enough to sync music and animations.
by Milkymalk
Tue Jun 09, 2020 2:41 am
Forum: Asset Creation: Art
Topic: Body position feedback
Replies: 1
Views: 5848

Re: Body position feedback

While you *can* turn your head about 90°, it is very uncomfortable and you'd normally turn your upper body a little bit too so your neck isn't strained as much.
by Milkymalk
Fri May 29, 2020 2:25 pm
Forum: Ren'Py Questions and Announcements
Topic: How to show both AnimatedValue AND the value that's changing?
Replies: 7
Views: 360

Re: How to show both AnimatedValue AND the value that's changing?

This sadly gives a "division by zero" from renpy's internal workings :( But it is possible to give it a variable and change the variable before changing the value variable.
by Milkymalk
Fri May 29, 2020 10:31 am
Forum: Ren'Py Questions and Announcements
Topic: How to show both AnimatedValue AND the value that's changing?
Replies: 7
Views: 360

Re: How to show both AnimatedValue AND the value that's changing?

An example like this should go in the docs, because to be honest, I've been trying to get an AnimatedValue to work for years. Partly because it takes "value" as an argument, suggesting that it's a one-time animation from old_value to value. Is there a way to plug a function as an argument, say, for ...
by Milkymalk
Thu May 21, 2020 6:49 am
Forum: Asset Creation: Writing
Topic: Character's/Main personality
Replies: 2
Views: 5922

Re: Character's/Main personality

Any.
It is purely a matter of preference. Don't plan your characters based on a few answers in a forum, plan them so they fit into your story.
by Milkymalk
Sun May 17, 2020 6:39 am
Forum: Ren'Py Questions and Announcements
Topic: Expression Not Working Properly
Replies: 3
Views: 221

Re: Expression Not Working Properly

What you skipped is not defining the character, but giving the images the same tag. The first part of an image's name is the tag by which Renpy determines if a newly shown image should replace another. It works exactly the same as the "tag" keyword for screens in that regard.
by Milkymalk
Sun May 17, 2020 6:35 am
Forum: Asset Creation: Writing
Topic: Need a team
Replies: 4
Views: 6242

Re: Need a team

I took a look at your story but I just can't read it with a straight face. "Brot" means "bread" in German and "Melbrot" invokes strong associations with "Mehlbrot", which is not a real word but would mean "flour bread". Unlucky choice of names, I suppose ;)
by Milkymalk
Sat May 16, 2020 9:47 am
Forum: Ren'Py Questions and Announcements
Topic: Buttons and Doors
Replies: 15
Views: 688

Re: Buttons and Doors

image office = "office1.jpg" label start: scene office "Welcome!" screen something: imagebutton: idle "idolbutton.jpg" hover "hoverbutton.jpg" xpos 100 ypos 100 action Jump('test') label test: "Test text" return This SHOULD already work, however it doesn't do much. You need to actually show the scr...