The Wonders of FlashPunk

After an unfortunately short day of work, I’ve blasted way ahead of the development schedule and got something for you all – The end of scope Prototype for Elemental Weaving!

~ Icon Legend ~

Icon for the Cloud Element
Cloud
Icon for the Fire Element
Fire
Icon for the Flora Element
Flora
Icon for the Heat Element
Heat
Icon for the Moisture Element
Moisture
Icon for the Soil Element
Soil
Icon for the Static Element
Static
Icon for the Water Element
Water

 

Description:

The 8 icons at the bottom of the screen represent the environmental elements.  Each spell changes the balance of the elements in the environment, and the idea for this prototype was to see if it was a fun idea or not.

Post-Mortem:

Very satisfied with the way it turned out, and I’m super impressed by the speed with which I could develop it using FlashPunk.

I’m pretty sure I’ll be developing this idea further, as what really interests me is the way in which both players share the same resources.  It was originally an idea for a Collectible Card Game, but with inspiration from a GameCareerGuide Game Design Challenge, I though about pushing it into the RPG realm.

Dues to Pay

The icons were created by Henrique ‘Ails’ Lazarini, a fantastic pixel artist, and can be found on his DeviantArt Page, along with other amazing work by him.

The characters were ripped by ‘Freki’ from Final Fantasy Tactics Advance 2: Grimoire of the Rift, and posted for use at The Spriter’s Resource.

Setting up Mercurial with BitBucket (and FlashDevelop)

Atlassian have already written up a great tutorial for the basics, but here’s my trimmed down, TIGJamAU specific version.

~INGREDIENTS~
TortoiseHG
Bitbucket Account
PuttyGEN
FlashDevelop

~METHOD~
1) Install TortoiseHG, FlashDevelop and create yourself a Bitbucket Account.

2a) Open up PuttyGEN and click the “Generate” button to create an SSH key.  Add in a Passphrase as well if you want.
2b)Click “Save private key”.  It’s an important file, so keep it somewhere safe.  Eg. TortoiseHG install directory or otherwise.  Don’t close PuttyGEN yet!

3a) From the Bitbucket Home Page, pop down the user menu under your username, and open your account settings.
3b) From the nav bar on the left select “SSH Keys” and paste the entire contents of the “Public Key for pasting…” in PuttyGEN into the box under “SSH Key” on the BitBucket page.
3c) Finally, using the button at the bottom of the page, add the public key to BitBucket.  You can now close PuttyGEN.

4a) Open up FlashDevelop and create yourself a new project.
4b) Under Tools > Project Settings, scroll down to SourceControl.  Under HG; check EnableHG, point “HG Path” to hg.exe in the Tortoise folder, and the “Proc Path” to thgw.exe.
4c) Close FlashDevelop again.

4.5) From the TortoiseHG folder, open up “Pageant.exe”, and open up the SSH key you created with PuttyGEN earlier.

5a) With TortoiseHG installed, you should be able to navigate to the FlashDevelop Project folder with Windows Explorer, right-click it, and select TortoiseHG > Create Repository Here.
5b) Check “Show in Workbench after init” and create.
5c) With TortoiseHG now open, we’re almost there. Right-click on the newly created repository on the right, and open up the Settings.
5d) Switch to the Global Settings tab, select “Edit File” at the top right, and enter the following:

[ui]
username = JOEBLOGGER <USERNAME@email.com>
ssh = “C:\Program Files\TortoiseHg\TortoisePlink.exe” -ssh -2 -batch -C

It is of course recommended that you change JOEBLOGGER to your name used for Mercurial commits, and alter the TortoiseHG path if appropriate.
5e) Save and close that, switch to the Repository specific tab, and once again, “Edit File”.  Input the following:
[paths]
default = ssh://hg@bitbucket.org/BITBUCKET_USERNAME/BITBUCKET_REPO
[tortoisehg]
cipushafter = default
defaultpush = all
closeci = True
The path for “default” can be found on the BitBucket project overview page.  The other settings make it easier to sync stuff from FlashDev.



And done!  Try commiting and pushing the project at this point, and if there’s any problems, write me in the comments.  (I might even get around to adding pretty pictures after the Jam is over.)