Skip to content
#

gamedev-library

Here are 47 public repositories matching this topic...

tapir
tapir commented Jan 17, 2020
edgeDebug := imdraw.New(nil)

for !win.Closed() {
    // .....
    
    edgeDebug.Clear()
    //edgeDebug.Reset()
    edgeDebug.Color = colornames.Red
    edgeDebug.Push(points...)
    edgeDebug.Line(2)
    
    // .....

    win.Draw(edgeDebug)
}

According to documentation below

// Clear removes all drawn shapes from the IM. This does not remove Pushed points.
fun

adngdb
adngdb commented Dec 30, 2015

In order to make a great documentation, I think we need a lot of very precise and concrete examples. For that, I would need to know what people struggle to understand or achieve using ensy. That can be something high level related to the concept of Entity Systems or things related to the use of the lib itself.

So, if you read this and have anything to say, please comment! :)

doc
tilepix
bcvery1
bcvery1 commented Apr 5, 2019

TilePix only supports orthogonal maps (currently - hopefully we'll be able to support other types in the future). A sensible error should be returned on Reading a map which doesn't have orientation="orthogonal".

Need to set up a constant for each type:

  • orthogonal
  • hexagonal
  • isometric
  • staggered

Then, using a switch statement, check against each, returning an error if not

Improve this page

Add a description, image, and links to the gamedev-library topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the gamedev-library topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.