Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
puppetmaster- committed Aug 2, 2016
1 parent 8e03483 commit 6c40af2
Show file tree
Hide file tree
Showing 12 changed files with 448 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Tileset.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[gd_scene load_steps=2 format=1]

[ext_resource path="res://icon.png" type="Texture" id=1]

[node name="Tileset" type="Node2D"]

[node name="tile1" type="Sprite" parent="."]

texture = ExtResource( 1 )


Binary file added addons/tileset_dock/icon_collision_polygon_2d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added addons/tileset_dock/icon_collision_shape_2d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added addons/tileset_dock/icon_light_occluder_2d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added addons/tileset_dock/icon_static_body_2d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions addons/tileset_dock/plugin.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[plugin]

name="Tileset Dock"
description="Tileset dock plugin to help creating/changing tileset scene."
author="Christian Fisch"
version="1.0"
script="tileset_dock_plugin.gd"







275 changes: 275 additions & 0 deletions addons/tileset_dock/tileset_dock.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,275 @@
[gd_scene load_steps=6 format=1]

[ext_resource path="res://addons/tileset_dock/icon_static_body_2d.png" type="Texture" id=1]
[ext_resource path="res://addons/tileset_dock/icon_collision_polygon_2d.png" type="Texture" id=2]
[ext_resource path="res://addons/tileset_dock/icon_collision_shape_2d.png" type="Texture" id=3]
[ext_resource path="res://addons/tileset_dock/icon_light_occluder_2d.png" type="Texture" id=4]
[ext_resource path="res://addons/tileset_dock/icon_navigation_polygon_instance.png" type="Texture" id=5]

[node name="Tileset" type="CenterContainer"]

focus/ignore_mouse = false
focus/stop_mouse = false
size_flags/horizontal = 0
size_flags/vertical = 2
margin/left = 0.0
margin/top = 0.0
margin/right = 200.0
margin/bottom = 233.0
use_top_left = false
__meta__ = { "__editor_plugin_screen__":"2D" }

[node name="VBoxContainer" type="VBoxContainer" parent="."]

rect/min_size = Vector2( 200, 0 )
focus/ignore_mouse = false
focus/stop_mouse = false
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 0.0
margin/right = 233.0
margin/bottom = 267.0
alignment = 1

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]

editor/display_folded = true
focus/ignore_mouse = false
focus/stop_mouse = false
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 0.0
margin/right = 233.0
margin/bottom = 24.0
alignment = 1

[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer"]

focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 57.0
margin/top = 5.0
margin/right = 114.0
margin/bottom = 19.0
text = "Tile Size:"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1

[node name="tilesize" type="LineEdit" parent="VBoxContainer/HBoxContainer"]

focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 0
size_flags/vertical = 2
margin/left = 118.0
margin/top = 0.0
margin/right = 176.0
margin/bottom = 24.0
placeholder/alpha = 0.6
align = 1
focus_mode = 2
caret/caret_blink = false
caret/caret_blink_speed = 0.65

[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]

focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 28.0
margin/right = 233.0
margin/bottom = 31.0

[node name="add" type="Label" parent="VBoxContainer"]

rect/min_size = Vector2( 0, 50 )
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 0.0
margin/top = 35.0
margin/right = 233.0
margin/bottom = 85.0
text = "select tile(s) in tileset\nto add or remove"
align = 1
valign = 2
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1

[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer"]

focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 89.0
margin/right = 233.0
margin/bottom = 267.0

[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/PanelContainer"]

focus/ignore_mouse = false
focus/stop_mouse = false
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 7.0
margin/top = 7.0
margin/right = 226.0
margin/bottom = 171.0
alignment = 0

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer"]

editor/display_folded = true
rect/min_size = Vector2( 0, 24 )
focus/ignore_mouse = false
focus/stop_mouse = false
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 0.0
margin/right = 219.0
margin/bottom = 24.0
alignment = 1

[node name="TextureFrame" type="TextureFrame" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer"]

focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 0
size_flags/vertical = 0
margin/left = 48.0
margin/top = 4.0
margin/right = 64.0
margin/bottom = 20.0
texture = ExtResource( 1 )
stretch_mode = 0

[node name="add1" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer"]

focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 68.0
margin/top = 5.0
margin/right = 170.0
margin/bottom = 19.0
text = "StaticBody with:"
align = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1

[node name="collisionPolygon" type="Button" parent="VBoxContainer/PanelContainer/VBoxContainer"]

rect/min_size = Vector2( 200, 0 )
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 0
size_flags/vertical = 2
margin/left = 9.0
margin/top = 28.0
margin/right = 209.0
margin/bottom = 50.0
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
text = "CollisionPolygon"
icon = ExtResource( 2 )
flat = false

[node name="collisionShape" type="Button" parent="VBoxContainer/PanelContainer/VBoxContainer"]

rect/min_size = Vector2( 200, 0 )
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 0
size_flags/vertical = 2
margin/left = 9.0
margin/top = 54.0
margin/right = 209.0
margin/bottom = 76.0
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
text = "CollisionShape"
icon = ExtResource( 3 )
flat = false

[node name="HSeparator" type="HSeparator" parent="VBoxContainer/PanelContainer/VBoxContainer"]

rect/min_size = Vector2( 0, 6 )
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 80.0
margin/right = 219.0
margin/bottom = 86.0

[node name="CheckGetPolyColli" type="CheckButton" parent="VBoxContainer/PanelContainer/VBoxContainer"]

focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 90.0
margin/right = 219.0
margin/bottom = 112.0
toggle_mode = true
enabled_focus_mode = 2
shortcut = null
text = "Polygon from Collision"
flat = false
align = 0

[node name="occluder" type="Button" parent="VBoxContainer/PanelContainer/VBoxContainer"]

rect/min_size = Vector2( 200, 0 )
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 0
size_flags/vertical = 2
margin/left = 9.0
margin/top = 116.0
margin/right = 209.0
margin/bottom = 138.0
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
text = "occluder"
icon = ExtResource( 4 )
flat = false

[node name="navigation" type="Button" parent="VBoxContainer/PanelContainer/VBoxContainer"]

rect/min_size = Vector2( 200, 0 )
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 0
size_flags/vertical = 2
margin/left = 9.0
margin/top = 142.0
margin/right = 209.0
margin/bottom = 164.0
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
text = "navigation"
icon = ExtResource( 5 )
flat = false


Loading

0 comments on commit 6c40af2

Please sign in to comment.