Search found 27 matches

by xixikudo
Thu Jan 31, 2019 10:30 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make a gallery screen with several pages?
Replies: 10
Views: 263

Re: How to make a gallery screen with several pages?

Alex wrote:
Thu Jan 31, 2019 5:47 pm
Yet another sample of gallery with pages...

test_gallery_gui.rar
Thank you
by xixikudo
Thu Jan 31, 2019 10:28 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make a gallery screen with several pages?
Replies: 10
Views: 263

Re: How to make a gallery screen with several pages?

Do you use the Ren'Py's Gallery object or your own method? I've been using the gallery class renpy provides, but its also not hard to make a 'fake' gallery using ordinary call labels. Will whip up an example right now, should take about an hour. I was trying to leverage the same page function as th...
by xixikudo
Thu Jan 31, 2019 3:52 am
Forum: Ren'Py Questions and Announcements
Topic: How to make a gallery screen with several pages?
Replies: 10
Views: 263

Re: How to make a gallery screen with several pages?

isobellesophia wrote:
Thu Jan 31, 2019 3:00 am
Hi!

I copied this code to somewhere else in this website, but i have one i can share!
Thank you for reminding me about the viewport
by xixikudo
Thu Jan 31, 2019 3:45 am
Forum: Ren'Py Questions and Announcements
Topic: How to make a gallery screen with several pages?
Replies: 10
Views: 263

Re: How to make a gallery screen with several pages?

How many pages do you need? I just finished making a multi-page gallery system for another forum member just a few days ago, I'm sure I could easily adapt it to suit your needs as well. (it's actually one part of a project I've had on the backburner for over a year that I one day plan to finish pro...
by xixikudo
Wed Jan 30, 2019 11:31 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make a gallery screen with several pages?
Replies: 10
Views: 263

How to make a gallery screen with several pages?

I stuck with the page part.
I thought this is a common fuction that many games have... but I found few example.

Maybe I can make a universal gallery screen someday...
by xixikudo
Wed Jan 30, 2019 5:32 am
Forum: Ren'Py Questions and Announcements
Topic: AttributeError:'Gallery' object has no attribute 'slideshow'
Replies: 5
Views: 177

Re: AttributeError:'Gallery' object has no attribute 'slideshow'

Well, according to the documentation, the command is ToggleSlideshow(self) Lets assume you have something like this: image cg_01 = "images/bg0.jpg" image cg_02 = "images/bg1.jpg" image cg_03 = "images/bg2.jpg" image cg_04 = "images/bg3.jpg" init python: g = Gallery() g.button("cg_1") g.unlock_image...
by xixikudo
Wed Jan 30, 2019 4:47 am
Forum: Ren'Py Questions and Announcements
Topic: AttributeError:'Gallery' object has no attribute 'slideshow'
Replies: 5
Views: 177

Re: AttributeError:'Gallery' object has no attribute 'slideshow'

Imperf3kt wrote:
Wed Jan 30, 2019 4:41 am
https://www.renpy.org/doc/html/rooms.ht ... eSlideshow

Hmm, first I've seen that.

What happens if you put a gallery object where it defines self?
I'm not sure what you mean "put a gallery object where it defines self"...
by xixikudo
Wed Jan 30, 2019 4:26 am
Forum: Ren'Py Questions and Announcements
Topic: AttributeError:'Gallery' object has no attribute 'slideshow'
Replies: 5
Views: 177

AttributeError:'Gallery' object has no attribute 'slideshow'

AttributeError:'Gallery'object has no attribute 'slideshow'
This error message comes out when I try to use

Code: Select all

textbutton "Play" action gal.ToggleSlideshow()
in a gallery screen.
All the other parts of my gallery screen work well when I delete the toggleslideshow thing.
I really don't know why...
by xixikudo
Mon Jan 28, 2019 7:46 am
Forum: Ren'Py Questions and Announcements
Topic: About creating a musicroom
Replies: 1
Views: 83

About creating a musicroom

QQ截图20190128193625.png
QQ截图20190128193625.png (14.34 KiB) Viewed 83 times
As the picture shows, when I tried the sample musicroom from the official documentation, it uses the frame.png (in the gui folder, already replaced by my own image) as the background, which is obviously not fit.
How can I disable this and set another image as background?
by xixikudo
Fri Jan 25, 2019 10:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Android build failed
Replies: 0
Views: 144

Android build failed

I have gotten some error messages about running out of JVM memory during my previous attempts. But I Do have already written an "org.gradle.jvmargs=-Xmx3g -XX:MaxPerSize=8192m" line in the gradle.properties file. It still fails, I really don't know what to do now. The last error message is below. :r...
by xixikudo
Mon Jan 07, 2019 8:43 am
Forum: Ren'Py Questions and Announcements
Topic: The size of android presplash image won't auto adapt...
Replies: 4
Views: 157

Re: The size of android presplash image won't auto adapt...

Apparently, 'android-presplash.jpg' is not scaled: android-presplash.jpg The image that's used when the app is loading. This should be surrounded by a monocolored border. That border is expanded to fill the screen. Ren'Py Documentation: Android: Presplash Hope one day PyTom can make it scaled...
by xixikudo
Mon Jan 07, 2019 8:39 am
Forum: Ren'Py Questions and Announcements
Topic: The size of android presplash image won't auto adapt...
Replies: 4
Views: 157

Re: The size of android presplash image won't auto adapt...

Imperf3kt wrote:
Sun Jan 06, 2019 5:32 pm
One solution is to make the image the larger size, and position things on it in places where resolution won't affect it (many phones still use 480*800 which is 15:9 SD
480*800 oh my god that's toooo small
by xixikudo
Sun Jan 06, 2019 2:53 pm
Forum: Ren'Py Questions and Announcements
Topic: HOW CAN I MAKE LIKE THIS
Replies: 7
Views: 322

Re: HOW I CAN MAKE LIKE THIS

Maybe you should look into screens.rpy and use some if statements.
by xixikudo
Sun Jan 06, 2019 2:36 pm
Forum: Ren'Py Questions and Announcements
Topic: The size of android presplash image won't auto adapt...
Replies: 4
Views: 157

The size of android presplash image won't auto adapt...

This is what happened when I use a 1902*1080 presplash image on an android device with 2560*2440 resolution.
Screenshot_20190107-022928.jpg
Did I miss something or it just work so?