mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 17:49:47 +00:00
35b2c201ae
Instead of drawing individual lines, execute draw_isometric_tile() multiple times. What this method does is basically draws a single isometric tile, which then gets repeated for the entire canvas size. Also moved all the grid logic to a new script, which gets updated less often that Canvas.gd, for optimization purposes. Works better than the previous method, although it might be a bit slower, and currently does not work well if the canvas size is not divisible by the grid size. For now, it only gets affected by the grid width. Changing grid height has no effect. |
||
---|---|---|
.. | ||
Dialogs | ||
Rulers | ||
Timeline | ||
BrushButton.gd | ||
BrushButton.tscn | ||
BrushesPopup.gd | ||
BrushesPopup.tscn | ||
CanvasPreview.gd | ||
CanvasPreview.tscn | ||
CanvasPreviewContainer.gd | ||
CanvasPreviewContainer.tscn | ||
ColorAndToolOptions.gd | ||
ColorAndToolOptions.tscn | ||
Grid.gd | ||
NotificationLabel.gd | ||
NotificationLabel.tscn | ||
PatternButton.gd | ||
PatternButton.tscn | ||
PatternsPopup.gd | ||
PatternsPopup.tscn | ||
Tabs.gd | ||
ToolButtons.gd | ||
TopMenuContainer.gd | ||
TopMenuContainer.tscn | ||
TransparentChecker.gd | ||
TransparentChecker.tscn | ||
UI.tscn | ||
ViewportContainer.gd |