Selaa lähdekoodia

swf/webgl projects

Nicolas Cannasse 11 vuotta sitten
vanhempi
commit
98431aa080
4 muutettua tiedostoa jossa 65 lisäystä ja 0 poistoa
  1. 9 0
      samples/2d/2d_swf.hxml
  2. 56 0
      samples/2d/2d_swf.hxproj
  3. 0 0
      samples/2d/2d_wgl.hxml
  4. 0 0
      samples/2d/2d_wgl.hxproj

+ 9 - 0
samples/2d/2d_swf.hxml

@@ -0,0 +1,9 @@
+-swf main.swf
+-swf-header 800:600:60:FFFFFF
+-swf-version 11.8
+-main Main
+-lib heaps
+-dce full
+-D resourcesPath=../res
+-D source-map-content
+--macro include('h2d')

+ 56 - 0
samples/2d/2d_swf.hxproj

@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project version="2">
+  <!-- Output SWF options -->
+  <output>
+    <movie outputType="Application" />
+    <movie input="" />
+    <movie path="main.swf" />
+    <movie fps="60" />
+    <movie width="800" />
+    <movie height="600" />
+    <movie version="11" />
+    <movie minorVersion="8" />
+    <movie platform="Flash Player" />
+    <movie background="#FFFFFF" />
+  </output>
+  <!-- Other classes to be compiled into your SWF -->
+  <classpaths>
+    <!-- example: <class path="..." /> -->
+  </classpaths>
+  <!-- Build options -->
+  <build>
+    <option directives="" />
+    <option flashStrict="False" />
+    <option mainClass="Main" />
+    <option enabledebug="False" />
+    <option additional="-lib heaps&#xA;-dce full&#xA;-D resourcesPath=../res&#xA;-D source-map-content&#xA;--macro include('h2d')" />
+  </build>
+  <!-- haxelib libraries -->
+  <haxelib>
+    <!-- example: <library name="..." /> -->
+  </haxelib>
+  <!-- Class files to compile (other referenced classes will automatically be included) -->
+  <compileTargets>
+    <!-- example: <compile path="..." /> -->
+  </compileTargets>
+  <!-- Assets to embed into the output SWF -->
+  <library>
+    <!-- example: <asset path="..." id="..." update="..." glyphs="..." mode="..." place="..." sharepoint="..." /> -->
+  </library>
+  <!-- Paths to exclude from the Project Explorer tree -->
+  <hiddenPaths>
+    <hidden path="obj" />
+  </hiddenPaths>
+  <!-- Executed before build -->
+  <preBuildCommand />
+  <!-- Executed after build -->
+  <postBuildCommand alwaysRun="False" />
+  <!-- Other project options -->
+  <options>
+    <option showHiddenPaths="False" />
+    <option testMovie="OpenDocument" />
+    <option testMovieCommand="main.swf" />
+  </options>
+  <!-- Plugin storage -->
+  <storage />
+</project>

+ 0 - 0
samples/2d/demo.hxml → samples/2d/2d_wgl.hxml


+ 0 - 0
samples/2d/demo.hxproj → samples/2d/2d_wgl.hxproj