-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trails #856
Trails #856
Conversation
Thank you for submitting an extension. Just to make sure, you don't want any review? |
i guess a review would be good so, yeah |
i did have some performance issues, but they were lower in comparison to the particle trail of the extension, and i might have to get documented on the creation of trapezoids |
b259310
to
06e5adb
Compare
I've updated the extension so that the shape painter draws 1 line without the 2 circles. |
The issue could be that several particles are drawn on top of each other. Did you make sure that there is only one particle living at the same time per emitter? |
yes, but it also depends on the minimum and maximum lifetime of the particles |
the particle trail is supposed to be a fancy alternative to the shape trail for low resolution games |
!update |
✅ Successfully updated the extension. |
#1061 |
I took a look to the new version, it's a nice improvement! I have some suggestions:
What do you think about drawing only one trail per object instance?
|
Updated extension: Updated example:
|
❗ No updates found. Please check your file. |
Thanks for the update! I have more suggestions:
|
Took what i could get from the suggestions Update v1.1.1:
Example update: |
|
I'm excited to use this extension in my Geometry Dash clone. I'll test the latest version of this extension. |
@Kennoir Wow, this extension is really neat! I'm definitely going to be putting this in my game. GDevelop_DBID0Sycum.mp4 |
Hello @Kennoir, do you need any assistance about my previous suggestions? |
Not at the moment, but i was offline since i took a break from GDev a while ago, i came back this week. I'm now going to work on the extension again. |
Well it was a lie, i need assistance because i lost the pace of what i was doing with this extension and i'm kinda lost in it's progress |
I tried the demo on my old computer and 1 trail takes a third of a core. I'm sure it can be optimized but I guess that the shape painter won't be efficient enough for this. The
I did a custom object with I credited you on the extension. Feel free to give it a review if you want. |
That gaved the result i wanted but couldn't get because i don't know how to add libraries to GDevelop JS, i think we should use this instead of the shape painter |
As per the previous comments, this PR has been superseded, closing it now. |
Description
This extension creates trails made out of particle emitters or shape painters from a point to another.
How to use the extension
Run the trail initialization action of a trail then run the trail creation action with the same name as the trail initialization action, to get some good results in things like a trail following a player, the trail initialization action should run before the object changes position, and then the trail creation action after the last changes of the player position in the frame, this may come with issues when using the core platformer character behavior since the player position is not changed in the same list as the trail actions.
If you want to make a trail for your cursor, you'll need to create an object that is always set to the cursor position, to do that, you need to run the trail initialization action and set it to the object's position, then after, change the position of that object to the cursor position and then run the trail creation action.
Checklist
What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
KTrails.zip
Extension file
DrawTrails.zip