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 — site appears down. Try this local mirror:
savsender-1.1.zip
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

March 8, 2007

Perry Bible Fellowship & Toothpaste For Dinner RSS Feeds

I’ve made some hand-rolled rss feeds, which display the comic images inline. Handy for reading the comics directly from your feed-reader, without having to click through to the site. (Useful if you have many comics and like to read them all at once)

http://davr.org/rss/tfd.php — Toothpaste For Dinner RSS

http://davr.org/rss/pbf.php — Perry Bible Fellowship RSS

And here are the other comics feeds already created by others, which I also subscribe to:

http://plasticboy.com/cgi-bin/doonesbury-rss.cgi – Doonesbury

http://www.ieatpaint.com/feeds/foxtrot.php – Foxtrot

http://feeds.feedburner.com/tapestrydilbert – Dilbert

http://www.xkcd.com/rss.xml – XKCD

http://www.serversys852.com/tudza/vgcats.rdf.xml – VG Cats

Filed under: Uncategorized — davr @ 4:25 pm

February 21, 2007

Actionscript3 Quickstart Reference

I put together a quick reference to getting started on writing Actionscript3 applications (which target the Flash 9 runtime), using only free tools (on Windows). Also a few handy documentation / language reference links. It’s everything you need to start writing your own high-performance Flash applications, including PaperVision3D. Check it out.

Filed under: Flash — davr @ 2:52 pm

February 13, 2007

PaperVision3D

This looks pretty neat, it’s an opensource 3D library written completely in actionscript3, for flash9+. It’s the first serious 3d engine I’ve seen in flash, and while it is still at an early stage (somewhat closed beta, if you join the mailing list you can find info on how to get it), it looks like it will be amazing. The coding is clean, and there is already some documentation (often rare in opensource projects).

Here is a quick test with some Bouncing Cubes that I’ve made:
(more…)

Filed under: Flash — davr @ 3:58 pm

January 18, 2007

DS Motion Card

The DS Motion Card is a motion sensor addon for the Nintendo DS. It contains a 3-axis accelerometer, as well as a 1-axis gyro sensor. The creator was kind enough to send me one, so that I could play with it and make stuff for it to help him promote it.

Anyway, so far I have made a simple marble demo, tip your DS and marbles roll around. Currently it’s very simple, no collision detection or anything. I’m probably going to make a game out of it, simulating those little keychain toys where you have a few marbles, and you have to get them all into their respective holes.

Download:
Marbles.nds
SourceCode

NOTE: To build, it will require a CVS version of libnds, dated 2007-01-10 or later. Dovoto added ndsmotion code into libnds, as well as a nice simple example.

Filed under: Nintendo DS — davr @ 11:29 am

December 6, 2006

Control X.Org cursor with Wiimote

READ THIS –> WMD has been apparently discontinued…so here are two other projects for dealing with wiimotes under linux:

1. Cwiid (I use this one personally, works well for my basic needs, mostly for playing NES emulators)
2. libwiimote


Our good friend e-Hernick is working on a “driver” for linux to use the wiimote (The controller for Nintendo’s Wii). I say “driver” in quotes, because it’s not really a driver, as it doesn’t have any kernel-mode code. In fact, it is simply a python script.

e-Hernick sez: “OH YEAH! I am now controlling the XORG MOUSE with the WIIMOTE IR, with the use of my very own wiimotulator.py!”

I haven’t personally tested it, (mainly since I don’t have a wiimote). But it looks neat.

Latest versions can now be found at: ForTheWiiN.org

Requirements: Linux 2.6 with evdev and uinput, Xorg 7.0 with evdev BlueZ, PyBluez 0.9.1, a Wiimote, 2 IR emitters of some sort (even candles work apparently!)

64bit users:for 64bit linux, you could try changing line 729 from:

    STRPK_INPUT_EVENT = "LLHHl"

To:

    STRPK_INPUT_EVENT = "LLHHi"

Non-Linux users:
Windows: LiquidIce’s page and GlovePIE.
Mac OSX: DarwiinRemote.

FINAL UPDATE: WMD now has a website! See the link above.

Filed under: Wii — davr @ 1:08 pm
« Previous PageNext Page »

Powered by WordPress

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




Paid Advertisements
Whiplash Claims - Skull Ring - Jewellery - Whiplash