mirror of
https://github.com/zoriya/Twac.git
synced 2026-05-28 08:57:34 +00:00
Adding a default map
This commit is contained in:
+1
-1
Submodule lib/gamacon updated: e54243143e...aede02ed98
@@ -15,6 +15,8 @@ int usage(void)
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
if (argc == 1)
|
||||
return (start_game("prefabs/game.gcprefab"));
|
||||
if (argc != 2 || !my_strcmp(argv[1], "-h"))
|
||||
return (usage());
|
||||
return (start_game(argv[1]));
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<renderer src="assets/sprites/grass.png">
|
||||
<Rect height="auto" width="auto" top="0" left="0" />
|
||||
</renderer>
|
||||
<movable_component />
|
||||
<collision_component />
|
||||
</gc_entity>
|
||||
<gc_entity>
|
||||
<transform_component>
|
||||
@@ -66,7 +66,7 @@
|
||||
<renderer src="assets/sprites/grass.png">
|
||||
<Rect height="auto" width="auto" top="0" left="0" />
|
||||
</renderer>
|
||||
<movable_component />
|
||||
<collision_component />
|
||||
</gc_entity>
|
||||
<gc_entity>
|
||||
<transform_component>
|
||||
@@ -76,7 +76,7 @@
|
||||
<renderer src="assets/sprites/grass.png">
|
||||
<Rect height="auto" width="auto" top="0" left="0" />
|
||||
</renderer>
|
||||
<movable_component />
|
||||
<collision_component />
|
||||
</gc_entity>
|
||||
</gc_entities>
|
||||
</gc_scene>
|
||||
@@ -14,5 +14,6 @@
|
||||
<walk_action acceleration="3000" max_acceleration="10000" />
|
||||
<jump_action acceleration="600" />
|
||||
<friction_component value=".7" />
|
||||
<collision_component />
|
||||
</gc_entity>
|
||||
</gc_entities>
|
||||
Reference in New Issue
Block a user