Search found 121 matches

by Glazed Donuts
Sat Apr 18, 2015 10:01 pm
Forum: Development of Ren'Py
Topic: Can't install pygame_SDL2
Replies: 22
Views: 5951

Re: Can't install pygame_SDL2

My Google searches keep coming up with the build-install equivalent pointing to me having to download the XCode app, which I already have. But I'm not exactly well-versed in the program, so I'll play around with it and see what I can come up with and hopefully find a way to finally be able to develo...
by Glazed Donuts
Fri Apr 17, 2015 9:40 pm
Forum: Development of Ren'Py
Topic: Can't install pygame_SDL2
Replies: 22
Views: 5951

Re: Can't install pygame_SDL2

I did try using homebrew initially, but that didn't work. Following the instructions on Github I tried: brew install build-essential python-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev virtualenvwrapper but kept getting this error: Error: No available formula for build-essenti...
by Glazed Donuts
Fri Apr 17, 2015 4:41 pm
Forum: Development of Ren'Py
Topic: Can't install pygame_SDL2
Replies: 22
Views: 5951

Re: Can't install pygame_SDL2

Thanks for clarifying! :)
I'm building on Mac. I'm using the latest nightly build of RenPy (I made sure I selected the one at the bottom of the list) and downloaded the latest version of pygame_sdl2 from renpy/pygame_sdl2 on github.
by Glazed Donuts
Fri Apr 17, 2015 12:24 pm
Forum: Development of Ren'Py
Topic: Can't install pygame_SDL2
Replies: 22
Views: 5951

Re: Can't install pygame_SDL2

Ah, so SDL2 != pygame_SDL2? I seemed to be going into a loop with the documentation, thinking one was the other, but was coming up with the same error.
I am attempting to build via the terminal/bash.
by Glazed Donuts
Thu Apr 16, 2015 7:18 pm
Forum: Development of Ren'Py
Topic: Can't install pygame_SDL2
Replies: 22
Views: 5951

Can't install pygame_SDL2

I've followed the directions on GitHub (https://github.com/renpy/pygame_sdl2#building). When I try to run this command: python setup.py install I get this error: sh: sdl2-config: command not found Traceback (most recent call last): File "setup.py", line 29, in <module> parse_cflags([ "sh", "-c", "sd...
by Glazed Donuts
Mon Jul 25, 2011 3:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Creating User-defined Layers
Replies: 0
Views: 269

Creating User-defined Layers

How do you create user-defined layers? I was messing around with this, but I couldn't find anywhere on how to declare a user-defined layer with a z-order defined, as well. I wanted to do something like this: #declare layers for small graphics $ config.layers["graphiclayer"] zorder = 5 $ config.layer...
by Glazed Donuts
Sun Jun 12, 2011 4:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Hiding the Screen in a Screen statement
Replies: 1
Views: 386

Hiding the Screen in a Screen statement

I'm getting an 'Expected Screen Language Statement' error with this block of code. Why can't I hide a screen within a Screen block of code? screen show_tooltip: if buttonAppears == False: timer 100.0 action Show("tooltip_button") $buttonAppears = True else hide screen tooltip_button # <--- The error...
by Glazed Donuts
Sun Jun 12, 2011 10:01 am
Forum: Ren'Py Questions and Announcements
Topic: Making a background timer
Replies: 3
Views: 395

Re: Making a background timer

Can you put a screen on top of a screen and have them both shown/active at the same time? For example, 'layer 1 screen' is where the timer is and 'layer 2' screen is where the user interaction is.
by Glazed Donuts
Sat Jun 11, 2011 12:00 am
Forum: Ren'Py Questions and Announcements
Topic: Making a background timer
Replies: 3
Views: 395

Making a background timer

Is it possible yet in 6.12 to make a timer running continuously in the background while you click around and do stuff?

So far in the earlier versions, I was able to make a timer, but it would immediately stop as soon as you click on something or the text box appears.
by Glazed Donuts
Fri Feb 18, 2011 2:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Showing Animations on a Screen
Replies: 8
Views: 873

Re: Showing Animations on a Screen

Why is this: init: image test: "sozai/anim/1.png" 0.08 "sozai/anim/2.png" 0.08 "sozai/anim/3.png" 0.08 "sozai/anim/4.png" 0.08 "sozai/anim/5.png" 0.08 repeat better to use than this? image test = Animation("sozai/anim/1.png", 0.08, "sozai/anim/2.png", 0.08, "sozai/anim/3.png", 0.08, "sozai/anim/4.pn...
by Glazed Donuts
Fri Feb 18, 2011 2:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Drag/Drop Questions (and a question about screens)
Replies: 1
Views: 307

Re: Drag/Drop Questions (and a question about screens)

I had another drag/drop question. How do you use the Remove(child) function? I couldn't find any examples in the documentation. Basically, I'd like for the image to disappear when you drag/drop the image over another specific image. Would the below code be valid? If not, what would be the correct wa...
by Glazed Donuts
Fri Feb 18, 2011 11:56 am
Forum: Ren'Py Questions and Announcements
Topic: Showing Animations on a Screen
Replies: 8
Views: 873

Showing Animations on a Screen

What would be the Screen Language equivalent for showing/hiding an animated image? For example, this works when I'm NOT in a Screen block of code: image test = Animation("sozai/anim/1.png", 0.08, "sozai/anim/2.png", 0.08, "sozai/anim/3.png", 0.08, "sozai/anim/4.png", 0.08, "sozai/anim/5.png", 0.08) ...
by Glazed Donuts
Fri Feb 18, 2011 11:31 am
Forum: Ren'Py Questions and Announcements
Topic: "Clicked" actions
Replies: 4
Views: 5840

Re: "Clicked" actions

Thank you, PyTom!! This worked great! This is exactly what I'm looking for!
by Glazed Donuts
Fri Feb 18, 2011 10:50 am
Forum: Ren'Py Questions and Announcements
Topic: "Clicked" actions
Replies: 4
Views: 5840

"Clicked" actions

Is there a way to assign several actions to trigger when the user clicks an image button? For example, I would like for a variable to change as well as the image to disappear when the button is clicked: imagebutton: idle "sozai/ui/clicked1.png" hover "sozai/ui/clicked2.png" clicked (($myPoints += 1)...
by Glazed Donuts
Thu Feb 17, 2011 11:40 pm
Forum: Ren'Py Questions and Announcements
Topic: "clicked" no longer working...
Replies: 3
Views: 311

Re: "clicked" no longer working...

I was using the one before 6.12.0e (I forgot the version number)
I'm not sure if it was 'functioning,' but I never got any errors about it when I had that line of code in there until I upgraded to 6.12.0e