Skip to content
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

New extension: Grid system #920

Closed
3 tasks done
pampogokiraly opened this issue Jul 4, 2023 · 4 comments
Closed
3 tasks done

New extension: Grid system #920

pampogokiraly opened this issue Jul 4, 2023 · 4 comments
Labels
✨ New extension A new extension

Comments

@pampogokiraly
Copy link

pampogokiraly commented Jul 4, 2023

Description

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

  • Grid object behavior (handles most of the stuff behind the scenes)
  • Actions to connect objects to each other (making them act as one bigger objects (these are called grobjects))
  • The ability to move multiple objects at once.

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

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

GridSystemGameExample.zip

Extension file

GridSystem.zip

@pampogokiraly pampogokiraly added the ✨ New extension A new extension label Jul 4, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2023

👋 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 🙏

1 similar comment
@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2023

👋 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
Copy link
Author

!update
GridSystem.zip

@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ New extension A new extension
Projects
None yet
Development

No branches or pull requests

1 participant