Search found 333 matches

by Mole-chan
Sat Mar 14, 2015 1:31 am
Forum: Ren'Py Questions and Announcements
Topic: Applying AlphaMask to Filmstrip [SOLVED]
Replies: 14
Views: 1701

Re: Applying AlphaMask to Filmstrip [SOLVED]

Works like a charm on initial testing! Here is the code I ended up with. def draw_animation(st, at, img, width, height, last_frame, framerate): number=int(at * (1/framerate)) if number >= last_frame: howManyWraps = int(number/last_frame) number = number - (last_frame*howManyWraps) return Transform(I...
by Mole-chan
Sat Mar 14, 2015 12:21 am
Forum: Ren'Py Questions and Announcements
Topic: Applying AlphaMask to Filmstrip [SOLVED]
Replies: 14
Views: 1701

Re: Applying AlphaMask to Filmstrip [SOLVED]

for example, if there's an animation folder X and it has 00~10.png, def draw_animation(st, at, image_path, last_frame): number=int(st*20) if number < last_frame: return Image("{}/{:0>2}.png".format(image_path, number)), .05 else: return Null(), None renpy.image("animation_name",...
by Mole-chan
Fri Mar 13, 2015 10:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Applying AlphaMask to Filmstrip [SOLVED]
Replies: 14
Views: 1701

Re: Applying AlphaMask to Filmstrip [SOLVED]

for example, if there's an animation folder X and it has 00~10.png, def draw_animation(st, at, image_path, last_frame): number=int(st*20) if number < last_frame: return Image("{}/{:0>2}.png".format(image_path, number)), .05 else: return Null(), None renpy.image("animation_name",...
by Mole-chan
Fri Mar 13, 2015 9:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Jumping to another script? [Solved]
Replies: 11
Views: 8682

Re: Jumping to another script?

The method I suggested requires you to jump to a specific label, not the script as a whole. For example: Jump(example) With a label looking something like this label example: e "Hello!" Treating it this way is why the tutorial can jump back and forth between scripts so easily. If you'd rat...
by Mole-chan
Fri Mar 13, 2015 8:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Jumping to another script? [Solved]
Replies: 11
Views: 8682

Re: Jumping to another script?

Is there a particular reason you're using Python (.py) instead of Ren'py (.rpy)?
With the latter, you should just be able to jump to your desired label, regardless of what file it's in. Because Ren'py looks across all .rpy files.
by Mole-chan
Fri Mar 13, 2015 1:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Applying AlphaMask to Filmstrip [SOLVED]
Replies: 14
Views: 1701

Re: Applying AlphaMask to Filmstrip

Also, yikes? Really? I thought it would be the better alternative, as less images have to be loaded. Shows what I know, I suppose. It looks Filmstrip loads an image then crop them, cache those cropped images, finally show them - it consumes double memory and the lag to start animation is noticeable...
by Mole-chan
Thu Mar 12, 2015 8:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Applying AlphaMask to Filmstrip [SOLVED]
Replies: 14
Views: 1701

Re: Applying AlphaMask to Filmstrip

xela wrote:How about applying alphamask to an image you're creating animation from and them creating filmstrip from it on the fly?
Well now I feel silly.
That worked flawlessly! Thank you!
by Mole-chan
Thu Mar 12, 2015 7:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Applying AlphaMask to Filmstrip [SOLVED]
Replies: 14
Views: 1701

Re: Applying AlphaMask to Filmstrip

The thing is that it doesn't though? AlphaMask expects a raw image, not a displayable. Believe me, if it just worked I wouldn't be asking. Unless this was a change made to a version newer than 6.15.5. Also, yikes? Really? I thought it would be the better alternative, as less images have to be loaded...
by Mole-chan
Thu Mar 12, 2015 2:43 am
Forum: Ren'Py Questions and Announcements
Topic: Applying AlphaMask to Filmstrip [SOLVED]
Replies: 14
Views: 1701

Applying AlphaMask to Filmstrip [SOLVED]

Hello! Just a quick question. I was wondering if, and how, it would be possible to apply an AlphaMask to, ideally, a FilmStrip animation. I'm sure it's easily possible with a regular animation, but I'm trying to save space and resources, and FilmStrip is far more efficient. I'm also aware of crop in...
by Mole-chan
Sun Mar 01, 2015 2:07 am
Forum: Other Visual Novel Engines
Topic: ADYA Overworld Engine > RPG Realtime movement for Renpy
Replies: 4
Views: 4412

Re: ADYA Overworld Engine > RPG Realtime movement for Renpy

Yep, original programmer here. I had cross posted the code to pretty much everywhere I could. haha. Also, if you need any help with the mapping, feel free to ask! It basically uses an array of single characters for layouts, and then assigns those characters to a tile defined by the user in another a...
by Mole-chan
Sun Feb 08, 2015 3:41 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to group several animations in a single call?
Replies: 6
Views: 1159

Re: How to group several animations in a single call?

You can use "contains" to embed many ATL animations in one animation. In your case, it would go something like this. image SpaceshipAnimation: contains: "starfield" xpos 0 ypos 0 linear 10.0 xpos 100 xpos 0 contains: "spaceship1" xpos -100 ypos 100 linear 5.0 xpos 1000...
by Mole-chan
Thu Feb 05, 2015 5:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to group several animations in a single call?
Replies: 6
Views: 1159

Re: How to group several animations in a single call?

Thanks a lot! That was exactly what I was looking for :D When I had these animations in the middle of the script I used hard pauses (i.e. $renpy.pause(2.0, hard="True") ) in order to avoid the user clicking through part of the animation. Now, however, I cant use this statement in the imag...
by Mole-chan
Wed Feb 04, 2015 3:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to group several animations in a single call?
Replies: 6
Views: 1159

Re: How to group several animations in a single call?

You can use "contains" to embed many ATL animations in one animation. In your case, it would go something like this. image SpaceshipAnimation: contains: "starfield" xpos 0 ypos 0 linear 10.0 xpos 100 xpos 0 contains: "spaceship1" xpos -100 ypos 100 linear 5.0 xpos 1000 ...
by Mole-chan
Wed Jan 28, 2015 6:56 pm
Forum: Ren'Py Cookbook
Topic: RPG Overworld Engine
Replies: 40
Views: 41848

Re: RPG Overworld Engine

o.k nvm i cant open asset.rpyc on anything.... You want to look at the .rpy , not the .rpyc . Because, yes, editors cannot open .rpyc. It's pre compiled code to help Ren'py run faster. It's not human readable. If you're missing the .rpy for any reason, re-extract the zip and it should be there. I d...
by Mole-chan
Tue Jan 27, 2015 2:14 pm
Forum: Ren'Py Cookbook
Topic: RPG Overworld Engine
Replies: 40
Views: 41848

Re: RPG Overworld Engine

o.k nvm i cant open asset.rpyc on anything.... You want to look at the .rpy , not the .rpyc . Because, yes, editors cannot open .rpyc. It's pre compiled code to help Ren'py run faster. It's not human readable. If you're missing the .rpy for any reason, re-extract the zip and it should be there. I d...