Sakura River's FX: Rising Vortex

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
Counter Arts
Miko-Class Veteran
Posts: 649
Joined: Fri Dec 16, 2005 5:21 pm
Completed: Fading Hearts, Infinite Game Works
Projects: Don't Save the World
Organization: Sakura River
Location: Canada
Contact:

Sakura River's FX: Rising Vortex

#1 Post by Counter Arts »

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.

Code: Select all

transform withAdd:
        additive 1.0

image particle newDownBright = SnowBlossom(At("images/blue-particle-circle.png", withAdd), border=150, count=6000,start=0.00000000001, fast=False, yspeed=(-100, -80), xspeed=(-3000,3000), horizontal=True)
Here is a sample.



Let me know what you guys think!

And sorry Py'Tom for (once again) using your paintbrushes in the oddest ways possible.
Fading Hearts is RELEASED
http://www.sakurariver.ca

User avatar
Hazel-Bun
Eileen-Class Veteran
Posts: 1010
Joined: Sun Oct 28, 2012 6:03 pm
Completed: Sunrise: A Dieselpunk Fantasy & Ultramarine: A Seapunk Adventure
Projects: Thrall: A Dark Otome Visual Novel
Organization: AURELIA LEO, LLC
Tumblr: authorzknight
itch: authorzknight
Contact:

Re: Sakura River's FX: Rising Vortex

#2 Post by Hazel-Bun »

This is really cool :) Thanks for sharing!
Black bookstore owner. Diverse fiction reviewer. Bestselling romance author. Award-winning fiction editor. Quite possibly a werewolf, ask me during the next full moon.

User avatar
akemicchi
Veteran
Posts: 465
Joined: Mon Dec 31, 2007 11:22 pm
Projects: Magicians of Delphine, Panaderia: Ensaimada, SweetTooth!, XOXO Droplets
Deviantart: littlebabyshoes
Contact:

Re: Sakura River's FX: Rising Vortex

#3 Post by akemicchi »

Wow! This is so pretty. *_*

User avatar
SBG_Eric
Regular
Posts: 65
Joined: Fri Feb 07, 2014 11:40 pm
Completed: Warhammer 40K (non-commercial MTG set), Tales of Symphonia (non-commercial MTG set)
Projects: Galactic Domain, Dragonfish Racers, *A Yet Unnamed Miniatures Wargame*
Organization: Sunbridge Games LLC
IRC Nick: SBG_Eric
Location: USA, East Coast
Contact:

Re: Sakura River's FX: Rising Vortex

#4 Post by SBG_Eric »

This is a really neat little piece of code, thanks for sharing how to do this!
Sunbridge Games Projects
Visual Novel Project (Pre-Dev): http://lemmasoft.renai.us/forums/viewto ... 60&t=33087
- Seeking Writer (5% per scenario) [1 Scenarios Remaining]

Galactic Domain (Post-Dev/Testing) & Dragonfish Racers (In-Dev): Projects on Hold // Require Artist(s)

Other projects TBA: 2+

Fantasy/Play-or-Die Light Novel (Outline/Drafting)

User avatar
AERenoir
Veteran
Posts: 320
Joined: Fri May 27, 2011 8:23 pm
Contact:

Re: Sakura River's FX: Rising Vortex

#5 Post by AERenoir »

Can I change the speed? It's zooming a bit fast.

Alvsvartr
Newbie
Posts: 21
Joined: Wed Aug 17, 2016 9:31 am
Soundcloud: nebelwand-ua
Location: Ukraine
Contact:

Re: Sakura River's FX: Rising Vortex

#6 Post by Alvsvartr »

Would you be so kind to explain how to add this one into script correctly :?:

User avatar
Andredron
Miko-Class Veteran
Posts: 714
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: Sakura River's FX: Rising Vortex

#7 Post by Andredron »

Alvsvartr wrote: Sat Jan 19, 2019 3:14 am Would you be so kind to explain how to add this one into script correctly :?:

Code: Select all

transform withAdd:
        additive 1.0

image particle newDownBright = SnowBlossom(At("images/blue-particle-circle.png", withAdd), border=150, count=6000,start=0.00000000001, fast=False, yspeed=(-100, -80), xspeed=(-3000,3000), horizontal=True)

Label start:
    scene black
    
    show particle newDownBright at withAdd
Last edited by Andredron on Sat Jan 19, 2019 3:37 am, edited 1 time in total.

Alvsvartr
Newbie
Posts: 21
Joined: Wed Aug 17, 2016 9:31 am
Soundcloud: nebelwand-ua
Location: Ukraine
Contact:

Re: Sakura River's FX: Rising Vortex

#8 Post by Alvsvartr »

Andredron wrote: Sat Jan 19, 2019 3:32 am
Alvsvartr wrote: Sat Jan 19, 2019 3:14 am Would you be so kind to explain how to add this one into script correctly :?:

Code: Select all

transform withAdd:
        additive 1.0

image particle newDownBright = SnowBlossom(At("images/blue-particle-circle.png", withAdd), border=150, count=6000,start=0.00000000001, fast=False, yspeed=(-100, -80), xspeed=(-3000,3000), horizontal=True)
show particle newDownBright at withAdd
Thanks! I've missed "at withAdd"

Alvsvartr
Newbie
Posts: 21
Joined: Wed Aug 17, 2016 9:31 am
Soundcloud: nebelwand-ua
Location: Ukraine
Contact:

Re: Sakura River's FX: Rising Vortex

#9 Post by Alvsvartr »

I apologize but advise me, please, how to make particles' movement directly from bottom to top.

UPD anh hour later.
Sorry, friends for my ignorance, I'm a writer. But I've managed =))

Post Reply

Who is online

Users browsing this forum: No registered users