Skip to content
Snippets Groups Projects
Commit 4510c470 authored by KritzJ's avatar KritzJ
Browse files

Upload New File

parent b7442293
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<unityGameDSL_modded:Game
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:unityGameDSL_modded="http://www.example.org/unityGameDSL_modded"
xsi:schemaLocation="http://www.example.org/unityGameDSL_modded ../metamodel/gameDSL/unityGameDSL2_modded.ecore">
<gameobjects
name="Character">
<movement
xsi:type="unityGameDSL_modded:TopDown"
speed="5"/>
<colision
xsi:type="unityGameDSL_modded:RigidBody"
form="Circle"/>
<colision
xsi:type="unityGameDSL_modded:Trigger"
collisionTAg="Enemy">
<execute
xsi:type="unityGameDSL_modded:Subtract"
value="1"
data="//@dataManager/@controls.0"/>
</colision>
<interaction
key="P">
<execute
xsi:type="unityGameDSL_modded:ApplyForce"
intensity="10.0">
<direction>1</direction>
<direction>0</direction>
</execute>
</interaction>
</gameobjects>
<gameobjects
name="Enemy"/>
<gameobjects
name="HealthPack">
<colision
xsi:type="unityGameDSL_modded:Trigger"
collisionTAg="Player">
<execute
xsi:type="unityGameDSL_modded:Add"
value="1"
data="//@dataManager/@controls.0"/>
</colision>
</gameobjects>
<dataManager
name="Manager">
<controls
name="lives"/>
</dataManager>
<guiElements
xsi:type="unityGameDSL_modded:BarDisplay"
name="LivesBar"
data="//@dataManager/@controls.0"/>
</unityGameDSL_modded:Game>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment