Search found 38 matches
- Thu Jan 16, 2014 2:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Dynamic imagebuttons set
- Replies: 7
- Views: 1393
Re: Dynamic imagebuttons set
I'd use a little atl and a bit vector. It requires there be a maximum number of enemies on the screen at a time but we can also have a buffer of enemies waiting to appear. This we call enemy_formation or something. Each enemy_formation has a list of positions and a bitvector (a list of booleans) to ...
- Fri Jan 10, 2014 4:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: comparing three variables at once(?)
- Replies: 7
- Views: 2676
Re: comparing three variables at once(?)
The only thing I have to add to this which is to comment your code well. I always write what I want my code to do in comments. Renpy has a todo list built into it which makes commenting very powerful. Write a todo comment like this: #Todo compare the three variables. #todo if a is bigger than b and ...
- Mon Jan 06, 2014 5:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Screen shrinks when I change the resolution
- Replies: 4
- Views: 716
Re: Screen shrinks when I change the resolution
It could be your graphics driver that is rescaling the ren'py window as I've seen that happen in my own project with large resolution. I'm not sure how to test that theory, though.
- Sat Jan 04, 2014 1:06 am
- Forum: Anime, Games, and Japan
- Topic: Your first ever video game.
- Replies: 158
- Views: 22505
Re: Your first ever video game.
This thread sure brings back some memories. The first video game I remember playing was the original Pac-man arcade game when I was three. It was still new and shiny. There weren't any consoles yet.
- Fri Jan 03, 2014 10:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: [question] use an interpolated transform on 'hover'
- Replies: 7
- Views: 1491
Re: [question] use an interpolated transform on 'hover'
I'm still new but I would have a three step solution which basically is replacing the whole options menu with yours. First step is to make your image into an imagemap and put it on the overlay layer with the 'onlayer' keyword. Second step is to connect your menu buttons to the same actions you want ...
- Fri Jan 03, 2014 10:01 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Windows && Linux distributions and archives
- Replies: 5
- Views: 960
Re: [Solved] Windows && Linux distributions and archives
As long as the OS has the codecs installed for the media. Linux doesn't come with mpeg or wav codecs because they are patented. Ogg format codec is free and comes bundled with most Linux. Getting mpeg codec on linux is easy but you have to agree to a software liscense. Basically whatever format the ...
- Thu Jan 02, 2014 7:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: State of Ren'Py, 2014
- Replies: 16
- Views: 3561
Re: State of Ren'Py, 2014
Yes, Shift-O \m/ and a w00t. It's pretty close to a full debugger. So good. Don't really need the linux prompt at all. An adapter console with renpy features. *back-sommersaults* it's so promising. The developer network is one of the best anywhere that I've seen as a lazy hacker. The only exception ...
- Sun Dec 29, 2013 11:30 am
- Forum: Ren'Py Cookbook
- Topic: Inventory Screen
- Replies: 100
- Views: 101939
Re: Inventory Screen
This was an excellent study guide for learning how to code my own solution in renpy. You did a solid job of commenting the code and gave me a basis for early hack tests into writing my game. Kudos and thanks.
- Sun Dec 22, 2013 2:09 am
- Forum: Works in Progress
- Topic: Critter Corral [PetSim] [Alpha]
- Replies: 3
- Views: 1372
Critter Corral [PetSim] [Alpha]
Description In Critter Corral you raise animals by keeping them fed. The more they play, the more they improve. It is rather simple at the moment. Instructions Click one of the empty pens to add a critter to it. The critter will then eat, sleep and play until it runs out of food. When a critter has ...
- Fri Dec 20, 2013 3:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: "Always on top" option?
- Replies: 8
- Views: 1526
Re: "Always on top" option?
Can you hyperlink to media in renpy? I know the renpy-sdk has active hyperlinks in it. If you can place those clickable hyperlinks in the code the operating system will handle it by either launching a client (like windows media player, internet explorer) or it will puke with a mime-type error like '...
- Fri Dec 20, 2013 2:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: "Always on top" option?
- Replies: 8
- Views: 1526
Re: "Always on top" option?
Yeah, it's complicated because it's a security issue, you should stick to styling the renpy window unless you're ready to get your hands dirty.
- Fri Dec 20, 2013 2:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: "Always on top" option?
- Replies: 8
- Views: 1526
Re: "Always on top" option?
Like I was saying you could rewrite some vlc code in python, you might look at libpoppler which google chrome uses to play youtube videos without having to constantly update shockwave (especially useful for 'free as in freedom' linux) so some adapter from poppler to python code would let you stream ...
- Thu Dec 19, 2013 1:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: "Always on top" option?
- Replies: 8
- Views: 1526
Re: "Always on top" option?
You're looking to stream media to keep the dl size down? Anywho, a google search turned up a python library called tkinter which seems to work on win32 at least. Idk if that's the best solution if unless you don't mind platform dependence. You might have to write some gtk or sdl code in C if you wan...
- Thu Dec 19, 2013 12:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: "Always on top" option?
- Replies: 8
- Views: 1526
Re: "Always on top" option?
Do you mean a window in the game or the game itself on top in the operating system? If you want a window on top in the game I'd use the zorder property when you call your screen. You could also put an ui.Layer object or a make a style with zorder of 9 and assign that style to your screen. If you wan...
- Tue Dec 10, 2013 12:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'Py games on websites or even as a Facebook App?
- Replies: 14
- Views: 3193
Re: Ren'Py games on websites or even as a Facebook App?
Google has official support for python through their app hosting cloud. That gives me a hunch that G+ would be easier. I've looked into fb and I think you'd be needing to write a pretty nifty http servlet that includes the fb code base in the javascript output. Then you just need a server to run it ...