A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: [Complete] Paper Asteroids 4k

  1. #1
    Untitled-1.fla strille's Avatar
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    1,626

    [Complete] Paper Asteroids 4k

    Recently I've been playing around with Flash Player 10 for the first time (a bit late I know...). I also ran across the recent Flash 4k game competition entries, which made me want to give a 4k game a try as well.

    Here's the result: http://www.strille.net/games/paper-asteroids-4k/

    Some notes:
    * 4 generated sounds (3 explosion sounds and a bonus collected sound)
    * All gfx are generated (no suprise)
    * Highscores are stored locally using shared object
    * During the highscore screen your last played game is shown in replay
    * There are 2 types of bonuses: stars, which are worth 100 points each and shots, which increase shot fire rate.
    * The objects are drawn in two passes (fills first and then lines) to avoid having a large asteroid cover a small one completely. That way small and fast asteroids are always visible)
    * The fills are treated with bevel filter to give them some depth and then blurred to give it a painted look.
    * The swf is 4096 bytes, the source 13.7Kb
    * The source consists of one class with 5 methods (constructor, one for events, one for printing text, one for sound and one for random number - which is needed for replay to work)

    My current highscore: 2010 :-)

  2. #2
    Hype over content... Squize's Avatar
    Join Date
    Apr 2001
    Location
    Lost forever in a happy crowd...
    Posts
    5,926
    How the hell did you do that in 4k? Wow, stunning as always.

    Squize.

    PS. 720, but only 1 go. I'm a little burnt out on all things asteroids right now

  3. #3
    ....he's amazing!!! lesli_felix's Avatar
    Join Date
    Nov 2000
    Location
    London UK
    Posts
    1,506
    Yeah, what he said.

    Really impressive.

    I tried to do the 4k comp, but I started in as3, which is more difficult to fit into a small space.

  4. #4
    Senior Member Alluvian's Avatar
    Join Date
    Jun 2006
    Posts
    967
    Incredibly cool! It crashes my copy of IE7 here at work when I get hit by an asteroid though. Tried twice, not sure what is going wrong. Could be a corrupt copy of IE7, I have had other troubles with it.

  5. #5
    President PhobiK's Avatar
    Join Date
    Jan 2005
    Location
    Guatemala
    Posts
    918
    Pretty good game. I loved it! Graphics and style are neat. I also liked the 3d effect of the notebook. I just have a suggestion: it would be easier/more logical to shoot with space instead of the down key; starting the game with space kind of suggests you'll use that key. Or show the instructions in the main menu. Also stars disappear too fast, but maybe that's just me... I'm not very good at asteroids :P Just some comments, it's a great 4k game man!

    Score 810 :S
    This is MC. His _parents sent him to stop() by the super market to buy some _root beer if he wanted to gotoAndPlay() with his friends at the park later.

    This is my Blog!... The gaming Process
    Please check out my site: Giddel Creations

  6. #6
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,378
    Can't say anything that hasn't been beaten to death. Nice job.

    HS: 1920
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  7. #7
    ism BlinkOk's Avatar
    Join Date
    Aug 2001
    Location
    , location, location
    Posts
    5,002
    haha. way to go. awesome
    Graphics Attract, Motion Engages, Gameplay Addicts
    XP Pro | P4 2.8Ghz | 2Gb | 80Gb,40Gb | 128Mb DDR ATI Radeon 9800 Pro

  8. #8
    formerly hooligan2001 :) .hooligan's Avatar
    Join Date
    Mar 2008
    Posts
    405
    Wow that's impressive. Great job.
    World Arcade | Facebook | Twitter - Follow MEEEE! or not......

  9. #9
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,378
    After half a dozen play-throughs I got a larger sized orphan asteroid that killed me because it wouldn't take damage. :/

    EDIT: New HS -> 2490
    Last edited by ImprisonedPride; 06-08-2009 at 09:27 PM.
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  10. #10
    Senior Member
    Join Date
    Jan 2008
    Location
    UK
    Posts
    269
    Cool. Internally generated sounds in Flash? How is that achieved?

  11. #11
    Senior Member Sietjp's Avatar
    Join Date
    Jan 2005
    Location
    Paris, France
    Posts
    711
    Superb.

  12. #12
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    If you want to generate dynamic sounds, you could also find interesting these links about mod players in Flash and MML Flash player.

  13. #13
    Untitled-1.fla strille's Avatar
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    1,626
    Thanks for the feedback guys.

    Alluvian: Thanks for reporting the crash, I'll take a look and see if it happens for me in IE7. I've only tested it in Firefox thus far.

    PhobiK: Yes, shooting with space is probably more intuitive. I can at least add more detailed instructions on the page.

    ImprisonedPride: Good job! About the indestructible asteroid: I call that a "feature" :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center