Encounter: Endurance Trials Beta(?)

Check it out.  The contest end is approaching quickly.  I don’t have much time for bells and whistles, but I needed to add some things that make a flash game a flash game, like menus and things.

2 more nights of coding left!  (~8 hours).

If anyone that visits this, plays the demo and sees something obviously missing or horrible, please comment.  I’m going to wrap this one up with a few more encounters and ship it Monday night.

Enjoy!

Encounter: Endurance Trials Beta

Encounter: Endurance Trials Beta

Tags:

3 Responses to “Encounter: Endurance Trials Beta(?)”

  1. Alex says:

    Neat! Programmers get more done with there’s a deadline looming =)

    I have two exceptions for you. I played the first level with one bat then advanced to the 2nd level. Killed the first bat and I had both Archer and Fighter attacking the 2nd bat (Priest was healing). When the 2nd bat died, this exception occurred –

    TypeError: Error #2007: Parameter sourceBitmapData must be non-null.
    at flash.display::BitmapData/copyPixels()
    at com.adventuresInActionscript.graphics::Animation/updateFrame()[C:\RedCloverGames\Dev\Encounter\AIA Components\com\adventuresInActionscript\graphics\Animation.as:263]
    at com.adventuresInActionscript.graphics::Animation/set frame()[C:\RedCloverGames\Dev\Encounter\AIA Components\com\adventuresInActionscript\graphics\Animation.as:319]
    at com.adventuresInActionscript.graphics::Animation/set state()[C:\RedCloverGames\Dev\Encounter\AIA Components\com\adventuresInActionscript\graphics\Animation.as:327]
    at com.adventuresInActionscript.graphics::Animation/trySetStateByName()[C:\RedCloverGames\Dev\Encounter\AIA Components\com\adventuresInActionscript\graphics\Animation.as:353]
    at GameObject/SetAnimationState()[C:\RedCloverGames\Dev\Encounter\EncounterSource\GameObject.as:34]
    at UnitLib.Skeleton::Skeleton()[C:\RedCloverGames\Dev\Encounter\EncounterSource\UnitLib\Skeleton\Skeleton.as:33]
    at GameLib.Endurance.EncounterLib::encSingleSkeleton/Initialize()[C:\RedCloverGames\Dev\Encounter\EncounterSource\GameLib\Endurance\EncounterLib\encSingleSkeleton.as:24]
    at DungeonGame/SetCurrentEncounter()[C:\RedCloverGames\Dev\Encounter\EncounterSource\DungeonGame.as:60]
    at GameLib.Endurance::EnduranceGame/SetCurrentEncounter()[C:\RedCloverGames\Dev\Encounter\EncounterSource\GameLib\Endurance\EnduranceGame.as:52]
    at DungeonGame/Update()[C:\RedCloverGames\Dev\Encounter\EncounterSource\DungeonGame.as:86]
    at Main/PlayGameStateLogic()[C:\RedCloverGames\Dev\Encounter\EncounterSource\Main.as:187]
    at Main/enterFrameListener()[C:\RedCloverGames\Dev\Encounter\EncounterSource\Main.as:155]

    I hit continue (instead of dismiss all), and the exception was replaced with this one (which occurred on every game update cycle) –

    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
    at flash.display::DisplayObjectContainer/removeChild()
    at DungeonGame/SetCurrentEncounter()[C:\RedCloverGames\Dev\Encounter\EncounterSource\DungeonGame.as:55]
    at GameLib.Endurance::EnduranceGame/SetCurrentEncounter()[C:\RedCloverGames\Dev\Encounter\EncounterSource\GameLib\Endurance\EnduranceGame.as:52]
    at DungeonGame/Update()[C:\RedCloverGames\Dev\Encounter\EncounterSource\DungeonGame.as:86]
    at Main/PlayGameStateLogic()[C:\RedCloverGames\Dev\Encounter\EncounterSource\Main.as:187]
    at Main/enterFrameListener()[C:\RedCloverGames\Dev\Encounter\EncounterSource\Main.as:155]

  2. Joe says:

    I don’t have anything big for you, but after you lose, nothing happens when you mouse over the “retry” and “main menu” buttons. At first I thought the buttons didn’t do anything or that the game was frozen but they worked when I clicked on them. Also, it would be nice if you could move by simply selecting a unit and clicking where you want it to move. I like the click-and-drag, but it gets difficult to use in close quarters.

  3. Josh says:

    @Joe

    Thanks Joe!

    You’re right. I do need a mouse_over effect for actual buttons or a border to indicate that they are pressable. I only did that for the Play button on the main menu in the interest of time.

    The problem with the select+click style of movement is that I also need a way to de-select units. By default the way to de-select is click anywhere on the play field (similar to windows explorer). It’s not in the instruction manual, but you can push ‘V’ to tell a unit to move to a given location, which is my preferred method of moving. I need to make an instructions screen.

    Thanks for the feedback!

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>