-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lilrooness
committed
Dec 2, 2018
0 parents
commit d8bba88
Showing
30 changed files
with
1,131 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/.internal | ||
/build | ||
.externalToolBuilders | ||
.DS_Store | ||
Thumbs.db | ||
.lock-wscript | ||
*.pyc | ||
.project | ||
.cproject | ||
builtins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Welcome to Defold | ||
|
||
This project was created from the "desktop" project template. This means that the settings in ["game.project"](defold://open?path=/game.project) have been changed to be suitable for a desktop game: | ||
|
||
- The screen size is set to 1280x720 | ||
- macOS and Windows icons are set | ||
- Mouse clicks are bound to action "click" | ||
- A simple script in a game object is set up to receive and react to input | ||
|
||
[Build and run](defold://build) to see it in action. You can of course alter these settings to fit your needs. | ||
|
||
Check out [the documentation pages](https://defold.com/learn) for examples, tutorials, manuals and API docs. | ||
|
||
If you run into trouble, help is available in [our forum](https://forum.defold.com). | ||
|
||
Happy Defolding! | ||
|
||
--- |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[project] | ||
title = control | ||
|
||
[bootstrap] | ||
main_collection = /main/main.collectionc | ||
|
||
[input] | ||
game_binding = /input/game.input_bindingc | ||
use_accelerometer = 0 | ||
|
||
[display] | ||
width = 1280 | ||
height = 720 | ||
|
||
[script] | ||
shared_state = 1 | ||
|
||
[windows] | ||
app_icon = /assets/appicons/appicon.ico | ||
|
||
[osx] | ||
app_icon = /assets/appicons/appicon.icns | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
mouse_trigger { | ||
input: MOUSE_BUTTON_LEFT | ||
action: "click" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
name: "human_collection" | ||
scale_along_z: 0 | ||
embedded_instances { | ||
id: "human_marker_obj" | ||
children: "label_obj" | ||
children: "sprite_obj" | ||
data: "components {\n" | ||
" id: \"human_marker\"\n" | ||
" component: \"/main/scripts/human_marker.script\"\n" | ||
" position {\n" | ||
" x: 0.0\n" | ||
" y: 0.0\n" | ||
" z: 0.0\n" | ||
" }\n" | ||
" rotation {\n" | ||
" x: 0.0\n" | ||
" y: 0.0\n" | ||
" z: 0.0\n" | ||
" w: 1.0\n" | ||
" }\n" | ||
"}\n" | ||
"" | ||
position { | ||
x: 0.0 | ||
y: 0.0 | ||
z: 0.0 | ||
} | ||
rotation { | ||
x: 0.0 | ||
y: 0.0 | ||
z: 0.0 | ||
w: 1.0 | ||
} | ||
scale3 { | ||
x: 1.0 | ||
y: 1.0 | ||
z: 1.0 | ||
} | ||
} | ||
embedded_instances { | ||
id: "label_obj" | ||
data: "embedded_components {\n" | ||
" id: \"label\"\n" | ||
" type: \"label\"\n" | ||
" data: \"size {\\n" | ||
" x: 128.0\\n" | ||
" y: 32.0\\n" | ||
" z: 0.0\\n" | ||
" w: 0.0\\n" | ||
"}\\n" | ||
"scale {\\n" | ||
" x: 1.0\\n" | ||
" y: 1.0\\n" | ||
" z: 1.0\\n" | ||
" w: 0.0\\n" | ||
"}\\n" | ||
"color {\\n" | ||
" x: 1.0\\n" | ||
" y: 1.0\\n" | ||
" z: 1.0\\n" | ||
" w: 1.0\\n" | ||
"}\\n" | ||
"outline {\\n" | ||
" x: 0.0\\n" | ||
" y: 0.0\\n" | ||
" z: 0.0\\n" | ||
" w: 1.0\\n" | ||
"}\\n" | ||
"shadow {\\n" | ||
" x: 0.0\\n" | ||
" y: 0.0\\n" | ||
" z: 0.0\\n" | ||
" w: 1.0\\n" | ||
"}\\n" | ||
"leading: 1.0\\n" | ||
"tracking: 0.0\\n" | ||
"pivot: PIVOT_CENTER\\n" | ||
"blend_mode: BLEND_MODE_ALPHA\\n" | ||
"line_break: false\\n" | ||
"text: \\\"Label\\\"\\n" | ||
"font: \\\"/builtins/fonts/system_font.font\\\"\\n" | ||
"material: \\\"/builtins/fonts/label.material\\\"\\n" | ||
"\"\n" | ||
" position {\n" | ||
" x: 0.0\n" | ||
" y: 0.0\n" | ||
" z: 0.0\n" | ||
" }\n" | ||
" rotation {\n" | ||
" x: 0.0\n" | ||
" y: 0.0\n" | ||
" z: 0.0\n" | ||
" w: 1.0\n" | ||
" }\n" | ||
"}\n" | ||
"" | ||
position { | ||
x: 7.0 | ||
y: 38.0 | ||
z: 0.0 | ||
} | ||
rotation { | ||
x: 0.0 | ||
y: 0.0 | ||
z: 0.0 | ||
w: 1.0 | ||
} | ||
scale3 { | ||
x: 1.0 | ||
y: 1.0 | ||
z: 1.0 | ||
} | ||
} | ||
embedded_instances { | ||
id: "sprite_obj" | ||
data: "embedded_components {\n" | ||
" id: \"sprite\"\n" | ||
" type: \"sprite\"\n" | ||
" data: \"tile_set: \\\"/main/main.atlas\\\"\\n" | ||
"default_animation: \\\"white_marker_empty\\\"\\n" | ||
"material: \\\"/builtins/materials/sprite.material\\\"\\n" | ||
"blend_mode: BLEND_MODE_ALPHA\\n" | ||
"\"\n" | ||
" position {\n" | ||
" x: 0.0\n" | ||
" y: 0.0\n" | ||
" z: 0.0\n" | ||
" }\n" | ||
" rotation {\n" | ||
" x: 0.0\n" | ||
" y: 0.0\n" | ||
" z: 0.0\n" | ||
" w: 1.0\n" | ||
" }\n" | ||
"}\n" | ||
"" | ||
position { | ||
x: 1.0 | ||
y: 2.0 | ||
z: 0.0 | ||
} | ||
rotation { | ||
x: 0.0 | ||
y: 0.0 | ||
z: 0.0 | ||
w: 1.0 | ||
} | ||
scale3 { | ||
x: 0.25 | ||
y: 0.25 | ||
z: 1.0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: "default" | ||
scale_along_z: 0 | ||
embedded_instances { | ||
id: "sprite_obj" | ||
data: "embedded_components {\n" | ||
" id: \"sprite\"\n" | ||
" type: \"sprite\"\n" | ||
" data: \"tile_set: \\\"/main/main.atlas\\\"\\n" | ||
"default_animation: \\\"grey_room\\\"\\n" | ||
"material: \\\"/builtins/materials/sprite.material\\\"\\n" | ||
"blend_mode: BLEND_MODE_ALPHA\\n" | ||
"\"\n" | ||
" position {\n" | ||
" x: 0.0\n" | ||
" y: 0.0\n" | ||
" z: 0.0\n" | ||
" }\n" | ||
" rotation {\n" | ||
" x: 0.0\n" | ||
" y: 0.0\n" | ||
" z: 0.0\n" | ||
" w: 1.0\n" | ||
" }\n" | ||
"}\n" | ||
"" | ||
position { | ||
x: 0.0 | ||
y: 0.0 | ||
z: 0.0 | ||
} | ||
rotation { | ||
x: 0.0 | ||
y: 0.0 | ||
z: 0.0 | ||
w: 1.0 | ||
} | ||
scale3 { | ||
x: 0.25 | ||
y: 0.25 | ||
z: 1.0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
font: "/assets/m5x7.ttf" | ||
material: "/builtins/fonts/font.material" | ||
size: 15 | ||
antialias: 1 | ||
alpha: 1.0 | ||
outline_alpha: 0.0 | ||
outline_width: 0.0 | ||
shadow_alpha: 0.0 | ||
shadow_blur: 0 | ||
shadow_x: 0.0 | ||
shadow_y: 0.0 | ||
extra_characters: "" | ||
output_format: TYPE_BITMAP | ||
all_chars: false | ||
cache_width: 0 | ||
cache_height: 0 |
Oops, something went wrong.