Robots w/Lasers

April 5, 2007

Apollo App: AS3 Tip of the Day

This is another fairly quick app I wrote, it pulls the posts from senocular’s AS3 Tip of the Day thread, and then displays them in a little browser (minus all the other forum cruft). It also caches them to disk, so each tip needs to be loaded only once.

(sorry for the lame interface)

AS3Tips.air — install file, requires Apollo Alpha Runtime.
AS3Tips.mxml — source code

Thanks to senocular for writing these amazingly helpful AS3 tips!

Filed under: Apollo, Flash, flex — davr @ 9:27 pm

March 31, 2007

Eepinator

This is a basic EEPROM backup tool. Basically it lets you copy the save-games from your commercial game carts back and forth to your flashcart. It also supports using SRAM as storage, and if you have a gba cart in slot-2, and a flashcart in slot-1, you could copy the sram off the gba cart to your flashcart.

It has various transfer functions, basically what you see in this screenshot:

Hexdump is not implemented yet.

Download it here: eepinator.nds

UPDATE:If you’ve got only a slot-1 card, this tool may be useful to you:
savesender
It uploads your saves via WIFI to your pc, eliminating the problem slot-1 flashcard from the equation!

Filed under: Nintendo DS — davr @ 5:39 pm

March 28, 2007

Native file browse dialog in Apollo

I haven’t seen any examples on how to use the native OS browse dialogs for opening & saving files, so here’s a quick example.

Basically, the idea is to use the File (which extends FileReference) class, and pretend to upload or download files from the net, but not actually perform the action, and just grab the file’s path directly.

This app allows you to load a PNG or JPEG, apply a blur effect, then save it as a JPEG again. It requires the JPGEncoder from the AS3 corelib

Download BrowseExample.mxml (only works with Apollo, not in a browser etc)

Install BrowseExample.air
(more…)

Filed under: Apollo, Flash — davr @ 8:26 pm

March 21, 2007

Lyric Station - Apollo App

I saw this post by Marcos P. who created an app for searching for song lyrics. I took it and added a few small enhancements:

  • Download raw lyrics instead of html — saves bandwidth & time
  • Better layout — I take advantage of Flex’s layout capabilities to make the interface resizable
  • Partial match searching — If a song is not found, I call out to the search page in the lyrics wiki, and then parse the results. This allows to find songs if you don’t know the exact name, or miss a ‘the’, or to browse all songs by a certain artist

LyricStation.air — requires the Apollo Runtime Alpha 1 in order to use. AIR file also includes the source code.

Many thanks to Marcos for giving out the source! It’s a great learning experience to hack on other people’s code that they’ve already gotten started for you.

Filed under: Apollo, Flash, flex — davr @ 9:09 pm

March 17, 2007

Phidias - Replacement for Draw?

Someone has finally made a drawing app which can compete with mine!

* DLDI
* Saving & Loading to BMP
* Pencil and Brush tools
* Paint Bucket
* Blur tool
* Zooming — allows to draw an image 2x the size of the screen
* Undo/Redo
* Nice GUI

Things that it’s still missing which I had:
* Save & Load to PNG
* Save & Load to SRAM (for flashcart users, and slot-2 devices which have no DLDI)
* Slow paint fill — his just fills everything
* Nicer color picker — his makes you twiddle with R,G,B sliders

Give it a try!
Phidias

Filed under: Draw — davr @ 8:05 pm
« Previous PageNext Page »

Powered by WordPress

Bad Behavior has blocked 1582 access attempts in the last 7 days.




Paid Advertisements
Bankruptcy Certification - Credit Cards - Arizona Landscaping - Guitar Books