Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Proto defaults #222

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add an egm project inside temp
  • Loading branch information
KartikShrivastava committed Mar 27, 2022
commit 8de7b2e66b80c40e4ef9f9fa71a5b5b41a9a663e
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions temp/test1.egm/Backgrounds/bkg_0.bkg/properties.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
use_as_tileset: 0
tile_width: 16
tile_height: 16
horizontal_offset: 0
vertical_offset: 0
horizontal_spacing: 0
vertical_spacing: 0
h_tile: 0
v_tile: 0
for3D: 0
width: 800
height: 600
image: data/bkg_0.png
17 changes: 17 additions & 0 deletions temp/test1.egm/Objects/obj_0.obj/properties.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sprite_name: spr_0
depth: 0
solid: 0
visible: 1
persistent: 0
physics_settings:
use_physics: 0
phy_sensor: 0
phy_shape_type: 0
phy_density: 0.500000
phy_restitution: 0.100000
phy_group: 0
phy_linear_damping: 0.100000
phy_angular_damping: 0.100000
phy_friction: 0.200000
phy_awake: 1
phy_kinematic: 0
214 changes: 214 additions & 0 deletions temp/test1.egm/Rooms/rm_0.rm/properties.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
caption: ""
width: 1280
height: 600
hsnap: 16
vsnap: 16
isometric: 0
speed: 30
persistent: 0
color: 12632256
show_color: 1
enable_views: 0
clear_view_background: 1
backgrounds:
- visible: 0
foreground: 0
background_name: ""
x: 0
y: 0
htiled: 1
vtiled: 1
hspeed: 0.000000
vspeed: 0.000000
stretch: 0
- visible: 0
foreground: 0
background_name: ""
x: 0
y: 0
htiled: 1
vtiled: 1
hspeed: 0.000000
vspeed: 0.000000
stretch: 0
- visible: 0
foreground: 0
background_name: ""
x: 0
y: 0
htiled: 1
vtiled: 1
hspeed: 0.000000
vspeed: 0.000000
stretch: 0
- visible: 0
foreground: 0
background_name: ""
x: 0
y: 0
htiled: 1
vtiled: 1
hspeed: 0.000000
vspeed: 0.000000
stretch: 0
- visible: 0
foreground: 0
background_name: ""
x: 0
y: 0
htiled: 1
vtiled: 1
hspeed: 0.000000
vspeed: 0.000000
stretch: 0
- visible: 0
foreground: 0
background_name: ""
x: 0
y: 0
htiled: 1
vtiled: 1
hspeed: 0.000000
vspeed: 0.000000
stretch: 0
- visible: 0
foreground: 0
background_name: ""
x: 0
y: 0
htiled: 1
vtiled: 1
hspeed: 0.000000
vspeed: 0.000000
stretch: 0
- visible: 0
foreground: 0
background_name: ""
x: 0
y: 0
htiled: 1
vtiled: 1
hspeed: 0.000000
vspeed: 0.000000
stretch: 0
views:
- visible: 0
xview: 0
yview: 0
wview: 640
hview: 480
xport: 0
yport: 0
wport: 640
hport: 480
hborder: 32
vborder: 32
hspeed: -1.000000
vspeed: -1.000000
- visible: 0
xview: 0
yview: 0
wview: 640
hview: 480
xport: 0
yport: 0
wport: 640
hport: 480
hborder: 32
vborder: 32
hspeed: -1.000000
vspeed: -1.000000
- visible: 0
xview: 0
yview: 0
wview: 640
hview: 480
xport: 0
yport: 0
wport: 640
hport: 480
hborder: 32
vborder: 32
hspeed: -1.000000
vspeed: -1.000000
- visible: 0
xview: 0
yview: 0
wview: 640
hview: 480
xport: 0
yport: 0
wport: 640
hport: 480
hborder: 32
vborder: 32
hspeed: -1.000000
vspeed: -1.000000
- visible: 0
xview: 0
yview: 0
wview: 640
hview: 480
xport: 0
yport: 0
wport: 640
hport: 480
hborder: 32
vborder: 32
hspeed: -1.000000
vspeed: -1.000000
- visible: 0
xview: 0
yview: 0
wview: 640
hview: 480
xport: 0
yport: 0
wport: 640
hport: 480
hborder: 32
vborder: 32
hspeed: -1.000000
vspeed: -1.000000
- visible: 0
xview: 0
yview: 0
wview: 640
hview: 480
xport: 0
yport: 0
wport: 640
hport: 480
hborder: 32
vborder: 32
hspeed: -1.000000
vspeed: -1.000000
- visible: 0
xview: 0
yview: 0
wview: 640
hview: 480
xport: 0
yport: 0
wport: 640
hport: 480
hborder: 32
vborder: 32
hspeed: -1.000000
vspeed: -1.000000
physics_settings:
use_physics: 0
phy_world_top: 0
phy_world_left: 0
phy_world_right: 640
phy_world_bottom: 480
phy_world_xgravity: 0.000000
phy_world_ygravity: 10.000000
phy_world_pixel_meters: 0.100000
instance-layers:
- Format: svg-d
Data: |
I 100001 n "inst_6DFE8F29" o "obj_0" S 0.5 C #7fffffff P 80, 400
tile-layers:
- Format: svg-d
Data: |
Empty file.
Binary file added temp/test1.egm/Sprites/spr_0.spr/data/spr_0_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added temp/test1.egm/Sprites/spr_0.spr/data/spr_0_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added temp/test1.egm/Sprites/spr_0.spr/data/spr_0_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions temp/test1.egm/Sprites/spr_0.spr/properties.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
alpha_tolerance: 0
separate_mask: 0
origin_x: 0
origin_y: 0
shape: 1
bbox_mode: 0
bbox_left: 30
bbox_right: 218
bbox_top: 0
bbox_bottom: 255
h_tile: 0
v_tile: 0
for3D: 0
width: 256
height: 256
subimages:
- data/spr_0_0.png
- data/spr_0_1.png
- data/spr_0_2.png
Binary file added temp/test1.egm/protobuf.bin
Binary file not shown.
3 changes: 3 additions & 0 deletions temp/test1.egm/test1.egm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version: 2.0.0
tree: tree.yaml
backup: protobuf.bin
33 changes: 33 additions & 0 deletions temp/test1.egm/tree.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
folder: /
contents:
- folder: Configs
contents:
- name: Default
type: unknown
id: -1
- folder: Sprites
contents:
- name: spr_0
type: sprite
id: 0
- folder: Backgrounds
contents:
- name: bkg_0
type: background
id: 0
- folder: Objects
contents:
- name: obj_0
type: object
id: 0
- folder: Rooms
contents:
- name: rm_0
type: room
id: 0
- folder: Constants
- folder: Help
contents:
- name: ""
type: unknown
id: -1