Search found 28 matches

by esrix
Fri Oct 09, 2009 9:29 pm
Forum: Creator Discussion
Topic: Seeking feedback on match-three dungeon design
Replies: 5
Views: 681

Re: Seeking feedback on match-three dungeon design

After much thought, I've determined that I don't really like the idea of using magic to slow down/kill a monster before it even gets to you. I want to keep the monster meter, though. Overall, I want the act of avoiding monsters to be tied into the use of the match three board, but still make it so y...
by esrix
Wed Oct 07, 2009 9:31 am
Forum: Creator Discussion
Topic: Seeking feedback on match-three dungeon design
Replies: 5
Views: 681

Re: Seeking feedback on match-three dungeon design

When all you have is a hammer ... Honestly, Ren'Py may not be what you need, unless you know Python. I do know Python :) All the tech questions I had regarding Python + Ren'Py have already been answered, so I've no doubt that I can pull it off in Ren'Py. Papillon- I have considered a "monster meter...
by esrix
Wed Oct 07, 2009 1:56 am
Forum: Creator Discussion
Topic: Seeking feedback on match-three dungeon design
Replies: 5
Views: 681

Seeking feedback on match-three dungeon design

After playing a lot of Puzzle Quest, I've been thinking of some abstract dungeon designs that would be easy for me to pull off for my RPG-like game. I got a crazy idea to make the dungeons into a match-three game like Bejeweled. Unlike PQ, though, the match three component wouldn't be used in the ba...
by esrix
Thu Sep 10, 2009 8:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Any issue with skipping calls to renpy.render?
Replies: 8
Views: 965

Re: Any issue with skipping calls to renpy.render?

Ah, I think I got it now:

Code: Select all

                t = Transform( self.img, None, 0.5, self.x, 1.5 )
                ramza = renpy.render( t, 800, 600, st, at)
Works rather well and rotates around the center, too :)
by esrix
Thu Sep 10, 2009 4:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Any issue with skipping calls to renpy.render?
Replies: 8
Views: 965

Re: Any issue with skipping calls to renpy.render?

So if I wanted to rotate Ramza 45 degrees and scale him up by 50%, it would be something like this?

Code: Select all

		ramza = im.Rotozoom(self.img, 45, 1.5)
		r.blit( ramza, (self.x, self.y) )
I'd test it otherwise, but I'm not at my home computer quite yet.

How would the Transform function be used for this?
by esrix
Thu Sep 10, 2009 1:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Any issue with skipping calls to renpy.render?
Replies: 8
Views: 965

Re: Any issue with skipping calls to renpy.render?

Other reason to call renpy.render at every frame is that if you're using an animation you'll have to update the image data, right? Yeah, I realized that last night right before I headed for bed. And rule number 1 in programming says: NEVER try to optimize your code unless your really needs to. Opti...
by esrix
Thu Sep 10, 2009 12:22 am
Forum: Ren'Py Questions and Announcements
Topic: Any issue with skipping calls to renpy.render?
Replies: 8
Views: 965

Re: Any issue with skipping calls to renpy.render?

Alrighty. I'll try to plan my resource manager around calling renpy.render.

Thanks, PyTom.
by esrix
Wed Sep 09, 2009 11:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Any issue with skipping calls to renpy.render?
Replies: 8
Views: 965

Any issue with skipping calls to renpy.render?

I'm trying to incorporate a Pac-Man like game using a custom displayable and I plan on having a lot of entities (player character, enemies, pickups) running around on the screen. I am considering writing a sort of resource manager in a separate python class and using the Image function to load the i...
by esrix
Thu May 14, 2009 9:17 am
Forum: General Discussion
Topic: Would an Action BattleSys works... in a VN?
Replies: 8
Views: 1119

Re: Would an Action BattleSys works... in a VN?

... would the gameplay ruin everything? It really depends on how you plan to balance out the systems. If your main draw is the battles, then the VN side of things shouldn't bog down going from one battle to the next. But if your main draw is to tell a story, then the battle system should be simple,...
by esrix
Thu Apr 30, 2009 12:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Create image from pixel data?
Replies: 7
Views: 801

Re: Create image from pixel data?

I guess you could just save a temporary image in the disk and use im.Image to this, so there wouldn't be any problems with the save/load thing. Not sure if it's the best thing to do anyways, but should work. True... Perhaps pygame.image.save will do the trick. I'll take a look at it over the weekend.
by esrix
Thu Apr 30, 2009 12:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Create image from pixel data?
Replies: 7
Views: 801

Re: Create image from pixel data?

PyTom wrote:You can't store a pygame surface inside a displayable if you want to save the displayable. Just pointing that out.
Is there a way to convert an array to a surface that the displayable can use?
by esrix
Thu Apr 30, 2009 12:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Create image from pixel data?
Replies: 7
Views: 801

Re: Create image from pixel data?

Sweet. I'll have to give this a try.

Thanks!
by esrix
Thu Apr 30, 2009 11:39 am
Forum: Ren'Py Questions and Announcements
Topic: Create image from pixel data?
Replies: 7
Views: 801

Create image from pixel data?

I was wondering if there was a way to create an image in RenPy from pixel data already in computer memory? For example, if I were to pass RenPy an array of pixel data from a PyGame surface, could I construct an image from that pixel data and use it for a background in RenPy? Reason is I've got an id...
by esrix
Tue Feb 03, 2009 10:23 am
Forum: Ideas
Topic: Battle System Programmer Needed!!!
Replies: 24
Views: 2224

Re: Battle System Programmer Needed!!!

What is pygame? PyGame is a Python library that uses Simple Directmedia Layer (SDL for short) to enable people to make games relatively fast using Python. Ren'Py is built using PyGame. You can run PyGame code inside of Ren'Py using PyTom's Renpygame framework . The idea is that I'm not sure I have ...
by esrix
Wed Jan 28, 2009 11:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Flash question
Replies: 10
Views: 1162

Re: Flash question

I second what EwanG says. If you want something that's more state based, I suggest using a variable to point to a function. Then, create an Event.ENTER_FRAME event listener. If the function pointer is set to null, don't call it. Otherwise, call the function as normal. Then, when necessary, point it ...