Skip to content

Commit

Permalink
Moved materials and render to the root
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochili committed Jan 21, 2024
1 parent 67726b5 commit a58c573
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/maps/level/level.map
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"_tb_textures" "textures/flags;textures/retro"
"textel_size" "32"
"physics_mask" "walker, default"
"material" "/example/materials/model.material"
"material" "/materials/model.material"
// brush 0
{
( 0 224 0 ) ( 0 192 0 ) ( 0 192 -48 ) retro/FLOOR_2G 0 0 -90 1 -1
Expand Down
1 change: 0 additions & 1 deletion example/render/example.render

This file was deleted.

2 changes: 1 addition & 1 deletion game.project
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies#2 = https://github.com/astrochili/defold-kinematic-walker/archive/r

[bootstrap]
main_collection = /example/main.collectionc
render = /example/render/example.renderc
render = /render/example.renderc

[input]
game_binding = /builtins/input/all.input_bindingc
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions example/materials/model.material → materials/model.material
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "model"
tags: "model"
vertex_program: "/example/materials/model.vp"
fragment_program: "/example/materials/model.fp"
vertex_program: "/materials/model.vp"
fragment_program: "/materials/model.fp"
vertex_space: VERTEX_SPACE_LOCAL
vertex_constants {
name: "mtx_worldview"
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions render/example.render
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
script: "/render/example.render_script"
File renamed without changes.

0 comments on commit a58c573

Please sign in to comment.