consistent indentation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
DialogSequence = {}
|
||||
|
||||
DialogSequence.Example = {
|
||||
{Locale.dialogue.example[1],Locale.name.fairy},
|
||||
{Locale.dialogue.example[2],Locale.name.chaos},
|
||||
{Locale.dialogue.example[3],Locale.name.life}
|
||||
{Locale.dialogue.example[1],Locale.name.fairy},
|
||||
{Locale.dialogue.example[2],Locale.name.chaos},
|
||||
{Locale.dialogue.example[3],Locale.name.life}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ return {
|
||||
name = "test",
|
||||
tileset = tileset.library,
|
||||
properties = {
|
||||
darkness = true
|
||||
darkness = true
|
||||
},
|
||||
tiles = {
|
||||
{ 1, 4, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
music = {}
|
||||
music.placeholder = {
|
||||
path = "assets/music/communistmanifesto.mp3",
|
||||
type = "stream",
|
||||
loop = true
|
||||
path = "assets/music/communistmanifesto.mp3",
|
||||
type = "stream",
|
||||
loop = true
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
Shader = {}
|
||||
Shader.RadiusGradient = love.graphics.newShader[[
|
||||
uniform float pos_x;
|
||||
uniform float pos_y;
|
||||
uniform float range;
|
||||
uniform float scale;
|
||||
uniform float pos_x;
|
||||
uniform float pos_y;
|
||||
uniform float range;
|
||||
uniform float scale;
|
||||
|
||||
vec4 effect(vec4 color, Image texture, vec2 texture_coords, vec2 screen_coords ){
|
||||
vec4 effect(vec4 color, Image texture, vec2 texture_coords, vec2 screen_coords ){
|
||||
|
||||
vec4 pixel = Texel(texture, texture_coords );//This is the current pixel color
|
||||
vec4 pixel = Texel(texture, texture_coords );//This is the current pixel color
|
||||
|
||||
float distance_x = pos_x - screen_coords.x / scale;
|
||||
float distance_y = pos_y - screen_coords.y / scale;
|
||||
float distance = sqrt( pow(distance_x,2) + pow(distance_y,2) ) ;
|
||||
if (distance < range){
|
||||
float alpha = 1-(5*distance/range);
|
||||
if (pixel.a > alpha){
|
||||
pixel.a = alpha;
|
||||
}
|
||||
}
|
||||
return pixel * color * color;
|
||||
}
|
||||
float distance_x = pos_x - screen_coords.x / scale;
|
||||
float distance_y = pos_y - screen_coords.y / scale;
|
||||
float distance = sqrt( pow(distance_x,2) + pow(distance_y,2) ) ;
|
||||
if (distance < range){
|
||||
float alpha = 1-(5*distance/range);
|
||||
if (pixel.a > alpha){
|
||||
pixel.a = alpha;
|
||||
}
|
||||
}
|
||||
return pixel * color * color;
|
||||
}
|
||||
]]
|
||||
|
||||
@@ -1,349 +1,349 @@
|
||||
local properties = {}
|
||||
|
||||
properties[1] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[2] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[3] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[4] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[5] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[6] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[7] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[8] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[9] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[10] = {
|
||||
type = "half_bottom",
|
||||
depth = "foreground"
|
||||
type = "half_bottom",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[11] = {
|
||||
type = "half_bottom",
|
||||
depth = "foreground"
|
||||
type = "half_bottom",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[12] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[13] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[14] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[15] = {
|
||||
type = "half_right",
|
||||
depth = "foreground"
|
||||
type = "half_right",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[16] = {
|
||||
type = "half_left",
|
||||
depth = "foreground"
|
||||
type = "half_left",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[17] = {
|
||||
type = "half_bottom",
|
||||
depth = "foreground"
|
||||
type = "half_bottom",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[18] = {
|
||||
type = "half_top",
|
||||
depth = "foreground"
|
||||
type = "half_top",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[19] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[20] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[21] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[22] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[23] = {
|
||||
type = "half_top",
|
||||
depth = "foreground"
|
||||
type = "half_top",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[24] = {
|
||||
type = "half_top",
|
||||
depth = "foreground"
|
||||
type = "half_top",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[25] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[26] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[27] = {
|
||||
type = "ramp2_bot_right_half",
|
||||
depth = "foreground"
|
||||
type = "ramp2_bot_right_half",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[28] = {
|
||||
type = "ramp2_bot_right_whole",
|
||||
depth = "foreground"
|
||||
type = "ramp2_bot_right_whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[29] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[30] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[31] = {
|
||||
type = "ramp2_bot_left_whole",
|
||||
depth = "foreground"
|
||||
type = "ramp2_bot_left_whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[32] = {
|
||||
type = "ramp2_bot_left_half",
|
||||
depth = "foreground"
|
||||
type = "ramp2_bot_left_half",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[33] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[34] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[35] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[36] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[37] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[38] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[39] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[40] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[41] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[42] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[43] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[44] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[45] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[46] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[47] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[48] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[49] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[50] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[51] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[52] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[53] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[54] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[55] = {
|
||||
type = "empty",
|
||||
depth = "foreground",
|
||||
light = 60
|
||||
type = "empty",
|
||||
depth = "foreground",
|
||||
light = 60
|
||||
}
|
||||
|
||||
properties[56] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[57] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[58] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[59] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[60] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[61] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[62] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[63] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[64] = {
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
type = "empty",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[65] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[66] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[67] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[68] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[119] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
return properties
|
||||
|
||||
@@ -1,94 +1,94 @@
|
||||
local properties = {}
|
||||
|
||||
properties[1] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[2] = {
|
||||
type = "emtpy",
|
||||
depth = "foreground"
|
||||
type = "emtpy",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[3] = {
|
||||
type = "emtpy",
|
||||
depth = "foreground"
|
||||
type = "emtpy",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[4] = {
|
||||
type = "emtpy",
|
||||
depth = "foreground"
|
||||
type = "emtpy",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[5] = {
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
}
|
||||
|
||||
properties[6] = {
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
}
|
||||
|
||||
properties[7] = {
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
}
|
||||
|
||||
properties[13] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[14] = {
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
type = "whole",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[25] = {
|
||||
overlay = {17,19,21,23},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
overlay = {17,19,21,23},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
}
|
||||
|
||||
properties[26] = {
|
||||
overlay = {18,20,22,24},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
overlay = {18,20,22,24},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
}
|
||||
|
||||
properties[37] = {
|
||||
overlay = {29,31,33,35,41,43,45,47},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
overlay = {29,31,33,35,41,43,45,47},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
}
|
||||
|
||||
properties[38] = {
|
||||
overlay = {30,32,34,36,42,44,46,48},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
overlay = {30,32,34,36,42,44,46,48},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
}
|
||||
|
||||
properties[49] = {
|
||||
overlay = {53,55,57,59},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
overlay = {53,55,57,59},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
}
|
||||
|
||||
properties[50] = {
|
||||
overlay = {54,56,58,60},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
overlay = {54,56,58,60},
|
||||
type = "emtpy",
|
||||
depth = "background"
|
||||
}
|
||||
|
||||
properties[61] = {
|
||||
type = "bottom_hazard",
|
||||
depth = "foreground"
|
||||
type = "bottom_hazard",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
properties[62] = {
|
||||
type = "top_hazard",
|
||||
depth = "foreground"
|
||||
type = "top_hazard",
|
||||
depth = "foreground"
|
||||
}
|
||||
|
||||
return properties
|
||||
|
||||
Reference in New Issue
Block a user