Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 21st Mar 2017 07:00 Edited at: 11th Apr 2017 13:35
Thought I'd share this particle system that I've been working on. It uses a parent/child system to create multiple layers for each particle effect. With tweens per particle that adjust scale, position and frequency.

All the data is read from an XML file, so it's primed for easy load/save via an editor. ( using Phaelax's XML code - thanks )

I'll probably add an editor next, but if anyone has nice GUI system they would recommend then it might save me some time as mine is not really suitable for a particle editor.

Demo code included.

<2017_April_11>

I've added in an editor using my GUI system ( which is more of a game GUI system, so it's not ideal for this).

I'll go about adding some instructions here later, but for now you can play around with it. The main thing for now is that you can't edit the image atlas or key frames within the editor, you will need to edit those manually in the xml file.


Attachments

Login to view attachments
Rickynzx
12
Years of Service
User Offline
Joined: 19th Dec 2011
Location: Troon, Scotland
Posted: 21st Mar 2017 12:02
This is looking good, would love to see an editor for this.
Keep up the good work
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 21st Mar 2017 12:04
Can you post up some screenshots? I wanna see!!!
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 21st Mar 2017 12:45 Edited at: 21st Mar 2017 12:48
RickV
TGC Development Director
24
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 21st Mar 2017 13:40
Very nice effects! Keep working on this it will benefit many AppGameKit devs.
Development Director
TGC Team
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 22nd Mar 2017 00:00
Oooo pretty!

Quote: "All the data is read from an XML file, so it's primed for easy load/save via an editor. ( using Phaelax's XML code - thanks )"

You using the old version or my new version?

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 22nd Mar 2017 06:29
Quote: "You using the old version or my new version?"


I'm using the new version.
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 22nd Mar 2017 11:42
Hi

It's great .
But you use SetDisplayAspect().
How can we use SetVirtualResolution() instead of SetDisplayAspect() with your particle system ?
I have tried to increase the scale of the particle but it doesn't create the same cool effect ^^
AGK2 tier1 - http://www.dracaena-studio.com
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 22nd Mar 2017 14:54
It uses percentage mode, fundamentally there shouldn't be too much difference.
You will need to change the size set in each child particle so that it's something suitable for your virtual resolution. Then you should change the values used in the X & Y tweens to also be more suitable for your resolution.
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 11th Apr 2017 13:45 Edited at: 11th Apr 2017 13:46
Updated with a new editor ( see first post for files )


https://youtu.be/bkUxDv_xyUw

Login to post a reply

Server time is: 2024-11-24 04:29:36
Your offset time is: 2024-11-24 04:29:36