2
0
ncannasse 11 жил өмнө
parent
commit
d565022f49

+ 4 - 0
tools/parts/Main.hx

@@ -33,6 +33,10 @@ class Main extends hxd.App implements h3d.parts.Collider {
 		emit = new h3d.parts.Emitter(s3d);
 		emit.collider = this;
 		edit = new h3d.parts.Editor(emit, s2d);
+		
+		s3d.camera.pos.z -= 0.5;
+		s3d.camera.target.z += 0.5;
+		s3d.camera.viewX = -0.1;
 	}
 	
 	static function main() {

+ 2 - 1
tools/parts/parts.hxml

@@ -1,10 +1,11 @@
 -cp ../..
 -swf parts.swf
--swf-header 1024:800:60:000000
+-swf-header 1200:900:60:000000
 --flash-strict
 -swf-version 11.6
 -main Main
 -lib hxsl
 -D h3d
+-lib air3
 -lib hscript
 -dce full

+ 4 - 4
tools/parts/parts.hxproj

@@ -6,8 +6,8 @@
     <movie input="" />
     <movie path="parts.swf" />
     <movie fps="60" />
-    <movie width="1024" />
-    <movie height="800" />
+    <movie width="1200" />
+    <movie height="900" />
     <movie version="11" />
     <movie minorVersion="6" />
     <movie platform="Flash Player" />
@@ -24,7 +24,7 @@
     <option noInlineOnDebug="False" />
     <option mainClass="Main" />
     <option enabledebug="False" />
-    <option additional="-lib hxsl&#xA;-D h3d&#xA;#-lib air3&#xA;-lib hscript&#xA;-dce full" />
+    <option additional="-lib hxsl&#xA;-D h3d&#xA;-lib air3&#xA;-lib hscript&#xA;-dce full" />
   </build>
   <!-- haxelib libraries -->
   <haxelib>
@@ -49,7 +49,7 @@
   <!-- Other project options -->
   <options>
     <option showHiddenPaths="False" />
-    <option testMovie="Default" />
+    <option testMovie="Custom" />
     <option testMovieCommand="parts.app" />
   </options>
   <!-- Plugin storage -->