Search found 640 matches

by Counter Arts
Wed Sep 02, 2015 5:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with Drag and Drop Inventory System
Replies: 10
Views: 3243

Re: Help with Drag and Drop Inventory System

So yeah... turns out the previous said solution can cause a memory and savefile leak. Here is another way. define e = Character('Eileen', color="#c8ffc8") init python: import inspect def testDrop(target, sourceDrop): print "Target: {0}\n Source: {1}".format(target.drag_name, sour...
by Counter Arts
Tue Sep 01, 2015 5:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with Drag and Drop Inventory System
Replies: 10
Views: 3243

Re: Help with Drag and Drop Inventory System

Would that work if there were more than two elements to tie-break?
by Counter Arts
Tue Sep 01, 2015 4:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with Drag and Drop Inventory System
Replies: 10
Views: 3243

Re: Help with Drag and Drop Inventory System

@orz

You are not going to like the fix. It's based off an old trick to break ties for sorting algorithms that required no ties.

You ready?

Code: Select all

xoffset (renpy.random.random() * 0.0001)
by Counter Arts
Mon Aug 31, 2015 11:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with Drag and Drop Inventory System
Replies: 10
Views: 3243

Re: Help with Drag and Drop Inventory System

@orz

About that... I was just abusing closures which kinda does the same thing. In the outer function you define the inner function. Then you return the inner function which is a callable.

Unless I am mistaken... maybe I should use the renpy.curry or the python functools.
by Counter Arts
Mon Aug 31, 2015 12:27 am
Forum: Ren'Py Questions and Announcements
Topic: Help with Drag and Drop Inventory System
Replies: 10
Views: 3243

Help with Drag and Drop Inventory System

So yeah. Can anyone help me with this? Here is most of a test case of an inventory system. However I can't seem to get rid of this bug where one of the items swaps places with the one that's currently being dragged. # You can place the script of your game in this file. # Declare images below this l...
by Counter Arts
Fri Feb 06, 2015 11:10 am
Forum: Ren'Py Questions and Announcements
Topic: Understanding interactions and call_in_new_context.
Replies: 3
Views: 2225

Re: Understanding interactions and call_in_new_context.

The call in new context stuff you call if you want to open up a sub menu within a menu.
by Counter Arts
Thu Nov 27, 2014 9:08 pm
Forum: Creator Discussion
Topic: Planet EVN
Replies: 375
Views: 72739

Re: Planet EVN

http://www.sakurariver.ca/category/news/feed/

Got the updated feed for everyone.
by Counter Arts
Tue Jan 28, 2014 12:06 am
Forum: Ren'Py Questions and Announcements
Topic: Frame Displayable not displaying stretching portions sliders
Replies: 3
Views: 616

Re: Frame Displayable not displaying stretching portions sli

Then I don't think my intel driver can make it work because I can't find anything that's updated enough for it.
by Counter Arts
Mon Jan 27, 2014 6:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Frame Displayable not displaying stretching portions sliders
Replies: 3
Views: 616

Frame Displayable not displaying stretching portions sliders

While it's clearly working for buttons but its not working for bars. Also for some reason the Tutorial doesn't have bars displaying properly but the question has the bars displaying properly. Really weird. Also I'm reusing displayables and such for composing bars. Not sure if it's my intel graphics ...
by Counter Arts
Sun Jan 12, 2014 10:42 pm
Forum: Ren'Py Cookbook
Topic: Sakura River's FX: Rising Vortex
Replies: 8
Views: 5165

Sakura River's FX: Rising Vortex

Here is something simple to add to your games for additional FXs that takes advantage of your graphics card. Best of all you can include it with three lines of code. transform withAdd: additive 1.0 image particle newDownBright = SnowBlossom(At("images/blue-particle-circle.png", withAdd), b...
by Counter Arts
Wed Jul 03, 2013 12:19 am
Forum: General Discussion
Topic: Anyone going to Anime Expo AX?
Replies: 9
Views: 1649

Re: Anyone going to Anime Expo AX?

Well it's just my second attempt at causing a miracle to happen. You know...
by Counter Arts
Tue Jul 02, 2013 11:11 pm
Forum: General Discussion
Topic: Anyone going to Anime Expo AX?
Replies: 9
Views: 1649

Re: Anyone going to Anime Expo AX?

I should mention that I'm going to Anime Expo 2013. See you all there!
by Counter Arts
Thu Jun 06, 2013 10:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.15 Released
Replies: 113
Views: 15495

Re: Ren'Py 6.15 Released

A common strength of additive blending is applying it on overlapping particles that also use additive blending. Having the outer part of the particle being very faint (low RGB colour values) while the inter parts have high RGB values. Do it the right way and you can have an extremely smooth looking ...
by Counter Arts
Tue Oct 30, 2012 9:37 am
Forum: Creator Discussion
Topic: Cliche vs. Original, Game vs. Novel, and Marketing OELVN
Replies: 121
Views: 13860

Re: Cliche vs. Original, Game vs. Novel, and Marketing OELVN

Well mass effect just either had something close to a "god" mode (story), normal mode (role-play), and something else which chose stuff for you or something (action). Not quite colossal.
by Counter Arts
Tue Oct 30, 2012 4:16 am
Forum: Creator Discussion
Topic: Cliche vs. Original, Game vs. Novel, and Marketing OELVN
Replies: 121
Views: 13860

Re: Cliche vs. Original, Game vs. Novel, and Marketing OELVN

I'll say one thing in terms of story vs. gameplay in the western market... the point where the "gameplay" got in the way of the "story" didn't quite happen yet in the western market. I think that's what happened in Japan a very long time ago. It's starting to happen with the &quo...