Compare commits
7 Commits
3.0-59751d
...
2.1.3-stab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbccc3a3da | ||
|
|
491aef3974 | ||
|
|
67313fc1be | ||
|
|
ed6ae9dc2f | ||
|
|
5260eeabc7 | ||
|
|
f18d5d02c3 | ||
|
|
ed9494f251 |
11
.gitignore
vendored
@@ -1,11 +0,0 @@
|
||||
# Godot-specific ignores
|
||||
.import/
|
||||
export.cfg
|
||||
export_presets.cfg
|
||||
|
||||
# Mono-specific ignores
|
||||
.mono/
|
||||
|
||||
# System/tool-specific ignores
|
||||
.directory
|
||||
*~
|
||||
BIN
2d/area_input/box_area.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
2d/area_input/circle_area.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
5
2d/area_input/engine.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
[application]
|
||||
|
||||
name="Area 2D Input Events"
|
||||
main_scene="res://input.tscn"
|
||||
icon="res://icon.png"
|
||||
BIN
2d/area_input/icon.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
15
2d/area_input/input.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
extends Area2D
|
||||
|
||||
|
||||
# Virtual from CollisionObject2D (also available as signal)
|
||||
func _input_event(viewport, event, shape_idx):
|
||||
# Convert event to local coordinates
|
||||
if (event.type == InputEvent.MOUSE_MOTION):
|
||||
event = make_input_local(event)
|
||||
get_node("label").set_text(str(event.pos))
|
||||
|
||||
|
||||
# Virtual from CollisionObject2D (also available as signal)
|
||||
func _mouse_exit():
|
||||
get_node("label").set_text("")
|
||||
109
2d/area_input/input.tscn
Normal file
@@ -0,0 +1,109 @@
|
||||
[gd_scene load_steps=6 format=1]
|
||||
|
||||
[ext_resource path="res://input.gd" type="Script" id=1]
|
||||
[ext_resource path="res://box_area.png" type="Texture" id=2]
|
||||
[ext_resource path="res://circle_area.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
extents = Vector2( 64, 64 )
|
||||
|
||||
[sub_resource type="CircleShape2D" id=2]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
radius = 64.0
|
||||
|
||||
[node name="base" type="Node2D"]
|
||||
|
||||
[node name="box" type="Area2D" parent="."]
|
||||
|
||||
transform/pos = Vector2( 212, 281 )
|
||||
transform/rot = 35.4081
|
||||
input/pickable = true
|
||||
shapes/0/shape = SubResource( 1 )
|
||||
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
||||
shapes/0/trigger = false
|
||||
gravity_vec = Vector2( 0, 1 )
|
||||
gravity = 98.0
|
||||
linear_damp = 0.1
|
||||
angular_damp = 1.0
|
||||
script/script = ExtResource( 1 )
|
||||
|
||||
[node name="sprite" type="Sprite" parent="box"]
|
||||
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="label" type="Label" parent="box"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
margin/left = -43.0
|
||||
margin/top = 71.0
|
||||
margin/right = 43.0
|
||||
margin/bottom = 84.0
|
||||
align = 1
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="shape" type="CollisionShape2D" parent="box"]
|
||||
|
||||
shape = SubResource( 1 )
|
||||
trigger = false
|
||||
_update_shape_index = -1
|
||||
|
||||
[node name="circle" type="Area2D" parent="."]
|
||||
|
||||
transform/pos = Vector2( 547.877, 286.808 )
|
||||
transform/rot = -40.5985
|
||||
input/pickable = true
|
||||
shapes/0/shape = SubResource( 2 )
|
||||
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
||||
shapes/0/trigger = false
|
||||
gravity_vec = Vector2( 0, 1 )
|
||||
gravity = 98.0
|
||||
linear_damp = 0.1
|
||||
angular_damp = 1.0
|
||||
script/script = ExtResource( 1 )
|
||||
|
||||
[node name="sprite" type="Sprite" parent="circle"]
|
||||
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="label" type="Label" parent="circle"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
margin/left = -43.0
|
||||
margin/top = 71.0
|
||||
margin/right = 43.0
|
||||
margin/bottom = 84.0
|
||||
align = 1
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="shape" type="CollisionShape2D" parent="circle"]
|
||||
|
||||
shape = SubResource( 2 )
|
||||
trigger = false
|
||||
_update_shape_index = -1
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 40.0
|
||||
margin/bottom = 13.0
|
||||
text = "This demo shows how to use a regular Area2D to get input events, and how to convert the input events to local coordinates of the node.\nUnlike controls, Input on Area2D or PhysicsBody2D nodes only works properly (with scrolling) on canvas layer 0."
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
|
||||
17
2d/dynamic_collision_shapes/ball.gd
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
extends RigidBody2D
|
||||
|
||||
# Member variables
|
||||
var timeout = 5
|
||||
|
||||
|
||||
func _process(delta):
|
||||
timeout -= delta
|
||||
if (timeout < 1):
|
||||
set_opacity(timeout)
|
||||
if (timeout < 0):
|
||||
queue_free()
|
||||
|
||||
|
||||
func _ready():
|
||||
set_process(true)
|
||||
BIN
2d/dynamic_collision_shapes/ball.png
Normal file
|
After Width: | Height: | Size: 321 B |
47
2d/dynamic_collision_shapes/ball.tscn
Normal file
@@ -0,0 +1,47 @@
|
||||
[gd_scene load_steps=4 format=1]
|
||||
|
||||
[ext_resource path="res://ball.gd" type="Script" id=1]
|
||||
[ext_resource path="res://ball.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
radius = 7.45713
|
||||
|
||||
[node name="bal" type="RigidBody2D"]
|
||||
|
||||
input/pickable = false
|
||||
shapes/0/shape = SubResource( 1 )
|
||||
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
||||
shapes/0/trigger = false
|
||||
collision/layers = 1
|
||||
collision/mask = 1
|
||||
mode = 0
|
||||
mass = 1.0
|
||||
friction = 1.0
|
||||
bounce = 0.0
|
||||
gravity_scale = 1.0
|
||||
custom_integrator = false
|
||||
continuous_cd = 0
|
||||
contacts_reported = 0
|
||||
contact_monitor = false
|
||||
sleeping = false
|
||||
can_sleep = true
|
||||
velocity/linear = Vector2( 0, 0 )
|
||||
velocity/angular = 0.0
|
||||
damp_override/linear = -1.0
|
||||
damp_override/angular = -1.0
|
||||
script/script = ExtResource( 1 )
|
||||
|
||||
[node name="sprite" type="Sprite" parent="."]
|
||||
|
||||
transform/pos = Vector2( 0, 1 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
|
||||
shape = SubResource( 1 )
|
||||
trigger = false
|
||||
_update_shape_index = 0
|
||||
|
||||
|
||||
BIN
2d/dynamic_collision_shapes/box.png
Normal file
|
After Width: | Height: | Size: 253 B |
BIN
2d/dynamic_collision_shapes/circle.png
Normal file
|
After Width: | Height: | Size: 889 B |
19
2d/dynamic_collision_shapes/dynamic_colobjs.gd
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
extends Node2D
|
||||
|
||||
# Member variables
|
||||
const EMIT_INTERVAL = 0.1
|
||||
var timeout = EMIT_INTERVAL
|
||||
|
||||
|
||||
func _process(delta):
|
||||
timeout -= delta
|
||||
if (timeout < 0):
|
||||
timeout = EMIT_INTERVAL
|
||||
var ball = preload("res://ball.tscn").instance()
|
||||
ball.set_pos(Vector2(randf()*get_viewport_rect().size.x, 0))
|
||||
add_child(ball)
|
||||
|
||||
|
||||
func _ready():
|
||||
set_process(true)
|
||||
178
2d/dynamic_collision_shapes/dynamic_colobjs.tscn
Normal file
@@ -0,0 +1,178 @@
|
||||
[gd_scene load_steps=13 format=1]
|
||||
|
||||
[ext_resource path="res://dynamic_colobjs.gd" type="Script" id=1]
|
||||
[ext_resource path="res://circle.png" type="Texture" id=2]
|
||||
[ext_resource path="res://box.png" type="Texture" id=3]
|
||||
[ext_resource path="res://poly.png" type="Texture" id=4]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
radius = 28.8504
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=2]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
extents = Vector2( 32.1805, 30.0328 )
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=3]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
points = Vector2Array( 49.5669, -27.9744, 45.1564, 15.3961, 18.6931, -1.51105 )
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=4]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
points = Vector2Array( -55.093, -14.2052, -37.1739, 2.89948, -40.1345, 21.2602, -53.3067, 15.8716 )
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=5]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
points = Vector2Array( -40.1345, 21.2602, -37.1739, 2.89948, -14.386, -14.0076, -6.30005, 0.694214 )
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=6]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
points = Vector2Array( -14.386, -14.0076, 18.6931, -1.51105, 45.1564, 15.3961, -6.30005, 0.694214 )
|
||||
|
||||
[sub_resource type="Animation" id=7]
|
||||
|
||||
resource/name = "movethem"
|
||||
length = 4.0
|
||||
loop = true
|
||||
step = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("base/circle:transform/pos")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/keys = { "cont":true, "times":FloatArray( 0, 2 ), "transitions":FloatArray( 1, 1 ), "values":[ Vector2( 0, 0 ), Vector2( 52.7569, -70.845 ) ] }
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("base/box:transform/pos")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/keys = { "cont":true, "times":FloatArray( 0, 2 ), "transitions":FloatArray( 1, 1 ), "values":[ Vector2( 193.173, -2.72076 ), Vector2( 195.894, -72.0999 ) ] }
|
||||
tracks/2/type = "value"
|
||||
tracks/2/path = NodePath("base/box:transform/rot")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/keys = { "cont":true, "times":FloatArray( 0, 2 ), "transitions":FloatArray( 1, 1 ), "values":[ 0.0, 92.8111 ] }
|
||||
tracks/3/type = "value"
|
||||
tracks/3/path = NodePath("base/polygon:transform/pos")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/keys = { "cont":true, "times":FloatArray( 0, 2 ), "transitions":FloatArray( 1, 1 ), "values":[ Vector2( 382.265, -2.72076 ), Vector2( 495.176, -10.883 ) ] }
|
||||
|
||||
[sub_resource type="Animation" id=8]
|
||||
|
||||
resource/name = "toggletrigger"
|
||||
length = 6.0
|
||||
loop = true
|
||||
step = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("base/box:trigger")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/keys = { "cont":false, "times":FloatArray( 0, 4 ), "transitions":FloatArray( 1, 1 ), "values":[ false, true ] }
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("base/box:visibility/opacity")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/keys = { "cont":false, "times":FloatArray( 0, 4 ), "transitions":FloatArray( 1, 1 ), "values":[ 1.0, 0.2 ] }
|
||||
|
||||
[node name="base" type="Node2D"]
|
||||
|
||||
script/script = ExtResource( 1 )
|
||||
|
||||
[node name="base" type="KinematicBody2D" parent="."]
|
||||
|
||||
transform/pos = Vector2( 137, 470 )
|
||||
input/pickable = false
|
||||
shapes/0/shape = SubResource( 1 )
|
||||
shapes/0/transform = Matrix32( 1, 0, 0, 1, 7.91353, -10.6267 )
|
||||
shapes/0/trigger = false
|
||||
shapes/1/shape = SubResource( 2 )
|
||||
shapes/1/transform = Matrix32( 0.970626, -0.240595, 0.240595, 0.970626, 193.581, -13.1276 )
|
||||
shapes/1/trigger = false
|
||||
shapes/2/shape = SubResource( 3 )
|
||||
shapes/2/transform = Matrix32( 1, 0, 0, 1, 399.202, -3.9451 )
|
||||
shapes/2/trigger = false
|
||||
shapes/3/shape = SubResource( 4 )
|
||||
shapes/3/transform = Matrix32( 1, 0, 0, 1, 399.202, -3.9451 )
|
||||
shapes/3/trigger = false
|
||||
shapes/4/shape = SubResource( 5 )
|
||||
shapes/4/transform = Matrix32( 1, 0, 0, 1, 399.202, -3.9451 )
|
||||
shapes/4/trigger = false
|
||||
shapes/5/shape = SubResource( 6 )
|
||||
shapes/5/transform = Matrix32( 1, 0, 0, 1, 399.202, -3.9451 )
|
||||
shapes/5/trigger = false
|
||||
collision/layers = 1
|
||||
collision/mask = 1
|
||||
collision/margin = 0.08
|
||||
|
||||
[node name="circle" type="CollisionShape2D" parent="base"]
|
||||
|
||||
transform/pos = Vector2( 7.91353, -10.6267 )
|
||||
shape = SubResource( 1 )
|
||||
trigger = false
|
||||
_update_shape_index = 0
|
||||
|
||||
[node name="sprite" type="Sprite" parent="base/circle"]
|
||||
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="box" type="CollisionShape2D" parent="base"]
|
||||
|
||||
transform/pos = Vector2( 193.581, -13.1276 )
|
||||
transform/rot = 13.9217
|
||||
shape = SubResource( 2 )
|
||||
trigger = false
|
||||
_update_shape_index = 1
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="base/box"]
|
||||
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="polygon" type="CollisionPolygon2D" parent="base"]
|
||||
|
||||
transform/pos = Vector2( 399.202, -3.9451 )
|
||||
build_mode = 0
|
||||
polygon = Vector2Array( -55.093, -14.2052, -37.1739, 2.89948, -14.386, -14.0076, 18.6931, -1.51105, 49.5669, -27.9744, 45.1564, 15.3961, -6.30005, 0.694214, -40.1345, 21.2602, -53.3067, 15.8716 )
|
||||
shape_range = Vector2( 2, 5 )
|
||||
trigger = false
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="base/polygon"]
|
||||
|
||||
texture = ExtResource( 4 )
|
||||
|
||||
[node name="shapemove" type="AnimationPlayer" parent="."]
|
||||
|
||||
playback/process_mode = 1
|
||||
playback/default_blend_time = 0.0
|
||||
root/root = NodePath("..")
|
||||
anims/movethem = SubResource( 7 )
|
||||
playback/active = true
|
||||
playback/speed = 1.0
|
||||
blend_times = [ ]
|
||||
autoplay = "movethem"
|
||||
|
||||
[node name="triggertoggle" type="AnimationPlayer" parent="."]
|
||||
|
||||
playback/process_mode = 1
|
||||
playback/default_blend_time = 0.0
|
||||
root/root = NodePath("..")
|
||||
anims/movethem = SubResource( 7 )
|
||||
anims/toggletrigger = SubResource( 8 )
|
||||
playback/active = true
|
||||
playback/speed = 1.0
|
||||
blend_times = [ ]
|
||||
autoplay = "toggletrigger"
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
margin/left = 21.0
|
||||
margin/top = 21.0
|
||||
margin/right = 719.0
|
||||
margin/bottom = 73.0
|
||||
text = "This demo simply shows that it\'s possible now to move a CollisionShape and CollisionPolygon after it was created\nand also turn it into a trigger at run-time. CollisionShape will remain alive during the running game and you can\ninteract with them, even though they are just meant to be helpers.\nIt is always recommended in a real use-case scenario, to move a body instead of a shape, as that path is better optimized."
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
|
||||
5
2d/dynamic_collision_shapes/engine.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
[application]
|
||||
|
||||
name="Run-Time CollisionShape"
|
||||
main_scene="res://dynamic_colobjs.tscn"
|
||||
icon="res://icon.png"
|
||||
BIN
2d/dynamic_collision_shapes/icon.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
2d/dynamic_collision_shapes/poly.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
12
2d/fog_of_war/engine.cfg
Normal file
@@ -0,0 +1,12 @@
|
||||
[application]
|
||||
|
||||
name="Fog of War"
|
||||
main_scene="res://fog.tscn"
|
||||
icon="res://icon.png"
|
||||
|
||||
[input]
|
||||
|
||||
move_up=[key(Up)]
|
||||
move_bottom=[key(Down)]
|
||||
move_left=[key(Left)]
|
||||
move_right=[key(Right)]
|
||||
BIN
2d/fog_of_war/floor.png
Normal file
|
After Width: | Height: | Size: 572 B |
78
2d/fog_of_war/fog.gd
Normal file
@@ -0,0 +1,78 @@
|
||||
|
||||
extends TileMap
|
||||
|
||||
# Member variables
|
||||
|
||||
# Boundaries for the fog rectangle
|
||||
var x_min = -20 # Left start tile
|
||||
var x_max = 20 # Right end tile
|
||||
var y_min = -20 # Top start tile
|
||||
var y_max = 20 # Bottom end tile
|
||||
|
||||
var position # Player's position
|
||||
|
||||
# Iteration variables
|
||||
var x
|
||||
var y
|
||||
|
||||
# Variables to check if the player moved
|
||||
var x_old
|
||||
var y_old
|
||||
|
||||
# Array to build up the visible area like a square.
|
||||
# First value determines the width/height of the tip.
|
||||
# Here it would be 2*2 + 1 = 5 tiles wide/high.
|
||||
# Second value determines the total squares size.
|
||||
# Here it would be 5*2 + 1 = 10 tiles wide/high.
|
||||
var l = range(2, 5)
|
||||
|
||||
|
||||
# Process that runs in realtime
|
||||
func _fixed_process(delta):
|
||||
position = get_node("../troll").get_pos()
|
||||
|
||||
# Calculate the corresponding tile
|
||||
# from the players position
|
||||
x = int(position.x/get_cell_size().x)
|
||||
# Switching from positive to negative tile positions
|
||||
# causes problems because of rounding problems
|
||||
if position.x < 0:
|
||||
x -= 1 # Correct negative values
|
||||
|
||||
y = int(position.y/get_cell_size().y)
|
||||
if (position.y < 0):
|
||||
y -= 1
|
||||
|
||||
# Check if the player moved one tile further
|
||||
if ((x_old != x) or (y_old != y)):
|
||||
# Create the transparent part (visited area)
|
||||
var end = l.size() - 1
|
||||
var start = 0
|
||||
for steps in range(l.size()):
|
||||
for m in range(x - l[end] - 1, x + l[end] + 2):
|
||||
for n in range(y - l[start] - 1, y + l[start] + 2):
|
||||
if (get_cell(m, n) != 0):
|
||||
set_cell(m, n, 1, 0, 0)
|
||||
end -= 1
|
||||
start += 1
|
||||
|
||||
# Create the actual and active visible part
|
||||
var end = l.size() - 1
|
||||
var start = 0
|
||||
for steps in range(l.size()):
|
||||
for m in range(x - l[end], x + l[end] + 1):
|
||||
for n in range(y - l[start], y + l[start] + 1):
|
||||
set_cell(m, n, -1)
|
||||
end -= 1
|
||||
start += 1
|
||||
|
||||
x_old = x
|
||||
y_old = y
|
||||
|
||||
|
||||
func _ready():
|
||||
# Create a square filled with the 100% opaque fog
|
||||
for x in range(x_min, x_max):
|
||||
for y in range(y_min, y_max):
|
||||
set_cell(x, y, 0, 0, 0)
|
||||
set_fixed_process(true)
|
||||
BIN
2d/fog_of_war/fog.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
51
2d/fog_of_war/fog.tscn
Normal file
@@ -0,0 +1,51 @@
|
||||
[gd_scene load_steps=4 format=1]
|
||||
|
||||
[ext_resource path="res://tileset.tres" type="TileSet" id=1]
|
||||
[ext_resource path="res://troll.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://fog.gd" type="Script" id=3]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
|
||||
[node name="TileMap" type="TileMap" parent="."]
|
||||
|
||||
transform/pos = Vector2( 206, 112 )
|
||||
mode = 0
|
||||
tile_set = ExtResource( 1 )
|
||||
cell/size = Vector2( 48, 48 )
|
||||
cell/quadrant_size = 16
|
||||
cell/custom_transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
||||
cell/half_offset = 2
|
||||
cell/tile_origin = 0
|
||||
cell/y_sort = false
|
||||
collision/use_kinematic = false
|
||||
collision/friction = 1.0
|
||||
collision/bounce = 0.0
|
||||
collision/layers = 1
|
||||
collision/mask = 1
|
||||
occluder/light_mask = 1
|
||||
tile_data = IntArray( -589834, 2, -589833, 2, -589832, 2, -589831, 2, -589830, 2, -589829, 2, -589828, 2, -589827, 2, -589826, 2, -589825, 2, -655360, 2, -655359, 2, -655358, 2, -655357, 2, -655356, 2, -655355, 2, -655354, 2, -655353, 2, -655352, 2, -655351, 2, -524298, 2, -524297, 2, -524296, 2, -524295, 2, -524294, 2, -524293, 2, -524292, 2, -524291, 2, -524290, 2, -524289, 2, -589824, 2, -589823, 2, -589822, 2, -589821, 2, -589820, 2, -589819, 2, -589818, 2, -589817, 2, -589816, 2, -589815, 2, -458762, 2, -458761, 2, -458760, 2, -458759, 2, -458758, 2, -458757, 2, -458756, 2, -458755, 2, -458754, 2, -458753, 2, -524288, 2, -524287, 2, -524286, 2, -524285, 2, -524284, 2, -524283, 2, -524282, 2, -524281, 2, -524280, 2, -524279, 2, -393226, 2, -393225, 2, -393224, 2, -393223, 2, -393222, 2, -393221, 2, -393220, 2, -393219, 2, -393218, 2, -393217, 2, -458752, 2, -458751, 2, -458750, 2, -458749, 2, -458748, 2, -458747, 2, -458746, 2, -458745, 2, -458744, 2, -458743, 2, -327690, 2, -327689, 2, -327688, 2, -327687, 2, -327686, 2, -327685, 2, -327684, 2, -327683, 2, -327682, 2, -327681, 2, -393216, 2, -393215, 2, -393214, 2, -393213, 2, -393212, 2, -393211, 2, -393210, 2, -393209, 2, -393208, 2, -393207, 2, -262154, 2, -262153, 2, -262152, 2, -262151, 2, -262150, 2, -262149, 2, -262148, 2, -262147, 2, -262146, 2, -262145, 2, -327680, 2, -327679, 2, -327678, 2, -327677, 2, -327676, 2, -327675, 2, -327674, 2, -327673, 2, -327672, 2, -327671, 2, -196618, 2, -196617, 2, -196616, 2, -196615, 2, -196614, 2, -196613, 2, -196612, 2, -196611, 2, -196610, 2, -196609, 2, -262144, 2, -262143, 2, -262142, 2, -262141, 2, -262140, 2, -262139, 2, -262138, 2, -262137, 2, -262136, 2, -262135, 2, -131082, 2, -131081, 2, -131080, 2, -131079, 2, -131078, 2, -131077, 2, -131076, 2, -131075, 2, -131074, 2, -131073, 2, -196608, 2, -196607, 2, -196606, 2, -196605, 2, -196604, 2, -196603, 2, -196602, 2, -196601, 2, -196600, 2, -196599, 2, -65546, 2, -65545, 2, -65544, 2, -65543, 2, -65542, 2, -65541, 2, -65540, 2, -65539, 2, -65538, 2, -65537, 2, -131072, 2, -131071, 2, -131070, 2, -131069, 2, -131068, 2, -131067, 2, -131066, 2, -131065, 2, -131064, 2, -131063, 2, -10, 2, -9, 2, -8, 2, -7, 2, -6, 2, -5, 2, -4, 2, -3, 2, -2, 2, -1, 2, -65536, 2, -65535, 2, -65534, 2, -65533, 2, -65532, 2, -65531, 2, -65530, 2, -65529, 2, -65528, 2, -65527, 2, 65526, 2, 65527, 2, 65528, 2, 65529, 2, 65530, 2, 65531, 2, 65532, 2, 65533, 2, 65534, 2, 65535, 2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 2, 6, 2, 7, 2, 8, 2, 9, 2, 131062, 2, 131063, 2, 131064, 2, 131065, 2, 131066, 2, 131067, 2, 131068, 2, 131069, 2, 131070, 2, 131071, 2, 65536, 2, 65537, 2, 65538, 2, 65539, 2, 65540, 2, 65541, 2, 65542, 2, 65543, 2, 65544, 2, 65545, 2, 196598, 2, 196599, 2, 196600, 2, 196601, 2, 196602, 2, 196603, 2, 196604, 2, 196605, 2, 196606, 2, 196607, 2, 131072, 2, 131073, 2, 131074, 2, 131075, 2, 131076, 2, 131077, 2, 131078, 2, 131079, 2, 131080, 2, 131081, 2, 262134, 2, 262135, 2, 262136, 2, 262137, 2, 262138, 2, 262139, 2, 262140, 2, 262141, 2, 262142, 2, 262143, 2, 196608, 2, 196609, 2, 196610, 2, 196611, 2, 196612, 2, 196613, 2, 196614, 2, 196615, 2, 196616, 2, 196617, 2, 327670, 2, 327671, 2, 327672, 2, 327673, 2, 327674, 2, 327675, 2, 327676, 2, 327677, 2, 327678, 2, 327679, 2, 262144, 2, 262145, 2, 262146, 2, 262147, 2, 262148, 2, 262149, 2, 262150, 2, 262151, 2, 262152, 2, 262153, 2, 393206, 2, 393207, 2, 393208, 2, 393209, 2, 393210, 2, 393211, 2, 393212, 2, 393213, 2, 393214, 2, 393215, 2, 327680, 2, 327681, 2, 327682, 2, 327683, 2, 327684, 2, 327685, 2, 327686, 2, 327687, 2, 327688, 2, 327689, 2, 458742, 2, 458743, 2, 458744, 2, 458745, 2, 458746, 2, 458747, 2, 458748, 2, 458749, 2, 458750, 2, 458751, 2, 393216, 2, 393217, 2, 393218, 2, 393219, 2, 393220, 2, 393221, 2, 393222, 2, 393223, 2, 393224, 2, 393225, 2, 524278, 2, 524279, 2, 524280, 2, 524281, 2, 524282, 2, 524283, 2, 524284, 2, 524285, 2, 524286, 2, 524287, 2, 458752, 2, 458753, 2, 458754, 2, 458755, 2, 458756, 2, 458757, 2, 458758, 2, 458759, 2, 458760, 2, 458761, 2, 589814, 2, 589815, 2, 589816, 2, 589817, 2, 589818, 2, 589819, 2, 589820, 2, 589821, 2, 589822, 2, 589823, 2, 524288, 2, 524289, 2, 524290, 2, 524291, 2, 524292, 2, 524293, 2, 524294, 2, 524295, 2, 524296, 2, 524297, 2, 655350, 2, 655351, 2, 655352, 2, 655353, 2, 655354, 2, 655355, 2, 655356, 2, 655357, 2, 655358, 2, 655359, 2, 589824, 2, 589825, 2, 589826, 2, 589827, 2, 589828, 2, 589829, 2, 589830, 2, 589831, 2, 589832, 2, 589833, 2 )
|
||||
|
||||
[node name="troll" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
collision/margin = 0.001
|
||||
|
||||
[node name="Fog" type="TileMap" parent="."]
|
||||
|
||||
mode = 0
|
||||
tile_set = ExtResource( 1 )
|
||||
cell/size = Vector2( 48, 48 )
|
||||
cell/quadrant_size = 16
|
||||
cell/custom_transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
||||
cell/half_offset = 2
|
||||
cell/tile_origin = 0
|
||||
cell/y_sort = false
|
||||
collision/use_kinematic = false
|
||||
collision/friction = 1.0
|
||||
collision/bounce = 0.0
|
||||
collision/layers = 1
|
||||
collision/mask = 1
|
||||
occluder/light_mask = 1
|
||||
tile_data = IntArray( )
|
||||
script/script = ExtResource( 3 )
|
||||
|
||||
|
||||
BIN
2d/fog_of_war/icon.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
32
2d/fog_of_war/tileset.tres
Normal file
@@ -0,0 +1,32 @@
|
||||
[gd_resource type="TileSet" load_steps=3 format=1]
|
||||
|
||||
[ext_resource path="res://fog.png" type="Texture" id=1]
|
||||
[ext_resource path="res://floor.png" type="Texture" id=2]
|
||||
|
||||
[resource]
|
||||
|
||||
0/name = "fog opaque"
|
||||
0/texture = ExtResource( 1 )
|
||||
0/tex_offset = Vector2( -48, -48 )
|
||||
0/region = Rect2( 0, 0, 144, 144 )
|
||||
0/occluder_offset = Vector2( 0, 0 )
|
||||
0/navigation_offset = Vector2( 0, 0 )
|
||||
0/shape_offset = Vector2( 0, 0 )
|
||||
0/shapes = [ ]
|
||||
1/name = "fog transparent"
|
||||
1/texture = ExtResource( 1 )
|
||||
1/tex_offset = Vector2( -48, -48 )
|
||||
1/region = Rect2( 144, 0, 144, 144 )
|
||||
1/occluder_offset = Vector2( 0, 0 )
|
||||
1/navigation_offset = Vector2( 0, 0 )
|
||||
1/shape_offset = Vector2( 0, 0 )
|
||||
1/shapes = [ ]
|
||||
2/name = "floor"
|
||||
2/texture = ExtResource( 2 )
|
||||
2/tex_offset = Vector2( 0, 0 )
|
||||
2/region = Rect2( 0, 0, 0, 0 )
|
||||
2/occluder_offset = Vector2( 24, 24 )
|
||||
2/navigation_offset = Vector2( 24, 24 )
|
||||
2/shape_offset = Vector2( 0, 0 )
|
||||
2/shapes = [ ]
|
||||
|
||||
30
2d/fog_of_war/tileset_edit.tscn
Normal file
@@ -0,0 +1,30 @@
|
||||
[gd_scene load_steps=3 format=1]
|
||||
|
||||
[ext_resource path="res://fog.png" type="Texture" id=1]
|
||||
[ext_resource path="res://floor.png" type="Texture" id=2]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
|
||||
[node name="fog opaque" type="Sprite" parent="."]
|
||||
|
||||
texture = ExtResource( 1 )
|
||||
centered = false
|
||||
offset = Vector2( -48, -48 )
|
||||
region = true
|
||||
region_rect = Rect2( 0, 0, 144, 144 )
|
||||
|
||||
[node name="fog transparent" type="Sprite" parent="."]
|
||||
|
||||
transform/pos = Vector2( 144, 0 )
|
||||
texture = ExtResource( 1 )
|
||||
centered = false
|
||||
offset = Vector2( -48, -48 )
|
||||
region = true
|
||||
region_rect = Rect2( 144, 0, 144, 144 )
|
||||
|
||||
[node name="floor" type="Sprite" parent="."]
|
||||
|
||||
transform/pos = Vector2( 264, 24 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
|
||||
38
2d/fog_of_war/troll.gd
Normal file
@@ -0,0 +1,38 @@
|
||||
|
||||
extends KinematicBody2D
|
||||
|
||||
# This is a simple collision demo showing how
|
||||
# the kinematic controller works.
|
||||
# move() will allow to move the node, and will
|
||||
# always move it to a non-colliding spot,
|
||||
# as long as it starts from a non-colliding spot too.
|
||||
|
||||
# Member variables
|
||||
const MOTION_SPEED = 160 # Pixels/second
|
||||
|
||||
|
||||
func _fixed_process(delta):
|
||||
var motion = Vector2()
|
||||
|
||||
if (Input.is_action_pressed("move_up")):
|
||||
motion += Vector2(0, -1)
|
||||
if (Input.is_action_pressed("move_bottom")):
|
||||
motion += Vector2(0, 1)
|
||||
if (Input.is_action_pressed("move_left")):
|
||||
motion += Vector2(-1, 0)
|
||||
if (Input.is_action_pressed("move_right")):
|
||||
motion += Vector2(1, 0)
|
||||
|
||||
motion = motion.normalized()*MOTION_SPEED*delta
|
||||
motion = move(motion)
|
||||
|
||||
# Make character slide nicely through the world
|
||||
var slide_attempts = 4
|
||||
while(is_colliding() and slide_attempts > 0):
|
||||
motion = get_collision_normal().slide(motion)
|
||||
motion = move(motion)
|
||||
slide_attempts -= 1
|
||||
|
||||
|
||||
func _ready():
|
||||
set_fixed_process(true)
|
||||
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
52
2d/fog_of_war/troll.tscn
Normal file
@@ -0,0 +1,52 @@
|
||||
[gd_scene load_steps=4 format=1]
|
||||
|
||||
[ext_resource path="res://troll.gd" type="Script" id=1]
|
||||
[ext_resource path="res://troll.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
radius = 16.0
|
||||
|
||||
[node name="troll" type="KinematicBody2D"]
|
||||
|
||||
input/pickable = false
|
||||
shapes/0/shape = SubResource( 1 )
|
||||
shapes/0/transform = Matrix32( 1, 0, 0, 1, 3.24216, 19.453 )
|
||||
shapes/0/trigger = false
|
||||
collision/layers = 1
|
||||
collision/mask = 1
|
||||
collision/margin = 0.001
|
||||
script/script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
|
||||
transform/pos = Vector2( 3.24216, 19.453 )
|
||||
shape = SubResource( 1 )
|
||||
trigger = false
|
||||
_update_shape_index = -1
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
|
||||
anchor_mode = 1
|
||||
rotating = false
|
||||
current = true
|
||||
zoom = Vector2( 1, 1 )
|
||||
limit/left = -10000000
|
||||
limit/top = -10000000
|
||||
limit/right = 10000000
|
||||
limit/bottom = 10000000
|
||||
drag_margin/h_enabled = true
|
||||
drag_margin/v_enabled = true
|
||||
smoothing/enable = false
|
||||
smoothing/speed = 5.0
|
||||
drag_margin/left = 0.2
|
||||
drag_margin/top = 0.2
|
||||
drag_margin/right = 0.2
|
||||
drag_margin/bottom = 0.2
|
||||
|
||||
|
||||
@@ -6,12 +6,16 @@ const CAVE_LIMIT = 1000
|
||||
|
||||
|
||||
func _input(event):
|
||||
if event is InputEventMouseMotion and event.button_mask&1:
|
||||
var rel_x = event.relative.x
|
||||
var cavepos = $cave.position
|
||||
if (event.type == InputEvent.MOUSE_MOTION and event.button_mask&1):
|
||||
var rel_x = event.relative_x
|
||||
var cavepos = get_node("cave").get_pos()
|
||||
cavepos.x += rel_x
|
||||
if cavepos.x < -CAVE_LIMIT:
|
||||
if (cavepos.x < -CAVE_LIMIT):
|
||||
cavepos.x = -CAVE_LIMIT
|
||||
elif cavepos.x > 0:
|
||||
elif (cavepos.x > 0):
|
||||
cavepos.x = 0
|
||||
$cave.position = cavepos
|
||||
get_node("cave").set_pos(cavepos)
|
||||
|
||||
|
||||
func _ready():
|
||||
set_process_input(true)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
[gd_scene load_steps=5 format=1]
|
||||
|
||||
[ext_resource path="res://beach_cave.gd" type="Script" id=1]
|
||||
[ext_resource path="res://ocean_beach.png" type="Texture" id=2]
|
||||
@@ -6,117 +6,79 @@
|
||||
|
||||
[sub_resource type="Environment" id=1]
|
||||
|
||||
background_mode = 4
|
||||
background_sky_custom_fov = 0.0
|
||||
background_color = Color( 0, 0, 0, 1 )
|
||||
background_energy = 1.0
|
||||
background_canvas_max_layer = 0
|
||||
ambient_light_color = Color( 0, 0, 0, 1 )
|
||||
ambient_light_energy = 1.0
|
||||
ambient_light_sky_contribution = 0.0
|
||||
fog_enabled = false
|
||||
fog_color = Color( 0.5, 0.6, 0.7, 1 )
|
||||
fog_sun_color = Color( 1, 0.9, 0.7, 1 )
|
||||
fog_sun_amount = 0.0
|
||||
fog_depth_enabled = true
|
||||
fog_depth_begin = 10.0
|
||||
fog_depth_curve = 1.0
|
||||
fog_transmit_enabled = false
|
||||
fog_transmit_curve = 1.0
|
||||
fog_height_enabled = false
|
||||
fog_height_min = 0.0
|
||||
fog_height_max = 100.0
|
||||
fog_height_curve = 1.0
|
||||
tonemap_mode = 0
|
||||
tonemap_exposure = 1.0
|
||||
tonemap_white = 1.0
|
||||
auto_exposure_enabled = true
|
||||
auto_exposure_scale = 0.51
|
||||
auto_exposure_min_luma = 0.05
|
||||
auto_exposure_max_luma = 8.0
|
||||
auto_exposure_speed = 4.0
|
||||
ss_reflections_enabled = false
|
||||
ss_reflections_max_steps = 64
|
||||
ss_reflections_fade_in = 0.15
|
||||
ss_reflections_fade_out = 2.0
|
||||
ss_reflections_depth_tolerance = 0.2
|
||||
ss_reflections_roughness = true
|
||||
ssao_enabled = false
|
||||
ssao_radius = 1.0
|
||||
ssao_intensity = 1.0
|
||||
ssao_radius2 = 0.0
|
||||
ssao_intensity2 = 1.0
|
||||
ssao_bias = 0.01
|
||||
ssao_light_affect = 0.0
|
||||
ssao_color = Color( 0, 0, 0, 1 )
|
||||
ssao_quality = 0
|
||||
ssao_blur = 1
|
||||
ssao_edge_sharpness = 4.0
|
||||
dof_blur_far_enabled = false
|
||||
dof_blur_far_distance = 10.0
|
||||
dof_blur_far_transition = 5.0
|
||||
dof_blur_far_amount = 0.1
|
||||
dof_blur_far_quality = 1
|
||||
dof_blur_near_enabled = false
|
||||
dof_blur_near_distance = 2.0
|
||||
dof_blur_near_transition = 1.0
|
||||
dof_blur_near_amount = 0.1
|
||||
dof_blur_near_quality = 1
|
||||
glow_enabled = true
|
||||
glow_levels/1 = false
|
||||
glow_levels/2 = false
|
||||
glow_levels/3 = false
|
||||
glow_levels/4 = true
|
||||
glow_levels/5 = true
|
||||
glow_levels/6 = false
|
||||
glow_levels/7 = true
|
||||
glow_intensity = 0.8
|
||||
glow_strength = 0.88
|
||||
glow_bloom = 0.0
|
||||
glow_blend_mode = 0
|
||||
glow_hdr_threshold = 1.0
|
||||
glow_hdr_scale = 2.0
|
||||
glow_bicubic_upscale = true
|
||||
adjustment_enabled = false
|
||||
adjustment_brightness = 1.0
|
||||
adjustment_contrast = 1.0
|
||||
adjustment_saturation = 1.0
|
||||
ambient_light/enabled = false
|
||||
ambient_light/color = Color( 0, 0, 0, 1 )
|
||||
ambient_light/energy = 1.0
|
||||
fxaa/enabled = false
|
||||
background/mode = 5
|
||||
background/color = Color( 0, 0, 0, 1 )
|
||||
background/energy = 1.0
|
||||
background/scale = 1.0
|
||||
background/glow = 0.0
|
||||
background/canvas_max_layer = null
|
||||
glow/enabled = true
|
||||
glow/blur_passes = 3
|
||||
glow/blur_scale = 1.2
|
||||
glow/blur_strength = 1.2
|
||||
glow/blur_blend_mode = 0
|
||||
glow/bloom = 0.0
|
||||
glow/bloom_treshold = 0.5
|
||||
dof_blur/enabled = false
|
||||
dof_blur/blur_passes = 1
|
||||
dof_blur/begin = 100.0
|
||||
dof_blur/range = 10.0
|
||||
hdr/enabled = true
|
||||
hdr/tonemapper = 0.0
|
||||
hdr/exposure = 0.5
|
||||
hdr/white = 1.0
|
||||
hdr/glow_treshold = 0.7
|
||||
hdr/glow_scale = 0.5
|
||||
hdr/min_luminance = 0.3
|
||||
hdr/max_luminance = 8.0
|
||||
hdr/exposure_adj_speed = 2.0
|
||||
fog/enabled = false
|
||||
fog/begin = 100.0
|
||||
fog/begin_color = Color( 0, 0, 0, 1 )
|
||||
fog/end_color = Color( 0, 0, 0, 1 )
|
||||
fog/attenuation = 1.0
|
||||
fog/bg = true
|
||||
bcs/enabled = false
|
||||
bcs/brightness = 1.0
|
||||
bcs/contrast = 1.0
|
||||
bcs/saturation = 1.0
|
||||
srgb/enabled = true
|
||||
|
||||
[node name="hdr" type="Node2D"]
|
||||
|
||||
script = ExtResource( 1 )
|
||||
script/script = ExtResource( 1 )
|
||||
|
||||
[node name="beach" type="Sprite" parent="."]
|
||||
|
||||
modulate = Color( 2, 2, 2, 1 )
|
||||
self_modulate = Color( 2, 2, 2, 1 )
|
||||
texture = ExtResource( 2 )
|
||||
centered = false
|
||||
modulate = Color( 2, 2, 2, 1 )
|
||||
|
||||
[node name="cave" type="Sprite" parent="."]
|
||||
|
||||
self_modulate = Color( 0.233166, 0.221219, 0.23582, 1 )
|
||||
scale = Vector2( 1.2, 1 )
|
||||
transform/scale = Vector2( 1.2, 1 )
|
||||
texture = ExtResource( 3 )
|
||||
centered = false
|
||||
modulate = Color( 0.233166, 0.221219, 0.23582, 1 )
|
||||
|
||||
[node name="environment" type="WorldEnvironment" parent="."]
|
||||
|
||||
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
|
||||
environment = SubResource( 1 )
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 40.0
|
||||
margin_bottom = 13.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 40.0
|
||||
margin/bottom = 13.0
|
||||
custom_colors/font_color = Color( 0.213955, 0.205626, 0.20313, 1 )
|
||||
text = "Drag Left and Right"
|
||||
percent_visible = 1.0
|
||||
|
||||
14
2d/hdr/engine.cfg
Normal file
@@ -0,0 +1,14 @@
|
||||
[application]
|
||||
|
||||
name="HDR for 2D"
|
||||
main_scene="res://beach_cave.tscn"
|
||||
icon="res://icon.png"
|
||||
|
||||
[display]
|
||||
|
||||
width=1080
|
||||
height=720
|
||||
|
||||
[rasterizer]
|
||||
|
||||
blur_buffer_size=128
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
source_md5="63a944507088a2392d7d6870fc91dc51"
|
||||
|
||||
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||
dest_md5="79b94abe93da2df9d5e610a249860b02"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
1
2d/hdr/ocean_beach.png.flags
Normal file
@@ -0,0 +1 @@
|
||||
tolinear=true
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/ocean_beach.png-b571ab5468cc775a520aaa47efbed607.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ocean_beach.png"
|
||||
source_md5="fdfc24e858f07a1ac31c82fd8f357c3a"
|
||||
|
||||
dest_files=[ "res://.import/ocean_beach.png-b571ab5468cc775a520aaa47efbed607.stex" ]
|
||||
dest_md5="3ae80bb89ba8c0cd67fa2402bb80f230"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
1
2d/hdr/ocean_cave.png.flags
Normal file
@@ -0,0 +1 @@
|
||||
tolinear=true
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/ocean_cave.png-2a86f381e3092b4cb698b627d778e19b.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ocean_cave.png"
|
||||
source_md5="acabe48e11037e9929f2d5aade9419a4"
|
||||
|
||||
dest_files=[ "res://.import/ocean_cave.png-2a86f381e3092b4cb698b627d778e19b.stex" ]
|
||||
dest_md5="0f5fe12eb87a48058850e3c6c5c9a347"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,29 +0,0 @@
|
||||
; Engine configuration file.
|
||||
; It's best edited using the editor UI and not directly,
|
||||
; since the parameters that go here are not all obvious.
|
||||
;
|
||||
; Format:
|
||||
; [section] ; section goes between []
|
||||
; param=value ; assign values to parameters
|
||||
|
||||
config_version=3
|
||||
|
||||
[application]
|
||||
|
||||
config/name="HDR for 2D"
|
||||
run/main_scene="res://beach_cave.tscn"
|
||||
config/icon="res://icon.png"
|
||||
run/name=""
|
||||
|
||||
[display]
|
||||
|
||||
window/size/width=1080
|
||||
window/size/height=720
|
||||
|
||||
[gdnative]
|
||||
|
||||
singletons=[ ]
|
||||
|
||||
[rasterizer]
|
||||
|
||||
blur_buffer_size=128
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-01.png-d71b23a59ce633973e2216144d4c3cc7.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-01.png"
|
||||
source_md5="0b890247b30e45539a651d35963dfeaa"
|
||||
|
||||
dest_files=[ "res://.import/WWT-01.png-d71b23a59ce633973e2216144d4c3cc7.stex" ]
|
||||
dest_md5="86ea33916c9166b19d7ec3ce0cbd9ffb"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-02.png-8c7a76bab1a896763ab37f5a7bf77904.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-02.png"
|
||||
source_md5="37986e5d93e3232705d23f4f08a5ac88"
|
||||
|
||||
dest_files=[ "res://.import/WWT-02.png-8c7a76bab1a896763ab37f5a7bf77904.stex" ]
|
||||
dest_md5="66b775a71e2f15ab81afc9dd299bb186"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-03.png-f804f0fa409c5c9ad521581b65c67f26.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-03.png"
|
||||
source_md5="efa48169ca94f0790be7f97ff91a4c33"
|
||||
|
||||
dest_files=[ "res://.import/WWT-03.png-f804f0fa409c5c9ad521581b65c67f26.stex" ]
|
||||
dest_md5="16a16663d435a8fc31167f029335712b"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-04.png-a50f93109e34b533b1855a7ef46475b2.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-04.png"
|
||||
source_md5="e1d2e0446506c40a8c197974b432d71f"
|
||||
|
||||
dest_files=[ "res://.import/WWT-04.png-a50f93109e34b533b1855a7ef46475b2.stex" ]
|
||||
dest_md5="cfd03f3cbb6eb0397ab14301ad9a0bf6"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-05.png-deee12124c9c3ab8368902f7733ff079.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-05.png"
|
||||
source_md5="66163c8b5cbcdd81c58c745c7d381b09"
|
||||
|
||||
dest_files=[ "res://.import/WWT-05.png-deee12124c9c3ab8368902f7733ff079.stex" ]
|
||||
dest_md5="d638f976c9bf00280c024c4eff364436"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-06.png-a16b61cdadeeed4ab2c9f5eec8b79c7c.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-06.png"
|
||||
source_md5="a67336cfc318936f10627e52a9c40faa"
|
||||
|
||||
dest_files=[ "res://.import/WWT-06.png-a16b61cdadeeed4ab2c9f5eec8b79c7c.stex" ]
|
||||
dest_md5="dcb8070807de1eb2da602cb41681036b"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-07.png-7cc4023daef4567752735bf79f2ccd12.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-07.png"
|
||||
source_md5="6484917359dde7cebfeb07c1e6cc9c31"
|
||||
|
||||
dest_files=[ "res://.import/WWT-07.png-7cc4023daef4567752735bf79f2ccd12.stex" ]
|
||||
dest_md5="fa94f39666e467e41aa662d2415809e2"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-08.png-7eaf3eb568b0293e3b28374e0bcfdf76.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-08.png"
|
||||
source_md5="78d6616e154e0ae38665a9b7773a983a"
|
||||
|
||||
dest_files=[ "res://.import/WWT-08.png-7eaf3eb568b0293e3b28374e0bcfdf76.stex" ]
|
||||
dest_md5="f72c01caa10db469d93dba5b2545d6d0"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-09.png-05c1bd2bd71982b595886c84d0655094.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-09.png"
|
||||
source_md5="b69b814834db2bd25e7965754113c2e7"
|
||||
|
||||
dest_files=[ "res://.import/WWT-09.png-05c1bd2bd71982b595886c84d0655094.stex" ]
|
||||
dest_md5="df7d41109fe474beb8ade30534463e6e"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-10.png-21f5bebc271347b73cd120c7671bcc04.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-10.png"
|
||||
source_md5="7142231c548c56c101ea10a71e1916f2"
|
||||
|
||||
dest_files=[ "res://.import/WWT-10.png-21f5bebc271347b73cd120c7671bcc04.stex" ]
|
||||
dest_md5="635e83eb9dae86298d0a9b796d9a3e12"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-11.png-c278f158b8ebe9b98a71fa01d357ea55.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-11.png"
|
||||
source_md5="053fbf42bc9cebc1f3080de013242479"
|
||||
|
||||
dest_files=[ "res://.import/WWT-11.png-c278f158b8ebe9b98a71fa01d357ea55.stex" ]
|
||||
dest_md5="6953053ff83a3f7bf380158958c270f2"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-12.png-f99f6470cbf7469390137cc1b1eac0b1.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-12.png"
|
||||
source_md5="92fea3bd12983ee94d2ae6b76323fae6"
|
||||
|
||||
dest_files=[ "res://.import/WWT-12.png-f99f6470cbf7469390137cc1b1eac0b1.stex" ]
|
||||
dest_md5="df7d0edfc4e6bdb9a770741421ad2463"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-13.png-b831a7b68dbcdd483e454623cca7af6a.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-13.png"
|
||||
source_md5="1bdfe15639bf81bdb17702a65f221602"
|
||||
|
||||
dest_files=[ "res://.import/WWT-13.png-b831a7b68dbcdd483e454623cca7af6a.stex" ]
|
||||
dest_md5="1073c6b45ae80c07e84c7dabac233bbd"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-14.png-473aa39bbfdbf2d9ac37478ba67ab5a8.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-14.png"
|
||||
source_md5="0908e9c76ad828f0be20b97ba14f0120"
|
||||
|
||||
dest_files=[ "res://.import/WWT-14.png-473aa39bbfdbf2d9ac37478ba67ab5a8.stex" ]
|
||||
dest_md5="9fbfb2ce92fa1f447b94a4cc000f6d22"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-15.png-f958cd09bdaf7066eb31dea2b35a59fe.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-15.png"
|
||||
source_md5="42f95b729214f019cd546eb5003b4791"
|
||||
|
||||
dest_files=[ "res://.import/WWT-15.png-f958cd09bdaf7066eb31dea2b35a59fe.stex" ]
|
||||
dest_md5="1db7da48083097925eb77bfbb089ca16"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-16.png-1027e2a388bf820efb40bb630699acf6.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-16.png"
|
||||
source_md5="572d9319266e28fbbbcce87eff3c8484"
|
||||
|
||||
dest_files=[ "res://.import/WWT-16.png-1027e2a388bf820efb40bb630699acf6.stex" ]
|
||||
dest_md5="82b3aed42579c489f6e13095edd6f504"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-17.png-06a724fd2ea7c875038b30870c815f35.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-17.png"
|
||||
source_md5="1d732fced181b9d10debe504d905dc56"
|
||||
|
||||
dest_files=[ "res://.import/WWT-17.png-06a724fd2ea7c875038b30870c815f35.stex" ]
|
||||
dest_md5="6ad6b9d8fda151bbcfcab7bc82e1e582"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-18.png-a7a95e5daf469fc05529f5c4d9ffd83f.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-18.png"
|
||||
source_md5="76847ff65ddbb052a87dde7f668214d0"
|
||||
|
||||
dest_files=[ "res://.import/WWT-18.png-a7a95e5daf469fc05529f5c4d9ffd83f.stex" ]
|
||||
dest_md5="5a42212a6d89526590641bee2ee5084d"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-19.png-e53561a49d2426c56b7463fcfe7187ad.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-19.png"
|
||||
source_md5="1e6e2fb4e3a9adb7dbae0c87dc10ec66"
|
||||
|
||||
dest_files=[ "res://.import/WWT-19.png-e53561a49d2426c56b7463fcfe7187ad.stex" ]
|
||||
dest_md5="6b671b91344897f0ea9a81eb865f8c60"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-20.png-fa22d2cbc86525aa67ed5be2eb766f38.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-20.png"
|
||||
source_md5="771239ff30038281b10447417c6e5d20"
|
||||
|
||||
dest_files=[ "res://.import/WWT-20.png-fa22d2cbc86525aa67ed5be2eb766f38.stex" ]
|
||||
dest_md5="98b125f1e3624d89929f464c979f7cfa"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-21.png-0650363bb3b67f7ad8ea91f2ed66a86c.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-21.png"
|
||||
source_md5="e2515b122a8faea5eeaa441066570c6d"
|
||||
|
||||
dest_files=[ "res://.import/WWT-21.png-0650363bb3b67f7ad8ea91f2ed66a86c.stex" ]
|
||||
dest_md5="ae92c355792d24c95b5f3670a12c1460"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-22.png-15702d71f9ada16455bd5ec251efa392.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-22.png"
|
||||
source_md5="5c97ce3df5e87838d61c3f9ff2b17895"
|
||||
|
||||
dest_files=[ "res://.import/WWT-22.png-15702d71f9ada16455bd5ec251efa392.stex" ]
|
||||
dest_md5="43fe967d3517c66ac967e22831a7a7ad"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-23.png-b96b4e3e762993c848a02a5920369963.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-23.png"
|
||||
source_md5="725c9d66f212f5986ba7a85828679855"
|
||||
|
||||
dest_files=[ "res://.import/WWT-23.png-b96b4e3e762993c848a02a5920369963.stex" ]
|
||||
dest_md5="f65b783fc812fa0f8cfbf0b40ca99d82"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-24.png-51252af7231f3c2108e03f43e485e5c9.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-24.png"
|
||||
source_md5="8511d87652c93d9abce9a5746b0db7fc"
|
||||
|
||||
dest_files=[ "res://.import/WWT-24.png-51252af7231f3c2108e03f43e485e5c9.stex" ]
|
||||
dest_md5="a20e2346f467b62b082b98ac20dff43e"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-25.png-db9bd847f53180c4b408ac5fe5509089.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-25.png"
|
||||
source_md5="969e409c3b56df51a6aa6c45e928b06a"
|
||||
|
||||
dest_files=[ "res://.import/WWT-25.png-db9bd847f53180c4b408ac5fe5509089.stex" ]
|
||||
dest_md5="bda837cf908f9d6163703e6e9c8a404d"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/WWT-26.png-58e5c6364a04c3baa8d4707bfd79d68c.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://WWT-26.png"
|
||||
source_md5="ea59f6d91c02940f40ce5c1eb8bde46d"
|
||||
|
||||
dest_files=[ "res://.import/WWT-26.png-58e5c6364a04c3baa8d4707bfd79d68c.stex" ]
|
||||
dest_md5="37f535f42b62844c466fa063407afccd"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
source_md5="ec69771a81b10d0c169f902a116af1f9"
|
||||
|
||||
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||
dest_md5="03aff85d639cd66ad9d71cf71112555d"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,33 +0,0 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://tileset.tres" type="TileSet" id=1]
|
||||
[ext_resource path="res://troll.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="Node2D" type="Node2D" index="0"]
|
||||
|
||||
[node name="TileMap" type="TileMap" parent="." index="0"]
|
||||
|
||||
mode = 0
|
||||
tile_set = ExtResource( 1 )
|
||||
cell_size = Vector2( 82, 94 )
|
||||
cell_quadrant_size = 16
|
||||
cell_custom_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
cell_half_offset = 1
|
||||
cell_tile_origin = 1
|
||||
cell_y_sort = false
|
||||
cell_clip_uv = false
|
||||
collision_use_kinematic = false
|
||||
collision_friction = 1.0
|
||||
collision_bounce = 0.0
|
||||
collision_layer = 1
|
||||
collision_mask = 1
|
||||
occluder_light_mask = 1
|
||||
format = 1
|
||||
tile_data = PoolIntArray( -458747, 0, 0, -458746, 0, 0, -393212, 0, 0, -393211, 0, 0, -393210, 0, 0, -393209, 0, 0, -393208, 0, 0, -393207, 0, 0, -327678, 0, 0, -327677, 0, 0, -327676, 0, 0, -327675, 6, 0, -327674, 6, 0, -327673, 6, 0, -327672, 6, 0, -327671, 0, 0, -327670, 0, 0, -327669, 0, 0, -262142, 0, 0, -262141, 0, 0, -262140, 6, 0, -262139, 6, 0, -262138, 6, 0, -262137, 6, 0, -262136, 6, 0, -262135, 0, 0, -262134, 0, 0, -262133, 0, 0, -262132, 0, 0, -262131, 0, -1200553578, -196606, 0, 0, -196605, 0, 0, -196604, 6, 0, -196603, 6, 0, -196602, 6, 0, -196601, 6, 0, -196600, 1, 0, -196599, 0, 0, -196598, 1, 0, -196597, 1, 0, -196596, 0, 0, -196595, 0, -1200553578, -196594, 0, -1200553578, -131071, 9, 0, -131070, 0, 0, -131069, 0, 0, -131068, 2, 0, -131067, 2, 0, -131066, 0, 0, -131065, 21, 0, -131064, 19, 0, -131063, 0, 0, -131062, 0, 0, -131061, 16, -1200553578, -131060, 0, -1200553578, -131059, 0, 0, -131058, 0, 0, -131057, 0, 0, -131056, 0, -1200553578, -65534, 0, 0, -65533, 1, 0, -65532, 0, 0, -65531, 0, 0, -65530, 20, 0, -65529, 19, 0, -65528, 2, 0, -65527, 0, 0, -65526, 14, 0, -65525, 0, -1200553578, -65524, 0, 0, -65523, 0, 0, -65522, 23, 0, -65521, 0, 0, -65520, 0, -1200553578, -65519, 0, -1200553578, 3, 1, 0, 4, 2, 0, 5, 0, 0, 6, 1, 0, 7, 1, -1200553578, 8, 0, -1200553578, 9, 10, -1200553578, 10, 12, -1200553578, 11, 0, -1200553578, 12, 0, 0, 13, 8, 0, 14, 0, 0, 15, 0, 0, 16, 0, 0, 17, 0, 0, 65538, 0, -1200553578, 65539, 0, 0, 65540, 2, 0, 65541, 0, 0, 65542, 1, 0, 65543, 15, -1200553578, 65544, 0, 0, 65545, 0, 0, 65546, 0, 0, 65547, 0, 0, 65548, 0, 0, 65549, 25, 0, 65550, 8, 0, 65551, 0, 0, 65552, 21, 0, 65553, 0, 0, 131074, 0, -1200553578, 131075, 1, 0, 131076, 0, 0, 131077, 1, 0, 131078, 0, 0, 131079, 0, 0, 131080, 0, 0, 131081, 5, 0, 131082, 0, 0, 131083, 0, 0, 131084, 0, 0, 131085, 0, 0, 131086, 0, 0, 131087, 0, 0, 131088, 0, 0, 131089, 0, 0, 196610, 0, -1200553578, 196611, 0, 0, 196612, 0, 0, 196613, 23, 0, 196614, 0, 0, 196615, 0, 0, 196616, 0, 0, 196617, 5, 0, 196618, 5, 0, 196619, 0, 0, 196620, 0, 0, 196621, 0, 0, 196622, 0, 0, 196623, 23, 0, 196624, 0, 0, 262148, 0, 0, 262149, 0, 0, 262150, 0, 0, 262151, 0, 0, 262152, 8, 0, 262153, 5, 0, 262154, 5, 0, 262155, 0, 0, 262156, 0, 0, 262157, 21, 0, 262158, 0, 0, 262159, 0, 0, 262160, 0, 0, 327686, 0, 0, 327687, 0, 0, 327688, 0, 0, 327689, 0, 0, 327690, 0, 0, 327691, 0, 0, 327692, 0, 0, 327693, 0, 0, 327694, 0, 0 )
|
||||
_sections_unfolded = [ "Cell" ]
|
||||
|
||||
[node name="troll" parent="." index="1" instance=ExtResource( 2 )]
|
||||
|
||||
position = Vector2( 602.819, -39.2876 )
|
||||
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
; Engine configuration file.
|
||||
; It's best edited using the editor UI and not directly,
|
||||
; since the parameters that go here are not all obvious.
|
||||
;
|
||||
; Format:
|
||||
; [section] ; section goes between []
|
||||
; param=value ; assign values to parameters
|
||||
|
||||
config_version=3
|
||||
|
||||
[application]
|
||||
|
||||
config/name="Hexagonal Game"
|
||||
run/main_scene="res://map.tscn"
|
||||
config/icon="res://icon.png"
|
||||
run/name=""
|
||||
|
||||
[gdnative]
|
||||
|
||||
singletons=[ ]
|
||||
|
||||
[input]
|
||||
|
||||
move_bottom=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
move_left=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
move_right=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
move_up=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
@@ -1,24 +0,0 @@
|
||||
extends KinematicBody2D
|
||||
|
||||
# This is a demo showing how KinematicBody2D
|
||||
# move_and_slide works.
|
||||
|
||||
# Member variables
|
||||
const MOTION_SPEED = 160 # Pixels/second
|
||||
|
||||
|
||||
func _physics_process(delta):
|
||||
var motion = Vector2()
|
||||
|
||||
if Input.is_action_pressed("move_up"):
|
||||
motion += Vector2(0, -1)
|
||||
if Input.is_action_pressed("move_bottom"):
|
||||
motion += Vector2(0, 1)
|
||||
if Input.is_action_pressed("move_left"):
|
||||
motion += Vector2(-1, 0)
|
||||
if Input.is_action_pressed("move_right"):
|
||||
motion += Vector2(1, 0)
|
||||
|
||||
motion = motion.normalized() * MOTION_SPEED
|
||||
|
||||
move_and_slide(motion)
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/troll.png-78efc50bfccaa17f54d40cfea3eef5f5.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://troll.png"
|
||||
source_md5="76a37c47b1f09115f714d6635ab50fb4"
|
||||
|
||||
dest_files=[ "res://.import/troll.png-78efc50bfccaa17f54d40cfea3eef5f5.stex" ]
|
||||
dest_md5="aded3a6d7973cb880144e84f0b3ec505"
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,51 +0,0 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://troll.gd" type="Script" id=1]
|
||||
[ext_resource path="res://troll.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
radius = 16.0
|
||||
|
||||
[node name="troll" type="KinematicBody2D"]
|
||||
|
||||
input_pickable = false
|
||||
collision_layer = 1
|
||||
collision_mask = 1
|
||||
collision/safe_margin = 0.08
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
|
||||
position = Vector2( 3.24216, 19.453 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
|
||||
anchor_mode = 1
|
||||
rotating = false
|
||||
current = true
|
||||
zoom = Vector2( 1, 1 )
|
||||
limit_left = -10000000
|
||||
limit_top = -10000000
|
||||
limit_right = 10000000
|
||||
limit_bottom = 10000000
|
||||
limit_smoothed = false
|
||||
drag_margin_h_enabled = true
|
||||
drag_margin_v_enabled = true
|
||||
smoothing_enabled = false
|
||||
smoothing_speed = 5.0
|
||||
drag_margin_left = 0.2
|
||||
drag_margin_top = 0.2
|
||||
drag_margin_right = 0.2
|
||||
drag_margin_bottom = 0.2
|
||||
editor_draw_screen = true
|
||||
editor_draw_limits = false
|
||||
editor_draw_drag_margin = false
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
12
2d/hexamap/engine.cfg
Normal file
@@ -0,0 +1,12 @@
|
||||
[application]
|
||||
|
||||
name="Hexagonal Game"
|
||||
main_scene="res://map.tscn"
|
||||
icon="res://icon.png"
|
||||
|
||||
[input]
|
||||
|
||||
move_up=[key(Up)]
|
||||
move_left=[key(Left)]
|
||||
move_right=[key(Right)]
|
||||
move_bottom=[key(Down)]
|
||||
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
30
2d/hexamap/map.tscn
Normal file
@@ -0,0 +1,30 @@
|
||||
[gd_scene load_steps=3 format=1]
|
||||
|
||||
[ext_resource path="res://tileset.tres" type="TileSet" id=1]
|
||||
[ext_resource path="res://troll.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
|
||||
[node name="TileMap" type="TileMap" parent="."]
|
||||
|
||||
mode = 0
|
||||
tile_set = ExtResource( 1 )
|
||||
cell/size = Vector2( 82, 94 )
|
||||
cell/quadrant_size = 16
|
||||
cell/custom_transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
||||
cell/half_offset = 1
|
||||
cell/tile_origin = 1
|
||||
cell/y_sort = false
|
||||
collision/use_kinematic = false
|
||||
collision/friction = 1.0
|
||||
collision/bounce = 0.0
|
||||
collision/layers = 1
|
||||
collision/mask = 1
|
||||
occluder/light_mask = 1
|
||||
tile_data = IntArray( -393210, 1073741831, -327676, 1073741831, -327675, 1073741831, -327674, 6, -327673, 1073741831, -327672, 1073741830, -327671, 1073741830, -327670, 6, -327669, 8, -262142, 1073741831, -262141, 1073741831, -262140, 1073741831, -262139, 1073741830, -262138, 1073741831, -262137, 6, -262136, 6, -262135, 6, -262134, 6, -262133, 6, -262132, 0, -262131, 0, -196606, 1073741831, -196605, 1073741831, -196604, 6, -196603, 6, -196602, 0, -196601, 6, -196600, 1, -196599, 0, -196598, 1, -196597, 1, -196596, 0, -196595, 0, -196594, 0, -131071, 9, -131070, 1073741832, -131069, 1073741830, -131068, 2, -131067, 2, -131066, 1073741845, -131065, 21, -131064, 19, -131063, 1073741826, -131062, 0, -131061, 16, -131060, 0, -131059, 0, -131058, 0, -131057, 0, -131056, 0, -65534, 0, -65533, 1, -65532, 1073741827, -65531, 1073741846, -65530, 20, -65529, 19, -65528, 2, -65527, 0, -65526, 14, -65525, 0, -65524, 0, -65523, 0, -65522, 0, -65521, 0, -65520, 0, -65519, 0, 3, 1, 4, 2, 5, 1073741827, 6, 1, 7, 1, 8, 0, 9, 10, 10, 12, 11, 0, 12, 0, 13, 0, 14, 0, 15, 0, 16, 0, 17, 0, 65538, 0, 65539, 0, 65540, 2, 65541, 1073741826, 65542, 1, 65543, 15, 65544, 0, 65545, 0, 65546, 0, 65547, 0, 65548, 0, 65549, 0, 65550, 0, 65551, 0, 65552, 0, 65553, 0, 131074, 0, 131075, 1, 131076, 1610612749, 131077, 1, 131078, 0, 131079, 0, 131080, 0, 131081, 0, 131082, 1610612753, 131083, 0, 131084, 0, 131085, 0, 131086, 0, 131087, 1073741848, 131088, 1073741849, 131089, 0, 196610, 0, 196611, 0, 196612, 0, 196613, 0, 196614, 1610612751, 196615, 1610612752, 196616, 1610612752, 196617, 1610612751, 196618, 1610612751, 196619, 0, 196620, 0, 196621, 0, 196622, 0, 196623, 0, 262149, 0, 262150, 1610612751, 262151, 1610612752, 262152, 1610612751, 262153, 1610612751, 262154, 1073741839, 262155, 1073741839, 262156, 0, 262157, 0, 262158, 0, 327687, 0, 327689, 0, 327691, 0, 327693, 0 )
|
||||
|
||||
[node name="troll" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
transform/pos = Vector2( 602.819, -39.2876 )
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="TileSet" load_steps=27 format=2]
|
||||
[gd_resource type="TileSet" load_steps=27 format=1]
|
||||
|
||||
[ext_resource path="res://WWT-01.png" type="Texture" id=1]
|
||||
[ext_resource path="res://WWT-02.png" type="Texture" id=2]
|
||||
@@ -31,210 +31,210 @@
|
||||
|
||||
0/name = "Tile 1"
|
||||
0/texture = ExtResource( 1 )
|
||||
0/tex_offset = Vector2( 0, 0 )
|
||||
0/modulate = Color( 1, 1, 1, 1 )
|
||||
0/region = Rect2( 0, 0, 128, 128 )
|
||||
0/tex_offset = Vector2( -64, -64 )
|
||||
0/region = Rect2( 0, 0, 0, 0 )
|
||||
0/occluder_offset = Vector2( 0, 0 )
|
||||
0/navigation_offset = Vector2( 0, 0 )
|
||||
0/shape_offset = Vector2( 0, 0 )
|
||||
0/shapes = [ ]
|
||||
1/name = "Tile 2"
|
||||
1/texture = ExtResource( 2 )
|
||||
1/tex_offset = Vector2( 0, 0 )
|
||||
1/modulate = Color( 1, 1, 1, 1 )
|
||||
1/region = Rect2( 0, 0, 128, 128 )
|
||||
1/tex_offset = Vector2( -64, -64 )
|
||||
1/region = Rect2( 0, 0, 0, 0 )
|
||||
1/occluder_offset = Vector2( 0, 0 )
|
||||
1/navigation_offset = Vector2( 0, 0 )
|
||||
1/shape_offset = Vector2( 0, 0 )
|
||||
1/shapes = [ ]
|
||||
2/name = "Tile 3"
|
||||
2/texture = ExtResource( 13 )
|
||||
2/tex_offset = Vector2( 0, 0 )
|
||||
2/modulate = Color( 1, 1, 1, 1 )
|
||||
2/region = Rect2( 0, 0, 128, 128 )
|
||||
2/tex_offset = Vector2( -64, -64 )
|
||||
2/region = Rect2( 0, 0, 0, 0 )
|
||||
2/occluder_offset = Vector2( 0, 0 )
|
||||
2/navigation_offset = Vector2( 0, 0 )
|
||||
2/shape_offset = Vector2( 0, 0 )
|
||||
2/shapes = [ ]
|
||||
3/name = "Tile 4"
|
||||
3/texture = ExtResource( 20 )
|
||||
3/tex_offset = Vector2( 0, 0 )
|
||||
3/modulate = Color( 1, 1, 1, 1 )
|
||||
3/region = Rect2( 0, 0, 128, 128 )
|
||||
3/tex_offset = Vector2( -64, -64 )
|
||||
3/region = Rect2( 0, 0, 0, 0 )
|
||||
3/occluder_offset = Vector2( 0, 0 )
|
||||
3/navigation_offset = Vector2( 0, 0 )
|
||||
3/shape_offset = Vector2( 0, 0 )
|
||||
3/shapes = [ ]
|
||||
4/name = "Tile 5"
|
||||
4/texture = ExtResource( 21 )
|
||||
4/tex_offset = Vector2( 0, 0 )
|
||||
4/modulate = Color( 1, 1, 1, 1 )
|
||||
4/region = Rect2( 0, 0, 128, 128 )
|
||||
4/tex_offset = Vector2( -64, -64 )
|
||||
4/region = Rect2( 0, 0, 0, 0 )
|
||||
4/occluder_offset = Vector2( 0, 0 )
|
||||
4/navigation_offset = Vector2( 0, 0 )
|
||||
4/shape_offset = Vector2( 0, 0 )
|
||||
4/shapes = [ ]
|
||||
5/name = "Tile 6"
|
||||
5/texture = ExtResource( 22 )
|
||||
5/tex_offset = Vector2( 0, 0 )
|
||||
5/modulate = Color( 1, 1, 1, 1 )
|
||||
5/region = Rect2( 0, 0, 128, 128 )
|
||||
5/tex_offset = Vector2( -64, -64 )
|
||||
5/region = Rect2( 0, 0, 0, 0 )
|
||||
5/occluder_offset = Vector2( 0, 0 )
|
||||
5/navigation_offset = Vector2( 0, 0 )
|
||||
5/shape_offset = Vector2( 0, 0 )
|
||||
5/shapes = [ ]
|
||||
6/name = "Tile 7"
|
||||
6/texture = ExtResource( 23 )
|
||||
6/tex_offset = Vector2( 0, 0 )
|
||||
6/modulate = Color( 1, 1, 1, 1 )
|
||||
6/region = Rect2( 0, 0, 128, 128 )
|
||||
6/tex_offset = Vector2( -64, -64 )
|
||||
6/region = Rect2( 0, 0, 0, 0 )
|
||||
6/occluder_offset = Vector2( 0, 0 )
|
||||
6/navigation_offset = Vector2( 0, 0 )
|
||||
6/shape_offset = Vector2( 0, 0 )
|
||||
6/shapes = [ ]
|
||||
7/name = "Tile 8"
|
||||
7/texture = ExtResource( 24 )
|
||||
7/tex_offset = Vector2( 0, 0 )
|
||||
7/modulate = Color( 1, 1, 1, 1 )
|
||||
7/region = Rect2( 0, 0, 128, 128 )
|
||||
7/tex_offset = Vector2( -64, -64 )
|
||||
7/region = Rect2( 0, 0, 0, 0 )
|
||||
7/occluder_offset = Vector2( 0, 0 )
|
||||
7/navigation_offset = Vector2( 0, 0 )
|
||||
7/shape_offset = Vector2( 0, 0 )
|
||||
7/shapes = [ ]
|
||||
8/name = "Tile 9"
|
||||
8/texture = ExtResource( 25 )
|
||||
8/tex_offset = Vector2( 0, 0 )
|
||||
8/modulate = Color( 1, 1, 1, 1 )
|
||||
8/region = Rect2( 0, 0, 128, 128 )
|
||||
8/tex_offset = Vector2( -64, -64 )
|
||||
8/region = Rect2( 0, 0, 0, 0 )
|
||||
8/occluder_offset = Vector2( 0, 0 )
|
||||
8/navigation_offset = Vector2( 0, 0 )
|
||||
8/shape_offset = Vector2( 0, 0 )
|
||||
8/shapes = [ ]
|
||||
9/name = "Tile 10"
|
||||
9/texture = ExtResource( 26 )
|
||||
9/tex_offset = Vector2( 0, 0 )
|
||||
9/modulate = Color( 1, 1, 1, 1 )
|
||||
9/region = Rect2( 0, 0, 128, 128 )
|
||||
9/tex_offset = Vector2( -64, -64 )
|
||||
9/region = Rect2( 0, 0, 0, 0 )
|
||||
9/occluder_offset = Vector2( 0, 0 )
|
||||
9/navigation_offset = Vector2( 0, 0 )
|
||||
9/shape_offset = Vector2( 0, 0 )
|
||||
9/shapes = [ ]
|
||||
10/name = "Tile 11"
|
||||
10/texture = ExtResource( 3 )
|
||||
10/tex_offset = Vector2( 0, 0 )
|
||||
10/modulate = Color( 1, 1, 1, 1 )
|
||||
10/region = Rect2( 0, 0, 128, 128 )
|
||||
10/tex_offset = Vector2( -64, -64 )
|
||||
10/region = Rect2( 0, 0, 0, 0 )
|
||||
10/occluder_offset = Vector2( 0, 0 )
|
||||
10/navigation_offset = Vector2( 0, 0 )
|
||||
10/shape_offset = Vector2( 0, 0 )
|
||||
10/shapes = [ ]
|
||||
11/name = "Tile 12"
|
||||
11/texture = ExtResource( 4 )
|
||||
11/tex_offset = Vector2( 0, 0 )
|
||||
11/modulate = Color( 1, 1, 1, 1 )
|
||||
11/region = Rect2( 0, 0, 128, 128 )
|
||||
11/tex_offset = Vector2( -64, -64 )
|
||||
11/region = Rect2( 0, 0, 0, 0 )
|
||||
11/occluder_offset = Vector2( 0, 0 )
|
||||
11/navigation_offset = Vector2( 0, 0 )
|
||||
11/shape_offset = Vector2( 0, 0 )
|
||||
11/shapes = [ ]
|
||||
12/name = "Tile 13"
|
||||
12/texture = ExtResource( 5 )
|
||||
12/tex_offset = Vector2( 0, 0 )
|
||||
12/modulate = Color( 1, 1, 1, 1 )
|
||||
12/region = Rect2( 0, 0, 128, 128 )
|
||||
12/tex_offset = Vector2( -64, -64 )
|
||||
12/region = Rect2( 0, 0, 0, 0 )
|
||||
12/occluder_offset = Vector2( 0, 0 )
|
||||
12/navigation_offset = Vector2( 0, 0 )
|
||||
12/shape_offset = Vector2( 0, 0 )
|
||||
12/shapes = [ ]
|
||||
13/name = "Tile 14"
|
||||
13/texture = ExtResource( 6 )
|
||||
13/tex_offset = Vector2( 0, 0 )
|
||||
13/modulate = Color( 1, 1, 1, 1 )
|
||||
13/region = Rect2( 0, 0, 128, 128 )
|
||||
13/tex_offset = Vector2( -64, -64 )
|
||||
13/region = Rect2( 0, 0, 0, 0 )
|
||||
13/occluder_offset = Vector2( 0, 0 )
|
||||
13/navigation_offset = Vector2( 0, 0 )
|
||||
13/shape_offset = Vector2( 0, 0 )
|
||||
13/shapes = [ ]
|
||||
14/name = "Tile 15"
|
||||
14/texture = ExtResource( 7 )
|
||||
14/tex_offset = Vector2( 0, 0 )
|
||||
14/modulate = Color( 1, 1, 1, 1 )
|
||||
14/region = Rect2( 0, 0, 128, 128 )
|
||||
14/tex_offset = Vector2( -64, -64 )
|
||||
14/region = Rect2( 0, 0, 0, 0 )
|
||||
14/occluder_offset = Vector2( 0, 0 )
|
||||
14/navigation_offset = Vector2( 0, 0 )
|
||||
14/shape_offset = Vector2( 0, 0 )
|
||||
14/shapes = [ ]
|
||||
15/name = "Tile 16"
|
||||
15/texture = ExtResource( 8 )
|
||||
15/tex_offset = Vector2( 0, 0 )
|
||||
15/modulate = Color( 1, 1, 1, 1 )
|
||||
15/region = Rect2( 0, 0, 128, 128 )
|
||||
15/tex_offset = Vector2( -64, -64 )
|
||||
15/region = Rect2( 0, 0, 0, 0 )
|
||||
15/occluder_offset = Vector2( 0, 0 )
|
||||
15/navigation_offset = Vector2( 0, 0 )
|
||||
15/shape_offset = Vector2( 0, 0 )
|
||||
15/shapes = [ ]
|
||||
16/name = "Tile 17"
|
||||
16/texture = ExtResource( 9 )
|
||||
16/tex_offset = Vector2( 0, 0 )
|
||||
16/modulate = Color( 1, 1, 1, 1 )
|
||||
16/region = Rect2( 0, 0, 128, 128 )
|
||||
16/tex_offset = Vector2( -64, -64 )
|
||||
16/region = Rect2( 0, 0, 0, 0 )
|
||||
16/occluder_offset = Vector2( 0, 0 )
|
||||
16/navigation_offset = Vector2( 0, 0 )
|
||||
16/shape_offset = Vector2( 0, 0 )
|
||||
16/shapes = [ ]
|
||||
17/name = "Tile 18"
|
||||
17/texture = ExtResource( 10 )
|
||||
17/tex_offset = Vector2( 0, 0 )
|
||||
17/modulate = Color( 1, 1, 1, 1 )
|
||||
17/region = Rect2( 0, 0, 128, 128 )
|
||||
17/tex_offset = Vector2( -64, -64 )
|
||||
17/region = Rect2( 0, 0, 0, 0 )
|
||||
17/occluder_offset = Vector2( 0, 0 )
|
||||
17/navigation_offset = Vector2( 0, 0 )
|
||||
17/shape_offset = Vector2( 0, 0 )
|
||||
17/shapes = [ ]
|
||||
18/name = "Tile 19"
|
||||
18/texture = ExtResource( 11 )
|
||||
18/tex_offset = Vector2( 0, 0 )
|
||||
18/modulate = Color( 1, 1, 1, 1 )
|
||||
18/region = Rect2( 0, 0, 128, 128 )
|
||||
18/tex_offset = Vector2( -64, -64 )
|
||||
18/region = Rect2( 0, 0, 0, 0 )
|
||||
18/occluder_offset = Vector2( 0, 0 )
|
||||
18/navigation_offset = Vector2( 0, 0 )
|
||||
18/shape_offset = Vector2( 0, 0 )
|
||||
18/shapes = [ ]
|
||||
19/name = "Tile 20"
|
||||
19/texture = ExtResource( 12 )
|
||||
19/tex_offset = Vector2( 0, 0 )
|
||||
19/modulate = Color( 1, 1, 1, 1 )
|
||||
19/region = Rect2( 0, 0, 128, 128 )
|
||||
19/tex_offset = Vector2( -64, -64 )
|
||||
19/region = Rect2( 0, 0, 0, 0 )
|
||||
19/occluder_offset = Vector2( 0, 0 )
|
||||
19/navigation_offset = Vector2( 0, 0 )
|
||||
19/shape_offset = Vector2( 0, 0 )
|
||||
19/shapes = [ ]
|
||||
20/name = "Tile 21"
|
||||
20/texture = ExtResource( 14 )
|
||||
20/tex_offset = Vector2( 0, 0 )
|
||||
20/modulate = Color( 1, 1, 1, 1 )
|
||||
20/region = Rect2( 0, 0, 128, 128 )
|
||||
20/tex_offset = Vector2( -64, -64 )
|
||||
20/region = Rect2( 0, 0, 0, 0 )
|
||||
20/occluder_offset = Vector2( 0, 0 )
|
||||
20/navigation_offset = Vector2( 0, 0 )
|
||||
20/shape_offset = Vector2( 0, 0 )
|
||||
20/shapes = [ ]
|
||||
21/name = "Tile 22"
|
||||
21/texture = ExtResource( 15 )
|
||||
21/tex_offset = Vector2( 0, 0 )
|
||||
21/modulate = Color( 1, 1, 1, 1 )
|
||||
21/region = Rect2( 0, 0, 128, 128 )
|
||||
21/tex_offset = Vector2( -64, -64 )
|
||||
21/region = Rect2( 0, 0, 0, 0 )
|
||||
21/occluder_offset = Vector2( 0, 0 )
|
||||
21/navigation_offset = Vector2( 0, 0 )
|
||||
21/shape_offset = Vector2( 0, 0 )
|
||||
21/shapes = [ ]
|
||||
22/name = "Tile 23"
|
||||
22/texture = ExtResource( 16 )
|
||||
22/tex_offset = Vector2( 0, 0 )
|
||||
22/modulate = Color( 1, 1, 1, 1 )
|
||||
22/region = Rect2( 0, 0, 128, 128 )
|
||||
22/tex_offset = Vector2( -64, -64 )
|
||||
22/region = Rect2( 0, 0, 0, 0 )
|
||||
22/occluder_offset = Vector2( 0, 0 )
|
||||
22/navigation_offset = Vector2( 0, 0 )
|
||||
22/shape_offset = Vector2( 0, 0 )
|
||||
22/shapes = [ ]
|
||||
23/name = "Tile 24"
|
||||
23/texture = ExtResource( 17 )
|
||||
23/tex_offset = Vector2( 0, 0 )
|
||||
23/modulate = Color( 1, 1, 1, 1 )
|
||||
23/region = Rect2( 0, 0, 128, 128 )
|
||||
23/tex_offset = Vector2( -64, -64 )
|
||||
23/region = Rect2( 0, 0, 0, 0 )
|
||||
23/occluder_offset = Vector2( 0, 0 )
|
||||
23/navigation_offset = Vector2( 0, 0 )
|
||||
23/shape_offset = Vector2( 0, 0 )
|
||||
23/shapes = [ ]
|
||||
24/name = "Tile 25"
|
||||
24/texture = ExtResource( 18 )
|
||||
24/tex_offset = Vector2( 0, 0 )
|
||||
24/modulate = Color( 1, 1, 1, 1 )
|
||||
24/region = Rect2( 0, 0, 128, 128 )
|
||||
24/tex_offset = Vector2( -64, -64 )
|
||||
24/region = Rect2( 0, 0, 0, 0 )
|
||||
24/occluder_offset = Vector2( 0, 0 )
|
||||
24/navigation_offset = Vector2( 0, 0 )
|
||||
24/shape_offset = Vector2( 0, 0 )
|
||||
24/shapes = [ ]
|
||||
25/name = "Tile 26"
|
||||
25/texture = ExtResource( 19 )
|
||||
25/tex_offset = Vector2( 0, 0 )
|
||||
25/modulate = Color( 1, 1, 1, 1 )
|
||||
25/region = Rect2( 0, 0, 128, 128 )
|
||||
25/tex_offset = Vector2( -64, -64 )
|
||||
25/region = Rect2( 0, 0, 0, 0 )
|
||||
25/occluder_offset = Vector2( 0, 0 )
|
||||
25/navigation_offset = Vector2( 0, 0 )
|
||||
25/shape_offset = Vector2( 0, 0 )
|
||||
25/shapes = [ ]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=27 format=2]
|
||||
[gd_scene load_steps=27 format=1]
|
||||
|
||||
[ext_resource path="res://WWT-01.png" type="Texture" id=1]
|
||||
[ext_resource path="res://WWT-02.png" type="Texture" id=2]
|
||||
@@ -31,157 +31,184 @@
|
||||
|
||||
[node name="Tile 1" type="Sprite" parent="."]
|
||||
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 1 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 2" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 128, 0 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 2 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 3" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 256, 0 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 3 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 4" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 384, 0 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 4 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 5" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 512, 0 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 5 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 6" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 640, 0 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 6 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 7" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 768, 0 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 7 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 8" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 896, 0 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 8 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 9" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 1024, 0 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 9 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 10" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 0, 128 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 10 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 11" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 128, 128 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 11 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 12" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 256, 128 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 12 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 13" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 384, 128 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 13 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 14" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 512, 128 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 14 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 15" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 640, 128 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 15 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 16" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 768, 128 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 16 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 17" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 896, 128 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 17 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 18" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 1024, 128 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 18 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 19" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 0, 256 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 19 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 20" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 128, 256 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 20 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 21" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 256, 256 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 21 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 22" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 384, 256 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 22 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 23" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 512, 256 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 23 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 24" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 640, 256 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 24 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 25" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 768, 256 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 25 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
[node name="Tile 26" type="Sprite" parent="."]
|
||||
|
||||
position = Vector2( 896, 256 )
|
||||
transform/pos = Vector2( 96.6174, 42.2665 )
|
||||
texture = ExtResource( 26 )
|
||||
centered = false
|
||||
offset = Vector2( -64, -64 )
|
||||
|
||||
|
||||