Skip to content

Instantly share code, notes, and snippets.

if menuNum == 0 then
graphics.draw_image("Scenario/Misc/Starmap", { x = 0, y = 4 }, { x = 533, y = 364 })
-- add pointer to planet here when implemented
local top = 185
local bottom = -179
local left = -267
local right = 267
local loc = gameData.Scenarios[scenNum]["star-map-location"]
-- top line
graphics.draw_line( { x = left + loc.x, y = top }, { x = left + loc.x, y = top - loc.y + 15 }, 1, ClutColour(1, 1))