It is soon time for Hacktoberfest again! Hacktoberfest is a month long event celebrating open source projects and contributors. Head over to Hacktoberfest.com to learn more about the event and how to participate as a contributor.
We are participating as usual and we have flagged the following projects for participation:
We particularly encourage contributions to our Examples. We would like for them to cover as much of the Defold APIs as possible. We look forward to your contributions!
Yeah, I have even first improvement ready, I recently made a sprite shader with attributes using the version 140, so I think it would be nice to default some of the shaders from examples to the newest pipeline.
I like that with new version they totally got rid or varying and attribute and everything works with in and out just fine which looks and feels really nice, very informative, to what we actually do in the shader.
I’d love to have a stab at a “Good first issue” task. But the ones currently on display are over 2 years old. Are these still relevant or are there more important options / requests available?
My first PR is the update for the Vertex Attribute example
It now use shaders with GLSL version 140, fixes the rapid clicking issue that caused colors to not get back to initial when clicked during animation and updated the image (because Vertex Attributes now look differently in Editor):
This is now updated to distinguish it more from the dynamic factory example and to focus more on the power of creating an instance with different properties: - it can be used for spawning different enemies for example - I made an inverted space shooter, where you are spawning those different enemies and ship is automatically fighting them:
And I submitted next example proposition - Animation States.
This one might be a bit too complicated for an example, but I tried to simplify it as much as possible. Reduced logic from around 600 initial lines to around 270 functional lines now (except comments), leaving only essentials. The script uses a very simple and straightforward implementation that is inspired by FSM, or maybe even can be called FSM and might be helpful to get to know how to write something like this. The comments and the description are extensive, but I’m open to suggestions if you spot anything!