Search found 129 matches

by nanashine
Wed Apr 03, 2019 8:25 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I make a save button like that?
Replies: 4
Views: 512

How can I make a save button like that?

My game is a phone simulator. So everything is "customized". I created a custom configuration menu where the person can change their name, location, etc. What I wanted is to make a button that would save their game on "slot_1" when you click it. It's just to guarantee that if the...
by nanashine
Wed Apr 03, 2019 6:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Gradle problem while building android package?
Replies: 0
Views: 199

Gradle problem while building android package?

A weird error happened when the android package was being built. Everything was fine (I had already built a package before). The only different thing I did was adding new labels. And it gave me this error: Ren'Py 7.1.1.920 Updating project. Creating assets directory. Packaging internal data. I'm usi...
by nanashine
Sat Mar 30, 2019 12:54 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How can I add one more variable here?
Replies: 2
Views: 312

Re: How can I add one more variable here?

if hour in [5, 6, 7, 8, 9, 10, 11]: if month == bmonth and day == bday: show image "birthdaybg" with fade else: show image "morningbg" with fade show screen morning I think the pieces you have work fine, structured like this. I'm assuming this is what you're intending to do; bet...
by nanashine
Sat Mar 30, 2019 10:15 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How can I add one more variable here?
Replies: 2
Views: 312

[Solved] How can I add one more variable here?

I'm using this code: if hour in [5, 6, 7, 8, 9, 10, 11]: show image "morningbg" with fade show screen morning There are 4 different versions. Morning, afternoon, evening, night. They change the image to sun, moon, etc. I let the person add their birthday. Month is "bmonth" and da...
by nanashine
Mon Mar 25, 2019 5:57 pm
Forum: Ren'Py Questions and Announcements
Topic: "Unhover" not fully working?
Replies: 2
Views: 368

Re: "Unhover" not fully working?

Maybe add a second action to the action line of the button? action [Jump("foods2"), Hide("frame1")] I just did that. It worked and then the frame showed up again :?: :lol: Just to make sure, I also added on the label "hide screen frame1". Apparently it's working now. T...
by nanashine
Mon Mar 25, 2019 5:11 pm
Forum: Ren'Py Questions and Announcements
Topic: "Unhover" not fully working?
Replies: 2
Views: 368

"Unhover" not fully working?

I needed a frame to appear whenever you clicked in an imagebutton. So I did this: screen frame1: add "images/frame1.png" pos(20,350) screen foodmenu: imagebutton idle "imgs/foodmenu.jpg" pos(20,350): action Jump("foods2") hovered Show("frame1") unhovered Hide(...
by nanashine
Mon Mar 25, 2019 5:07 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Show/call screen with fade and time?
Replies: 4
Views: 572

Re: Show/call screen with fade and time?

Probably there are better ways, but if the screen is not very complex, you could define the transform you want before and, inside the screen, show the displayable(s) at said transform. I use this to show animated bars for timed events and very interactive scenes, but it should work with any display...
by nanashine
Mon Mar 25, 2019 5:06 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Show/call screen with fade and time?
Replies: 4
Views: 572

Re: Show/call screen with fade and time?

Imperf3kt wrote: Sun Mar 24, 2019 8:09 pm There are two ways to use fade.
Fade, and fade.
Screens need to use Fade.

https://www.renpy.org/doc/html/transitions.html#Fade
Dissolve works the same way.
I saw that there were two differents types, fade and Fade. But I never really gave it much attention. I'll read it.
Thank you :)
by nanashine
Sun Mar 24, 2019 7:27 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Show/call screen with fade and time?
Replies: 4
Views: 572

[Solved] Show/call screen with fade and time?

In this case: label park1: scene parkday call screen foodlist How can I use a fadein effect with "call screen". Also, I wanted to tell the time of the fade. I wanted it to show up a little slower. Everything I try either give me an error message or doesn't change anything :oops: :lol: Than...
by nanashine
Sun Mar 24, 2019 3:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton hover and idle from another folder?
Replies: 4
Views: 402

Re: Imagebutton hover and idle from another folder?

Imperf3kt wrote: Sun Mar 24, 2019 9:09 am Make sure you define the full path.
"images/hover pink.png", I assume.
Ok, thank you. I'll try it :)
by nanashine
Sat Mar 23, 2019 8:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton hover and idle from another folder?
Replies: 4
Views: 402

Re: Imagebutton hover and idle from another folder?

If you use auto, yes. If you define the image states manually, you can have the files anywhere. Hello! I did that: imagebutton idle "folder1/1.jpg" hover "hoverpink.png" pos(20,100) action Jump("park1") The "hoverpink.png" is a pink frame and the middle is tr...
by nanashine
Sat Mar 23, 2019 6:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton hover and idle from another folder?
Replies: 4
Views: 402

Imagebutton hover and idle from another folder?

When making an imagebutton, do the files always have to be in the same folder? imagebutton auto "6_%s.jpg" pos(600,700) action Jump("park1") I mean, I created a minigame and there's a lots of pictures. So they're all ".jpg". But when the person hovers/clicks on the imag...
by nanashine
Thu Mar 21, 2019 7:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Image position on this case?
Replies: 2
Views: 295

Re: Image position on this case?

---- So what would be the correct form of defining the position for the image to appear? It keeps giving me error messages :lol: I need it to show up at an speficic place "pos (_,_)", because of the background image. Thanks. Try show whole: pos (100, 100) Thank you so much! I tried this b...
by nanashine
Thu Mar 21, 2019 6:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Image position on this case?
Replies: 2
Views: 295

[Solved] Image position on this case?

I'm using a puzzle code. And then there's this part: label start: scene puzzles image whole = "puzzleone.jpg" python: coorlistx = [200, 320, 440, 560] coorlisty = [110, 317, 524] piecelist = [[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]] for i in range(12): x = r...
by nanashine
Thu Mar 21, 2019 7:41 am
Forum: Ren'Py Questions and Announcements
Topic: Jumping to a label/showing screen according to real time (else)?
Replies: 2
Views: 347

Re: Jumping to a label/showing screen according to real time (else)?

There's nothing obviously wrong with the code you've pasted, so (based on the fact that blue works, and thus hour is probably correct) there's a good chance there's an issue with the green screen. Thank you! I'll see if there's a problem with the other screen then. I thought that the "else&quo...