Skip to content
Browse files

girl added

  • Loading branch information...
1 parent 76efbba commit 0f11fcbc327db96960bc03c73e9989852728eceb @bL00RiSe bL00RiSe committed
View
163 .gitignore
@@ -0,0 +1,163 @@
+#################
+## Eclipse
+#################
+
+*.pydevproject
+.project
+.metadata
+bin/
+tmp/
+*.tmp
+*.bak
+*.swp
+*~.nib
+local.properties
+.classpath
+.settings/
+.loadpath
+
+# External tool builders
+.externalToolBuilders/
+
+# Locally stored "Eclipse launch configurations"
+*.launch
+
+# CDT-specific
+.cproject
+
+# PDT-specific
+.buildpath
+
+
+#################
+## Visual Studio
+#################
+
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+
+# User-specific files
+*.suo
+*.user
+*.sln.docstates
+
+# Build results
+[Dd]ebug/
+[Rr]elease/
+*_i.c
+*_p.c
+*.ilk
+*.meta
+*.obj
+*.pch
+*.pdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.vspscc
+.builds
+*.dotCover
+
+## TODO: If you have NuGet Package Restore enabled, uncomment this
+#packages/
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opensdf
+*.sdf
+
+# Visual Studio profiler
+*.psess
+*.vsp
+
+# ReSharper is a .NET coding add-in
+_ReSharper*
+
+# Installshield output folder
+[Ee]xpress
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish
+
+# Others
+[Bb]in
+[Oo]bj
+sql
+TestResults
+*.Cache
+ClientBin
+stylecop.*
+~$*
+*.dbmdl
+Generated_Code #added for RIA/Silverlight projects
+
+# Backup & report files from converting an old project file to a newer
+# Visual Studio version. Backup files are not needed, because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+
+
+
+############
+## Windows
+############
+
+# Windows image file caches
+Thumbs.db
+
+# Folder config file
+Desktop.ini
+
+
+#############
+## Python
+#############
+
+*.py[co]
+
+# Packages
+*.egg
+*.egg-info
+dist
+build
+eggs
+parts
+bin
+var
+sdist
+develop-eggs
+.installed.cfg
+
+# Installer logs
+pip-log.txt
+
+# Unit test / coverage reports
+.coverage
+.tox
+
+#Translations
+*.mo
+
+#Mr Developer
+.mr.developer.cfg
+
+# Mac crap
+.DS_Store
View
18 Halfinger/Halfinger.hxproj
@@ -1,33 +1,35 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<project version="2">
<!-- Output SWF options -->
<output>
<movie outputType="Application" />
<movie input="" />
<movie path="application.nmml" />
- <movie fps="0" />
- <movie width="0" />
- <movie height="0" />
+ <movie fps="60" />
+ <movie width="480" />
+ <movie height="800" />
<movie version="3" />
<movie minorVersion="0" />
<movie platform="NME" />
- <movie background="#FFFFFF" />
+ <movie background="000000" />
</output>
<!-- Other classes to be compiled into your SWF -->
<classpaths>
<class path="src" />
+ <class path="bin/flash/haxe" />
</classpaths>
<!-- Build options -->
<build>
- <option directives="" />
+ <option directives="nme_install_tool&#xA;web&#xA;code_completion" />
<option flashStrict="False" />
- <option mainClass="ru.geekparty.halfinger.Main" />
+ <option mainClass="" />
<option enabledebug="True" />
- <option additional="" />
+ <option additional="-swf-version 10.1" />
</build>
<!-- haxelib libraries -->
<haxelib>
<library name="nme" />
+ <library name="swf" />
</haxelib>
<!-- Class files to compile (other referenced classes will automatically be included) -->
<compileTargets>
View
5 Halfinger/application.nmml
@@ -9,7 +9,7 @@
<app main="ru.geekparty.halfinger.Main" file="Halfinger" path="bin" />
<window background="#000000" fps="60" />
- <window width="800" height="480" unless="mobile" />
+ <window width="480" height="800" unless="mobile" />
<window orientation="landscape" vsync="true" antialiasing="0" if="cpp" />
<!-- classpath, haxe libs -->
@@ -20,6 +20,9 @@
<icon path="assets/nme.svg" />
<assets path="assets/img" rename="img" />
+ <!-- swf library -->
+ <library path="assets/resources.swf" />
+
<!-- DLLs -->
<ndll name="std" />
<ndll name="regexp" />
View
BIN Halfinger/assets/resources.swf
Binary file not shown.
View
48 Halfinger/src/ru/geekparty/game/Main.hx
@@ -1,48 +0,0 @@
-package ru.geekparty.game;
-
-import nme.display.FPS;
-import nme.display.Sprite;
-import nme.events.Event;
-import nme.Lib;
-
-/**
- * ...
- * @author Null/
- */
-
-class Main extends Sprite
-{
-
- var game:Game;
-
- public function new()
- {
- super();
- #if iphone
- Lib.current.stage.addEventListener(Event.RESIZE, init);
- #else
- addEventListener(Event.ADDED_TO_STAGE, init);
- #end
- }
-
- private function init(e)
- {
- // entry point
-
- var game:Game = new Game();
- game.Start();
- addChild(game);
-
- addChild( new FPS(10,10,0xffffff));
- }
-
- static public function main()
- {
- var stage = Lib.current.stage;
- stage.scaleMode = nme.display.StageScaleMode.NO_SCALE;
- stage.align = nme.display.StageAlign.TOP_LEFT;
-
- Lib.current.addChild(new Main());
- }
-
-}
View
17 Halfinger/src/ru/geekparty/game/Game.hx → Halfinger/src/ru/geekparty/halfinger/Game.hx
@@ -1,8 +1,12 @@
-package ru.geekparty.game;
+package ru.geekparty.halfinger;
import nme.display.Sprite;
import nme.events.Event;
import nme.Lib;
import nme.Assets;
+import ru.geekparty.game.AnimatedSprite;
+import ru.geekparty.game.Animation;
+import ru.geekparty.game.IUpdatable;
+import ru.geekparty.game.TextureAtlas;
/**
* ...
@@ -27,14 +31,7 @@ class Game extends Sprite
_updatable = [];
_tickDt = 1.0 / FPS;
-
-
- for (i in 0...100)
- {
- spawnGirl(Math.random() * 480.0, Math.random() * 800.0);
- }
-
-
+ addChild( new Girl() );
}
private function spawnGirl(x:Float, y:Float):Void
@@ -73,6 +70,8 @@ class Game extends Sprite
public function onFrame(e:Event):Void
{
+ //TODO: Определиться с надобностью этого кода
+ return;
var timer:Float = Lib.getTimer();
var frames:Int = 0;
View
36 Halfinger/src/ru/geekparty/halfinger/Girl.hx
@@ -0,0 +1,36 @@
+package ru.geekparty.halfinger;
+import format.swf.MovieClip;
+import nme.display.Sprite;
+
+/**
+ * ...
+ * @author bL00RiSe
+ */
+
+class Girl extends Sprite
+{
+ private var _container : GirlContainer;
+
+ private var _face:MovieClip;
+ private var _titLeft:MovieClip;
+ private var _titRight:MovieClip;
+ private var _body:MovieClip;
+ private var _cunt:MovieClip;
+
+ public function new()
+ {
+ super();
+ _container = new GirlContainer();
+
+ _face = cast _container.getChildByName("face");
+ _titLeft = cast _container.getChildByName("titLeft");
+ _titRight = cast _container.getChildByName("titRight");
+ _body = cast _container.getChildByName("body");
+ _cunt = cast _container.getChildByName("cunt");
+
+
+
+ addChild( _container );
+ }
+
+}
View
11 Halfinger/src/ru/geekparty/halfinger/Main.hx
@@ -1,17 +1,20 @@
package ru.geekparty.halfinger;
+import nme.display.FPS;
import nme.display.Sprite;
import nme.events.Event;
import nme.Lib;
/**
* ...
- * @author bL00RiSe
+ * @author Null/
*/
class Main extends Sprite
{
+ var game:Game;
+
public function new()
{
super();
@@ -26,7 +29,11 @@ class Main extends Sprite
{
// entry point
- // new to Haxe NME? please read *carefully* the readme.txt file!
+ var game:Game = new Game();
+ game.Start();
+ addChild(game);
+
+ addChild( new FPS(10,10,0xffffff));
}
static public function main()

0 comments on commit 0f11fcb

Please sign in to comment.
Something went wrong with that request. Please try again.