Wednesday, April 22, 2015

SpaceBenderMap

After a week of work and thousands of lines of code...

.

.

In Game: (Atomic Alice)

.

.

In Game: (Haven't decided the name of this game)

.

.

Same un-named game background: 1 background, rendered in Morning,Sunset, and Night modes:

.

.

My inspiration?

.

The game called "Spacebenders" on www.NewGrounds.com

.

Play SpaceBenders here: http://www.newgrounds.com/portal/view/649245

.

Saturday, April 18, 2015

Awesome Blend Modes Lizard:

This person has created some awesome blend mode extensions for actionscript! http://lostinactionscript.com/2009/05/26/custom-blend-modes-for-flash-10/comment-page-1/#comment-3980 In other news.. Working on background maps for game. Going to call it the "Space Bender" map. Because the game "Space Bender" has inspired me with a way to code the backgrounds. -John Mark

Friday, April 17, 2015

TheWayOfTheBox + Music

Listening to this: Avarice in Audio - Feed The Addiction (Feat. Ascension EX) https://www.youtube.com/watch?v=Q-sJPZ7dW5E Also: Making exploding boxes. Problem is happening... Seems that collision detection is DE-ACTIVATED for objects off screen. But those objects gravity vector still applies... Because of the nature of my our game, no objects should be DE-activated off screen. -John Mark

Tuesday, April 14, 2015

Destroyer of worlds

Working on a fork of Atomic Alice that will be an action side scroller without 1-hit kills from explosions. Taking some cool assets that were not used in Atomic Alice and using them in this new fork. This new forked version is going to be simplified so that we can get a finished game out the door. Better half a game than a half-assed game. Also, listening to music and watching gangster goats. Accessory, Outrun The Gun https://www.youtube.com/watch?v=wAXJmUqlnUw

Friday, March 6, 2015

Haxe Killed My AS3 Debugger

I use flash develop. Decided to take some time on the side to learn a bit about Haxe. I had set it up before... And with a bit of work. I hackishly got it working. I even got the Android target working. Today I try to debug a flash project I've been working on... Debugger crashed on startup... Try another old project of mine. Debugger still crashes. ///////////////////////// OUTPUT WINDOW ////////////////////////////////////////////////////// Running process: C:\DEV\Programs\FD\Tools\fdbuild\fdbuild.exe "C:\DEV\FLASH_V2\FV2_PROJECTS\DEBUG\OWMap_DEBUG\OWMap_DEBUG.as3proj" -ipc 126e1256-5858-4bb7-889a-b86381844b02 -version "4.6.0; 3.1" -compiler "C:\DEV\SDK\flex_sdk_4.6" -library "C:\DEV\Programs\FD\Library" Building OWMap_DEBUG mxmlc -load-config+=obj\OWMap_DEBUGConfig.xml -debug=true -incremental=true -swf-version=10 -o obj\OWMap_DEBUG635612101421160768 Incremental compile of 1 Loading configuration file C:\DEV\SDK\flex_sdk_4.6\frameworks\flex-config.xml Loading configuration file C:\DEV\FLASH_V2\FV2_PROJECTS\DEBUG\OWMap_DEBUG\obj\OWMap_DEBUGConfig.xml Nothing has changed since the last compile. Skip... obj\OWMap_DEBUG635612101421160768 (66634 bytes) (fcsh)Build succeeded Done(0) Debugger startup error. For troubleshooting see: http://www.flashdevelop.org/wikidocs/index.php?title=F.A.Q Error details: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at net.sf.jni4net.jni.JNI.Dll.JNI_GetDefaultJavaVMInitArgs(JavaVMInitArgs* args) at net.sf.jni4net.jni.JNI.Init() at net.sf.jni4net.jni.JNI.CreateJavaVM(JavaVM& jvm, JNIEnv& env, Boolean attachIfExists, String[] options) at net.sf.jni4net.Bridge.CreateJVM() at net.sf.jni4net.Bridge.CreateJVM(BridgeSetup setup) at FlashDebugger.DebuggerManager.Start(Boolean alwaysStart) [Capturing traces with FDB] ///////////////////////// OUTPUT WINDOW ////////////////////////////////////////////////////// I was originally targeting 10.1 in my settings while using debug player "10.0 r2" I am pretty urked right now. I really like the idea of Haxe. And it's given me less headache than Android Studio since I can debug in flash without having laggy emulation... But now it looks like I might have to re-install flash develop to get debugging working again. I think I am going to try and power through what I was working on and fix it without a debugger... Maybe. -John Mark

Sunday, March 1, 2015

Programming Challenges:

This reddit page has other sites like codeeval where you can do programming challenges. Trying to branch out and learn more: http://www.reddit.com/r/programming/comments/2kax45/the_algorithms_required_to_solve_all_problems/ http://codefights.com/ http://coderbyte.com/ http://www.hackerearth.com/ https://www.codeeval.com/ http://www.checkio.org/ http://cyber-dojo.org/ http://www.codechef.com/ https://code.google.com/codejam/contests.html http://www.codewars.com/ https://open.kattis.com/ http://www.codingame.com ttp://acm.timus.ru http://uva.onlinejudge.org/ www.codeabbey.com http://www.topcoder.com/tc /r/dailyprogrammer Hackerrank and leetcode .com http://www.azspcs.net/ http://icfpcontest.org/ http://poj.org/ Codeforces beats em all!

Friday, February 20, 2015

CodeEval.com

Been doing some challenges on CodeEval.com
Also been working on the overworld map editor.

Came here to post my Java template for codeEval challenges:

// Sample code to read in test cases:
import java.io.*;
public class Main 
{
    public static void main (String[] args) throws IOException 
    {
        File file = new File(args[0]);
        BufferedReader buffer = new BufferedReader(new FileReader(file));
        String line;
        while ((line = buffer.readLine()) != null) {
            line = line.trim();
            System.out.println( getResults(line) );
        }
    }//MAIN.
    
    static String getResults(String line)
    {
        
    }
    
}//CLASS