caustik's blog

programming and music

Sprites application, with source code

with 10 comments

sprites.caustik.com

I’ve put together a new site, with a forum and source code, for my goofy sprites program:

http://sprites.caustik.com/

The project has ended up being a good demonstration for using node.js to host a server for C++ clients. The sprites program uses a node.js server to automatically pair up anyone running the program, so sprites you throw off either side, top or bottom, of your desktop are thrown onto another person’s desktop. The network topology is generated by the server using a novel match-making algorithm. It’s pretty fucking cool, actually.

There have also been a great deal of Windows programming nuances to get the layered window animations working smooth as butter. The whole thing is optimized to perform well with over a hundred sprites at a time. This is done via caching all the animation data, deferring window repositioning, synchronization with DWM refresh, and other techniques.

Anyway, download it, install it, register for the forum and give some feedback IF you don’t mind. It’s a very young project and really benefits a lot from feedback and people trying it out.

If you happen to be the first person to see this blog post and install it, you have the unique opportunity to flood my desktop with a metric ton of Mario sprites. Otherwise, you still have the opportunity to flood some random other person’s desktop, but just be prepared to expect the same in return 😛

TOADS

Written by caustik

March 31st, 2012 at 6:39 am

Posted in Games,Programming

10 Responses to 'Sprites application, with source code'

Subscribe to comments with RSS or TrackBack to 'Sprites application, with source code'.

  1. Well, I dunno if anyone else got hold of it, but it sure is fun across two monitors!

    shaeffer

    1 Apr 12 at 1:12 am

  2. I think you’re the lone visitor to this ghost town :p

    caustik

    1 Apr 12 at 2:30 am

  3. I think I’ll have to earthworm jim you until you post more music! :p

    shaeffer

    1 Apr 12 at 5:38 am

  4. lolol

    caustik

    1 Apr 12 at 5:42 am

  5. HAHAHA this is so cool! AMAZING ~ !

    kx

    4 Apr 12 at 12:22 pm

  6. HAHAHA my screen is full of beezo flying around. they’re so cuteeee!

    kx

    4 Apr 12 at 12:29 pm

  7. somebody left me a stack of Link characters as tall as my screen

    caustik

    5 Apr 12 at 10:48 pm

  8. I got a flood of deal with it dogs!

    Zane90902

    5 Aug 12 at 10:33 pm

  9. how do i get the sprites to come

    Callum

    27 Aug 15 at 1:56 am

  10. Regularly I will be learning a tad bit more about NodeJS. It’s definately the ultimate programming language to discover long term. Just concluded the BackSpace.Academy Amazon web services Certified Developers track. It’s displayed a totally new Realm of software for me. Now I’ve got to spare the time in order to get coding!

    Doug Betancourt

    18 Oct 15 at 7:07 am

Leave a Reply