Menu

#5 Make the toroidal aspect of ScrollMaps optional

4.9
accepted
Reylak
2013-06-13
2013-06-12
Reylak
No

The ScrollMaps are currently toroidal, that is to say they render forever in any direction. For instance, when you reach the right-hand edge, the left-hand edge is also displayed as in an infinite loop.

We wish to make this characteristic optional at the creation of a ScrollMap:

-- toroidal is a boolean
ScrollMap ScrollMap.new(image, mapFile, with, height, tileWidth, tileHeight, toroidal)

Original idea from Ghuntar.

Discussion

  • Reylak

    Reylak - 2013-06-12
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -5,3 +5,6 @@
         :::lua
         -- toroidal is a boolean
         ScrollMap ScrollMap.new(image, mapFile, with, height, tileWidth, tileHeight, toroidal)
    +
    +
    +Original idea from Ghuntar.
    
     
  • Reylak

    Reylak - 2013-06-13
    • Milestone: 5.0 --> 4.9
     

Anonymous
Anonymous

Add attachments
Cancel