-
Notifications
You must be signed in to change notification settings - Fork 53
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 #921
base: main
Are you sure you want to change the base?
Conversation
Also here is a list of ideas that I didn't implement, but might return to in the future:
|
Thank you for submitting another extension. Do you think your extension could be useful for this example? If so, making an update of this example could be a good way to test the extension. |
While it works, I wouldn't say this is a great example. Most importantly it doesn't show off the object connecting feature, which is kind of why I made the extension in the first place. For such a simple game like sokoban, I don't think using this extension is easier (though its easier to understand than the while event stuff in my opinion), but it was never made with simple games in mind. |
Ok, it makes sense. |
Quick update fixing a critical bug with the |
Hello @pampogokiraly Thank you for submitting this great extension ! 💪
Can you please update the example and the extension in this PR to the latest version? So we can review the latest version of the extension and see it in the example. |
Can't update the extension, as it doesn't pass automatic tests:
|
1 similar comment
Can't update the extension, as it doesn't pass automatic tests:
|
!update |
✅ Successfully updated the extension. |
Here is the updated game example as well. |
"fullName": "Grid system", | ||
"helpPath": "", | ||
"iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLWdyaWQtbGFyZ2UiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNCwySDIwQTIsMiAwIDAsMSAyMiw0VjIwQTIsMiAwIDAsMSAyMCwyMkg0QzIuOTIsMjIgMiwyMS4xIDIsMjBWNEEyLDIgMCAwLDEgNCwyTTQsNFYxMUgxMVY0SDRNNCwyMEgxMVYxM0g0VjIwTTIwLDIwVjEzSDEzVjIwSDIwTTIwLDRIMTNWMTFIMjBWNFoiIC8+PC9zdmc+", | ||
"name": "GridSystem", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The extension name is not precise enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well... I couldn't really think of anything better. I'm open to suggestions though.
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)grobjects
))How to use the extension
(copied from the extension's description)
Grid object
behavior to all objects that can interact with each other.Set grid
action.Flag for moving
action.Calculate movement
action to calculate which objects will move.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