Lez and first enemy
This commit is contained in:
parent
3c7e879988
commit
86d144dad9
BIN
Animations/Lez89/Default/000.png
Normal file
BIN
Animations/Lez89/Default/000.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
Animations/Poop/Default/000.png
Normal file
BIN
Animations/Poop/Default/000.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
@ -2,5 +2,41 @@
|
||||
<c2eventsheet>
|
||||
<!--All the 'name' attributes are ignored by Construct 2 - they are there for readability only.-->
|
||||
<name>Event sheet 1</name>
|
||||
<events />
|
||||
<events>
|
||||
<event-block sid="3824873703968608">
|
||||
<conditions>
|
||||
<condition id="-6" name="Every X seconds" sid="2261196584717211" type="System">
|
||||
<param id="0" name="Interval (seconds)">0.3</param>
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action id="0" name="Spawn another object" sid="3508115805113956" type="Lez89">
|
||||
<param id="0" name="Object">Poop</param>
|
||||
<param id="1" name="Layer">0</param>
|
||||
<param id="2" name="Image point">1</param>
|
||||
</action>
|
||||
</actions>
|
||||
</event-block>
|
||||
<event-block sid="4953072892030419">
|
||||
<conditions>
|
||||
<condition id="0" name="On collision with another object" sid="206593879529372" type="Poop">
|
||||
<param id="0" name="Object">Xbox</param>
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action id="-9" name="Destroy" sid="4447386001878916" type="Xbox" />
|
||||
<action id="-9" name="Destroy" sid="7650091398215252" type="Poop" />
|
||||
</actions>
|
||||
</event-block>
|
||||
<event-block sid="8742873101103201">
|
||||
<conditions>
|
||||
<condition id="0" name="On collision with another object" sid="7352079660754991" type="Lez89">
|
||||
<param id="0" name="Object">Xbox</param>
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action id="-9" name="Destroy" sid="3543999938475852" type="Xbox" />
|
||||
</actions>
|
||||
</event-block>
|
||||
</events>
|
||||
</c2eventsheet>
|
||||
|
@ -4,8 +4,8 @@
|
||||
<sid>8873350371196689</sid>
|
||||
<event-sheet>Event sheet 1</event-sheet>
|
||||
<size>
|
||||
<width>1708</width>
|
||||
<height>960</height>
|
||||
<width>854</width>
|
||||
<height>480</height>
|
||||
</size>
|
||||
<margins>
|
||||
<horizontal>500</horizontal>
|
||||
@ -13,9 +13,9 @@
|
||||
</margins>
|
||||
<unbounded-scrolling>0</unbounded-scrolling>
|
||||
<layers>
|
||||
<layer name="Layer 0" sid="8722530541249526">
|
||||
<layer name="Background" sid="8722530541249526">
|
||||
<initially-visible>1</initially-visible>
|
||||
<background-color>255,255,255</background-color>
|
||||
<background-color>60,60,60</background-color>
|
||||
<transparent>0</transparent>
|
||||
<parallax>
|
||||
<x>1</x>
|
||||
@ -29,6 +29,155 @@
|
||||
<instances />
|
||||
<effects />
|
||||
</layer>
|
||||
<layer name="Bullets" sid="5272271849893265">
|
||||
<initially-visible>1</initially-visible>
|
||||
<background-color>255,255,255</background-color>
|
||||
<transparent>1</transparent>
|
||||
<parallax>
|
||||
<x>1</x>
|
||||
<y>1</y>
|
||||
</parallax>
|
||||
<zoom-rate>1</zoom-rate>
|
||||
<opacity>1</opacity>
|
||||
<force-own-texture>0</force-own-texture>
|
||||
<blend-mode>0</blend-mode>
|
||||
<effect-fallback>0</effect-fallback>
|
||||
<instances>
|
||||
<instance type="Poop" uid="1">
|
||||
<properties>
|
||||
<initial-visibility>Visible</initial-visibility>
|
||||
<initial-animation>Default</initial-animation>
|
||||
<initial-frame>0</initial-frame>
|
||||
<collisions>Enabled</collisions>
|
||||
</properties>
|
||||
<behavior-instances>
|
||||
<behavior-instance type="Bullet">
|
||||
<properties>
|
||||
<speed>400</speed>
|
||||
<acceleration>0</acceleration>
|
||||
<gravity>0</gravity>
|
||||
<bounce-off-solids>No</bounce-off-solids>
|
||||
<set-angle>Yes</set-angle>
|
||||
<initial-state>Enabled</initial-state>
|
||||
</properties>
|
||||
</behavior-instance>
|
||||
<behavior-instance type="DestroyOutsideLayout" />
|
||||
</behavior-instances>
|
||||
<blend-mode>0</blend-mode>
|
||||
<effect-fallback>0</effect-fallback>
|
||||
<world>
|
||||
<x>110</x>
|
||||
<y>-82</y>
|
||||
<z>0</z>
|
||||
<width>22.223211288</width>
|
||||
<height>23.803941727</height>
|
||||
<depth>0</depth>
|
||||
<hotspotX>0.502092063</hotspotX>
|
||||
<hotspotY>0.5</hotspotY>
|
||||
<angle>0</angle>
|
||||
<opacity>1</opacity>
|
||||
</world>
|
||||
</instance>
|
||||
<instance type="Xbox" uid="2">
|
||||
<properties>
|
||||
<initial-visibility>Visible</initial-visibility>
|
||||
<initial-animation>Default</initial-animation>
|
||||
<initial-frame>0</initial-frame>
|
||||
<collisions>Enabled</collisions>
|
||||
</properties>
|
||||
<behavior-instances>
|
||||
<behavior-instance type="DestroyOutsideLayout" />
|
||||
<behavior-instance type="Bullet">
|
||||
<properties>
|
||||
<speed>-400</speed>
|
||||
<acceleration>0</acceleration>
|
||||
<gravity>0</gravity>
|
||||
<bounce-off-solids>No</bounce-off-solids>
|
||||
<set-angle>No</set-angle>
|
||||
<initial-state>Enabled</initial-state>
|
||||
</properties>
|
||||
</behavior-instance>
|
||||
</behavior-instances>
|
||||
<blend-mode>0</blend-mode>
|
||||
<effect-fallback>0</effect-fallback>
|
||||
<world>
|
||||
<x>777</x>
|
||||
<y>81</y>
|
||||
<z>0</z>
|
||||
<width>63.387695313</width>
|
||||
<height>63.387695313</height>
|
||||
<depth>0</depth>
|
||||
<hotspotX>0.5</hotspotX>
|
||||
<hotspotY>0.5</hotspotY>
|
||||
<angle>0</angle>
|
||||
<opacity>1</opacity>
|
||||
</world>
|
||||
</instance>
|
||||
</instances>
|
||||
<effects />
|
||||
</layer>
|
||||
<layer name="Bodies" sid="2524903146783228">
|
||||
<initially-visible>1</initially-visible>
|
||||
<background-color>255,255,255</background-color>
|
||||
<transparent>1</transparent>
|
||||
<parallax>
|
||||
<x>1</x>
|
||||
<y>1</y>
|
||||
</parallax>
|
||||
<zoom-rate>1</zoom-rate>
|
||||
<opacity>1</opacity>
|
||||
<force-own-texture>0</force-own-texture>
|
||||
<blend-mode>0</blend-mode>
|
||||
<effect-fallback>0</effect-fallback>
|
||||
<instances>
|
||||
<instance type="Lez89" uid="0">
|
||||
<properties>
|
||||
<initial-visibility>Visible</initial-visibility>
|
||||
<initial-animation>Default</initial-animation>
|
||||
<initial-frame>0</initial-frame>
|
||||
<collisions>Enabled</collisions>
|
||||
</properties>
|
||||
<behavior-instances>
|
||||
<behavior-instance type="8Direction">
|
||||
<properties>
|
||||
<max-speed>300</max-speed>
|
||||
<acceleration>700</acceleration>
|
||||
<deceleration>600</deceleration>
|
||||
<directions>8 directions</directions>
|
||||
<set-angle>No</set-angle>
|
||||
<default-controls>Yes</default-controls>
|
||||
<initial-state>Enabled</initial-state>
|
||||
</properties>
|
||||
</behavior-instance>
|
||||
<behavior-instance type="BoundToLayout">
|
||||
<properties>
|
||||
<bound-by>Edge</bound-by>
|
||||
</properties>
|
||||
</behavior-instance>
|
||||
<behavior-instance type="ScrollTo">
|
||||
<properties>
|
||||
<initial-state>Enabled</initial-state>
|
||||
</properties>
|
||||
</behavior-instance>
|
||||
</behavior-instances>
|
||||
<blend-mode>0</blend-mode>
|
||||
<effect-fallback>0</effect-fallback>
|
||||
<world>
|
||||
<x>79.046173096</x>
|
||||
<y>206.530944824</y>
|
||||
<z>0</z>
|
||||
<width>66.628051758</width>
|
||||
<height>90.727554321</height>
|
||||
<depth>0</depth>
|
||||
<hotspotX>0.5</hotspotX>
|
||||
<hotspotY>0.5</hotspotY>
|
||||
<angle>0</angle>
|
||||
<opacity>1</opacity>
|
||||
</world>
|
||||
</instance>
|
||||
</instances>
|
||||
<effects />
|
||||
</layer>
|
||||
</layers>
|
||||
<nonworld-instances />
|
||||
<effects />
|
||||
|
@ -9,8 +9,16 @@
|
||||
<app-id>com.lez89.adventures</app-id>
|
||||
<unique-id>2m2oqhlgof90t</unique-id>
|
||||
<saved-with-version>16300</saved-with-version>
|
||||
<used-plugins />
|
||||
<used-behaviors />
|
||||
<used-plugins>
|
||||
<plugin author="Scirra" id="Sprite" version="1">Sprite</plugin>
|
||||
</used-plugins>
|
||||
<used-behaviors>
|
||||
<behavior author="Scirra" id="Bullet" version="1">Bullet</behavior>
|
||||
<behavior author="Scirra" id="EightDir" version="1">8 Direction</behavior>
|
||||
<behavior author="Scirra" id="bound" version="1">Bound to layout</behavior>
|
||||
<behavior author="Scirra" id="destroy" version="1">Destroy outside layout</behavior>
|
||||
<behavior author="Scirra" id="scrollto" version="1">Scroll To</behavior>
|
||||
</used-behaviors>
|
||||
<used-effects />
|
||||
<configurations>
|
||||
<configuration exporter-descname="HTML5" exporter-id="html5" name="HTML5" />
|
||||
@ -34,7 +42,93 @@
|
||||
<prop name="Sampling">Linear</prop>
|
||||
<prop name="Use high-DPI display">Yes</prop>
|
||||
</configuration-settings>
|
||||
<object-folder expanded="1" />
|
||||
<object-folder expanded="1">
|
||||
<object-type name="Lez89" sid="9094705866611462">
|
||||
<plugin id="Sprite" />
|
||||
<behaviors>
|
||||
<behavior-type name="8Direction" sid="1811255522828552">
|
||||
<behavior id="EightDir" />
|
||||
</behavior-type>
|
||||
<behavior-type name="BoundToLayout" sid="8346248246821929">
|
||||
<behavior id="bound" />
|
||||
</behavior-type>
|
||||
<behavior-type name="ScrollTo" sid="7591827598149209">
|
||||
<behavior id="scrollto" />
|
||||
</behavior-type>
|
||||
</behaviors>
|
||||
<animation-folder expanded="1">
|
||||
<animation framecount="1" loop="0" name="Default" pingpong="0" repeatcount="1" repeatto="0" sid="413848378483479" speed="5">
|
||||
<frame duration="1" hotspotX="0.5" hotspotY="0.5">
|
||||
<image-point name="PoopSpawn" x="0.989362" y="0.730469" />
|
||||
<collision-poly>
|
||||
<point x="0.148936" y="0.109375" />
|
||||
<point x="0.5" y="0.00390625" />
|
||||
<point x="0.851064" y="0.109375" />
|
||||
<point x="0.962766" y="0.5" />
|
||||
<point x="0.851064" y="0.890625" />
|
||||
<point x="0.5" y="0.976563" />
|
||||
<point x="0.207447" y="0.847656" />
|
||||
<point x="0.0265957" y="0.5" />
|
||||
</collision-poly>
|
||||
</frame>
|
||||
</animation>
|
||||
</animation-folder>
|
||||
</object-type>
|
||||
<object-type name="Poop" sid="5001461330378636">
|
||||
<plugin id="Sprite" />
|
||||
<behaviors>
|
||||
<behavior-type name="Bullet" sid="3344431683263629">
|
||||
<behavior id="Bullet" />
|
||||
</behavior-type>
|
||||
<behavior-type name="DestroyOutsideLayout" sid="6594866518713962">
|
||||
<behavior id="destroy" />
|
||||
</behavior-type>
|
||||
</behaviors>
|
||||
<animation-folder expanded="1">
|
||||
<animation framecount="1" loop="0" name="Default" pingpong="0" repeatcount="1" repeatto="0" sid="7841309654933822" speed="5">
|
||||
<frame duration="1" hotspotX="0.502092" hotspotY="0.5">
|
||||
<collision-poly>
|
||||
<point x="0.74477" y="0.238281" />
|
||||
<point x="0.887029" y="0.5" />
|
||||
<point x="0.728033" y="0.746094" />
|
||||
<point x="0.502092" y="0.855469" />
|
||||
<point x="0.0502092" y="0.953125" />
|
||||
<point x="0" y="0.5" />
|
||||
<point x="0.0627615" y="0.0585938" />
|
||||
<point x="0.502092" y="0.101563" />
|
||||
</collision-poly>
|
||||
</frame>
|
||||
</animation>
|
||||
</animation-folder>
|
||||
</object-type>
|
||||
<object-type name="Xbox" sid="8026790236078071">
|
||||
<plugin id="Sprite" />
|
||||
<behaviors>
|
||||
<behavior-type name="DestroyOutsideLayout" sid="8068644864286329">
|
||||
<behavior id="destroy" />
|
||||
</behavior-type>
|
||||
<behavior-type name="Bullet" sid="7651340306451177">
|
||||
<behavior id="Bullet" />
|
||||
</behavior-type>
|
||||
</behaviors>
|
||||
<animation-folder expanded="1">
|
||||
<animation framecount="1" loop="0" name="Default" pingpong="0" repeatcount="1" repeatto="0" sid="9361271875818973" speed="5">
|
||||
<frame duration="1" hotspotX="0.5" hotspotY="0.5">
|
||||
<collision-poly>
|
||||
<point x="0.148438" y="0.148438" />
|
||||
<point x="0.5" y="0" />
|
||||
<point x="0.851563" y="0.148438" />
|
||||
<point x="1" y="0.5" />
|
||||
<point x="0.851563" y="0.851563" />
|
||||
<point x="0.5" y="1" />
|
||||
<point x="0.148438" y="0.851563" />
|
||||
<point x="0" y="0.5" />
|
||||
</collision-poly>
|
||||
</frame>
|
||||
</animation>
|
||||
</animation-folder>
|
||||
</object-type>
|
||||
</object-folder>
|
||||
<families />
|
||||
<layout-folder expanded="1">
|
||||
<layout>Layout 1.xml</layout>
|
||||
|
BIN
Lez89's Adventures.capx.autosave
Normal file
BIN
Lez89's Adventures.capx.autosave
Normal file
Binary file not shown.
BIN
Lez89's Adventures.capx.backup1
Normal file
BIN
Lez89's Adventures.capx.backup1
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user