Thursday, July 17, 2014

Flash is dying, should I use unity?


Flash is dying.
Should I go to Unity?
No!!!

Adobe is killing flash, and look what happened with XNA.

Sure, Unity will be good for 5 or 10 years. But I am in this for longer term that that.

I don't want to be a slave to proprietary platforms, being forced to spend all my time
converting code every time technology changes.

I've been thinking about this for over six months.

This resource is pretty good:
http://haxe3.blogspot.com/2013/07/getting-started-with-haxe-3-and.html

Also, a year ago I compiled some Haxe and it worked. I can't say that for every
platform I have tried. Only reason I didn't go with it then was I wasn't sure it
had been around long enough to be safe.

Now I am sure it is.

-MakeGamesHappen
(-John Mark)

Trouble shooting notes for:
http://haxe3.blogspot.com/2013/07/getting-started-with-haxe-3-and.html

Need to install the other packages with these commands:
haxelib install openfl setup
haxelib run openfl setup
haxelib install openfl-compatibility
haxelib install openfl-html5
haxelib install openfl-native
haxelib install openfl-samples
haxelib install openfl-tools
haxelib list

New problem:
Debugging and running flash target.
This file does not have a program associated with it for performing this action.
Please install a program or, if one is already installed, create an association
in the Default Programs control panel.

Thursday, April 3, 2014

Flash Develop: Could Not Open [...] lib\i386\jvm.cfg'

<pre>
I recently MANUALLY installed JAVA by cutting and pasting my java installations from my C:\DEV\JAVA folder of a machine I recently fried via emptying mountain dew into the keyboard.

I have installed FlashDevelop and Java more times than I can count.
As usual, I ran into some trouble.






Before I tell you, it is important to note the layout of my files:
With flash develop, you MUST use the 32 bit version of Java.
C:\DEV\Programs\JAVA\JDK6_32BIT
C:\DEV\Programs\JAVA\JRE6_32BIT

Here is what I did:

To get flash develop to know where java is, add this to your PATH variable:
C:\DEV\Programs\JAVA\JDK6_32BIT\bin\
Aka: Whatever bin folder contains BOTH "java.exe" and "javac.exe".

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!







TO GET RID OF "Could Not Open [...] lib\i386\jvm.cfg" ERROR:
YOU WILL NEED TO ADD THE JAVA_HOME VARIABLE:
JAVA_HOME == C:\DEV\Programs\JAVA\JRE6_32BIT
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Also: Tips on the internet say check system32 for copies of Java that were not deleted during a previous un-install.

I recommend making a shortcut to environment variables if you are a developer.
You will be using them often. Especially when setting up new development environments.

For my Windows 7, the shortcut should point to:
%windir%\System32\rundll32.exe sysdm.cpl,EditEnvironmentVariables
</pre>