GDevelopApp / GDevelop-extensions

Repository of behaviors, actions, conditions and expressions to be used in GDevelop for creating games
https://gdevelop.io
MIT License
131 stars 53 forks source link

New extension: Grid system #920

Closed pampogokiraly closed 1 year ago

pampogokiraly commented 1 year ago

Description

This extension adds some useful tools to connect, move, and push objects around on a grid.

How to use the extension

(copied from the extension's description)

  1. Add the Grid object behavior to all objects that can interact with each other.
  2. Set the grid size with the Set grid action.
  3. Connect objects together to make more complex Grobjects (see below)
  4. Flag objects that you want to move with the Flag for moving action.
  5. Use the Calculate movement action to calculate which objects will move.
  6. Use the Can move condition on the objects, and move them accordingly.

Important! The extension often refers to things called "grobject". These are made of one or more connected objects with the Grid object behavior. Objects in the same grobject will stick to each other when calculating their movement. It is important that you don't mix the two things together. An object is an object, and a grobject is one or more objects connected (yes. a single object on its own is also a grobject)!

Checklist

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

GridSystemGameExample.zip

Extension file

GridSystem.zip

github-actions[bot] commented 1 year ago

👋 Thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply 😔. You can find all of those rules on the GDevelop wiki.

The following issues have been found by the system concerning the respect of those best practices by your extension:

  ⟶ ❌ [Dots in sentences]: Field 'shortDescription' of the extension description misses a dot at the end of the sentence!
  ⟶ ❌ [Dots in sentences]: Field 'description' of the function 'DirectionToPosition' misses a dot at the end of the sentence!
  ⟶ ❌ [Dots in sentences]: Field 'description' of the function 'LastDirection' misses a dot at the end of the sentence!

Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏

github-actions[bot] commented 1 year ago

👋 Thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply 😔. You can find all of those rules on the GDevelop wiki.

The following issues have been found by the system concerning the respect of those best practices by your extension:

  ⟶ ❌ [Dots in sentences]: Field 'shortDescription' of the extension description misses a dot at the end of the sentence!
  ⟶ ❌ [Dots in sentences]: Field 'description' of the function 'DirectionToPosition' misses a dot at the end of the sentence!
  ⟶ ❌ [Dots in sentences]: Field 'description' of the function 'LastDirection' misses a dot at the end of the sentence!

Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏

pampogokiraly commented 1 year ago

!update GridSystem.zip

github-actions[bot] commented 1 year ago

Hi @pampogokiraly! 👋 This submission has passed all required tests, and has been moved to a PR as part of our submission pipeline. You can see the progress of your submission on this page. Community submissions are not reviewed by default, so your extension should be added once we've checked that your submission doesn't contain malicious code without further intervention on your part. If you wish for your extension to be reviewed (and thereby moved to the list of reviewed extensions), please follow the instructions written on the README. Thanks again for your contribution to GDevelop!