clean up the examples and fix a bug

akkartik
Nov 23, 2023, 7:44 PM
YEANRUAFKRGEDMVWAS53AQSWKJTMR7UMJMPYLRKSVIAIBBNREMWAC

Dependencies

  • [2] XIFRMKAL some larger examples using shared abbreviations
  • [3] OOSUBWKX subject people to a tutorial
  • [4] MJ6KKFVT give example panes a name
  • [5] MRI3JAQI better line-wrap onboarding screens

Change contents

  • replacement in 0078-Example_panes at line 169
    [2.820][2.820:923]()
    ' for x=50,love.graphics.getWidth()-1,50 do',
    ' for y=30,love.graphics.getHeight()-1,50 do',
    [2.820]
    [2.923]
    ' for x=50,Safe_width-1,50 do',
    ' for y=30,Safe_height-1,50 do',
  • replacement in 0078-Example_panes at line 186
    [2.1285][2.1285:1408]()
    ' love.graphics.setColor(0.8, 0.8, 0)',
    " love.graphics.arc('fill', x,y, 20, dang + 0.5, dang + 2*math.pi - 0.5)",
    [2.1285]
    [2.1408]
    ' color(0.8, 0.8, 0)',
    " arc('fill', x,y, 20, dang + 0.5, dang + 2*math.pi - 0.5)",
  • replacement in 0078-Example_panes at line 190
    [2.1469][2.1469:1524]()
    " love.graphics.circle('fill', b.x, b.y, 10)",
    [2.1469]
    [2.1524]
    " circle('fill', b.x, b.y, 10)",
  • replacement in 0078-Example_panes at line 196
    [2.1615][2.1615:1660]()
    ' if x > love.graphics.getWidth() then',
    [2.1615]
    [2.1660]
    ' if x > Safe_width then',
  • replacement in 0078-Example_panes at line 203
    [2.1795][2.1795:1841]()
    ' if y > love.graphics.getHeight() then',
    [2.1795]
    [2.1841]
    ' if y > Safe_height then',
  • replacement in 0078-Example_panes at line 225
    [2.2267][2.2267:2306]()
    " circ('fill', c.x,c.y, c.r)",
    [2.2267]
    [2.2306]
    " circle('fill', c.x,c.y, c.r)",
  • replacement in 0078-Example_panes at line 256
    [3.3820][3.3820:3876]()
    "-- Over to you. We hope you enjoy Carousel Shell!",
    [3.3820]
    [3.3876]
    "-- Over to you. We hope you enjoy Lua Carousel!",