Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Idea: Get A Grid's Outline for In-Game Grid API #593

Open
merlin2v opened this issue Jun 3, 2018 · 0 comments
Open

Idea: Get A Grid's Outline for In-Game Grid API #593

merlin2v opened this issue Jun 3, 2018 · 0 comments

Comments

@merlin2v
Copy link

merlin2v commented Jun 3, 2018

Due to the restrictions of the In-Game Script API and it's common "Script is to complex" Error; I would suggest that there should be a method that could get a grid's outline at a specified angle as well as the outline from a certain square and position.
grid.getOutline(Vector3D angle) returns 2DOutline would contain points of collidable points as well as test methods.
grid.getSlice(Vector3D angle,Vector3D pos) returns 2DOutline
grid.getSlice(Vector3D angle,Vector3D posStart, Vector3D posEnd) returns 2DOutline

Reason:
I am currently trying to auto print my ship using for loops and hasBlock to a lcd/text panel however the "Script is to complex" Error shows up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant