Search found 119 matches

by Mihara
Mon Aug 16, 2010 12:23 am
Forum: Ren'Py Questions and Announcements
Topic: Implementing Chess PyGame into Visual Novel...
Replies: 11
Views: 2944

Re: Implementing Chess PyGame into Visual Novel...

Hacking in alien code in this case would be harder, in my opinion, than just implementing a board with moving pieces and talking to a chess engine someone else wrote. You don't have to code chess thinking, you just need to code a board... hey, I did it in Amiga BASIC back in the day, can't be hard. ...
by Mihara
Sun Aug 15, 2010 12:06 pm
Forum: Development of Ren'Py
Topic: Ren'Py 6.11.0 Public Pre-Release
Replies: 145
Views: 10960

Re: Ren'Py 6.11.0 Public Pre-Release

What in the manual seems to imply this? "This specifies a tag associated with this screen. Showing a screen replaces other screens with the same tag. This can be used to ensure that only one screen of a menu is shown at a time." "The call screen statement shows a screen , and then hides it again at...
by Mihara
Sun Aug 15, 2010 6:17 am
Forum: Development of Ren'Py
Topic: Ren'Py 6.11.0 Public Pre-Release
Replies: 145
Views: 10960

Re: Ren'Py 6.11.0 Public Pre-Release

You broke it. This script runs in 6.11i and no longer runs in 6.11j: screen test: side "c r": viewport id "testlist": vbox: for i in range(1,100): text ("Line "+str(i)) vbar value YScrollValue("testlist") label start: call screen test Fails with a cryptic exception "The displayable with id %r is not...
by Mihara
Sat Aug 14, 2010 11:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Implementing Chess PyGame into Visual Novel...
Replies: 11
Views: 2944

Re: Implementing Chess PyGame into Visual Novel...

If I were you, I'd try to implement the chessboard purely through RenPy means (they're quite sufficient and it's a considerably easier programming task, especially with screens) and then patch in an XBoard-compatible chess engine (you could include binaries for all supported OSes easily) -- these ha...
by Mihara
Fri Aug 13, 2010 2:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Are Hidden Object Games possible with this engine?
Replies: 13
Views: 2241

Re: Are Hidden Object Games possible with this engine?

One can do this in Ren'Py by having an imagebutton with transparency. (Laying that out might be really hard, however.) Well, if that works, you can just duplicate the background with the hidden object in it, clear everything out except the object so it's all alpha, and position the imagebutton in 0...
by Mihara
Fri Aug 13, 2010 1:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Are Hidden Object Games possible with this engine?
Replies: 13
Views: 2241

Re: Are Hidden Object Games possible with this engine?

Using RenPy for this is slightly problematic, as far as I remember it provides no way to have non-rectangular click-sensitive zones -- you can rotate that rectangle, and it can be any kind of rectangle, but it has to be a rectangle. This would limit the hunt for a hidden object quite a bit. There's ...
by Mihara
Fri Aug 13, 2010 12:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Are Hidden Object Games possible with this engine?
Replies: 13
Views: 2241

Re: Are Hidden Object Games possible with this engine?

If your game does not revolve around text presentation, but is instead about graphical objects being clicked on screen, http://love2d.org/ may be the engine to consider.
by Mihara
Thu Aug 12, 2010 7:01 pm
Forum: Development of Ren'Py
Topic: Ren'Py 6.11.0 Public Pre-Release
Replies: 145
Views: 10960

Re: Ren'Py 6.11.0 Public Pre-Release

One more complaint about screens. When a screen is redrawn due to renpy.restart_interaction (i.e. because of a SetVariable action triggering) and contains a lot of buttons (in my case, it's something like 25 buttons inside a viewport and six more outside it which select between which group of button...
by Mihara
Thu Aug 12, 2010 4:55 am
Forum: Development of Ren'Py
Topic: Ren'Py 6.11.0 Public Pre-Release
Replies: 145
Views: 10960

Re: Ren'Py 6.11.0 Public Pre-Release

Here's a fresh bug, a parsing problem in the screen language. Replication follows: screen test: side "c r": viewport id "list": vbox: for i in range(1,100): text ("Line "+str(i)) # This generates an error unless you comment out "bar_resizing" vbar: yalign 0.5 bar_resizing True value YScrollValue("li...
by Mihara
Mon Aug 09, 2010 10:00 pm
Forum: Development of Ren'Py
Topic: Ren'Py 6.11.0 Public Pre-Release
Replies: 145
Views: 10960

Re: Ren'Py 6.11.0 Public Pre-Release

PyTom wrote:I've just added a default statement to the screen language, which sets the value of a screen language variable that is not passed in as an explicit or implicit parameter.
Whee, thank you. :)
by Mihara
Mon Aug 09, 2010 8:02 pm
Forum: Development of Ren'Py
Topic: Ren'Py 6.11.0 Public Pre-Release
Replies: 145
Views: 10960

Re: Ren'Py 6.11.0 Public Pre-Release

Coudn't you do: if cardarg: on "show" action Show("card", cardid=cardarg) Couldn't. First thing I tried. Whatever it is that actually occurs, I don't see the second screen (with an individual card) once the first runs -- and on show only takes an action parameter. I cannot make it conditional on an...
by Mihara
Mon Aug 09, 2010 3:38 pm
Forum: Development of Ren'Py
Topic: Ren'Py 6.11.0 Public Pre-Release
Replies: 145
Views: 10960

Re: Ren'Py 6.11.0 Public Pre-Release

I'm not sure if that's a bug or not, but it was rather bizarre. renpy.call_screen apparently mangles context in certain circumstances. I'm trying to create a screen that would come up when a non-http hyperlink is clicked, to replace the original label-calling mechanism. Well, here's the example code...
by Mihara
Mon Aug 09, 2010 2:41 pm
Forum: Development of Ren'Py
Topic: Ren'Py 6.11.0 Public Pre-Release
Replies: 145
Views: 10960

Re: Ren'Py 6.11.0 Public Pre-Release

...one more gripe about screens. Not a bug but... ugh. I have a screen that shows a viewport of buttons and shows another transient screen if those buttons are clicked. I also need that screen to show that transient screen if it was called with a specific parameter, and I don't want to duplicate cod...
by Mihara
Mon Aug 09, 2010 10:54 am
Forum: Development of Ren'Py
Topic: Ren'Py 6.11.0 Public Pre-Release
Replies: 145
Views: 10960

Re: Ren'Py 6.11.0 Public Pre-Release

...and another minor bug: Trying to Shift+I a style of an element inside a viewport produces no results as the style inspector stops on the viewport and doesn't inspect further down.
by Mihara
Mon Aug 09, 2010 10:31 am
Forum: Ren'Py Questions and Announcements
Topic: Correct Use of Inventory Items - syntax
Replies: 3
Views: 1041

Re: Correct Use of Inventory Items - syntax

Is renpy capable of user input for jpg images? Where a player could 'upload' a background image? RenPy can read a file anywhere within the "game" directory, whether it's packaged in an archive or not, and if I'm not mistaken, anywhere on the disk if the full path is given. However, there's no good ...