A Flash Developer Resource Site

Page 1 of 2 12 LastLast
Results 1 to 20 of 24

Thread: Game dev related F8 Discoveries

  1. #1
    Yes we can tomsamson's Avatar
    Join Date
    Sep 2001
    Location
    Team Titan Secret Lair
    Posts
    4,666

    Game dev related F8 Discoveries

    Mates, we will surely discover many wicked things in flash8 useful for game development, so i´m turning this into the F8 discoveries sticky for now.
    That way this should become the knowledgebase linkcentral for F8.
    Hope you like this =)

    General Knowledge:
    How the Garbage Collector works in Flash8 Player (keep in mind to tailor stuff in a way to gain more performance/less memorry hogging)
    the stand alone flash player has a "Show redraw regions" option right-click
    (good to check when optimizing for performance)
    Scrollrect
    Explanation and small sample

    Handy Doodads:
    Hiding password in image
    copyPixel animation & accessorizing

    Effects:
    Waterglas effect
    bitmap particles
    Leaving trails with bitmapData

    Text Handling:
    measuring height and width of dynamic text using getColorBoundsRect (by tonypa)
    improved text handling options in F8

    Matrix transformations:
    Explanation and examples for Transformation Matrix

    Scrolling engines:
    scrollrect Scroller
    CopyPixels Scroller
    copyPixels+scrollrect Scroller

    Collision detection:
    Shape based Collision detection
    destroy ground (can be used in so many game scenarios,thumbs up )

    If you have a sample for a new topic please create a new thread and put [Flash8] in the title so i can add it to the sticky and its obvious for f8 users there´s something new to try =)


    /*Message originally posted by WilloughbyJackson,turned into sticky by tomsamson*/
    Last edited by tomsamson; 09-25-2005 at 05:30 AM.

  2. #2
    Filthy Gorgeous DancingOctopus's Avatar
    Join Date
    Sep 2003
    Location
    Sunny Australia.
    Posts
    478
    Quote Originally Posted by tomsamson
    Oh man oh man oh man. I can't wait to hook in and try that with THIS engine.

  3. #3
    Razor
    Join Date
    Aug 2002
    Location
    Canada
    Posts
    721
    You probably all know this and its not really game related but it sort of is, open the about panel and click the dot on the i of macromedia and theres a whole bunch of games to play.

  4. #4
    Custom User Title Incrue's Avatar
    Join Date
    Feb 2004
    Posts
    973
    Hey ihoss look at this!!!!!!!!!!!!!
    http://www.senocular.com/pub/flash/8...removechannels
    Holy Thing...Senocular is my personal GOD...

  5. #5
    SaphuA SaphuA's Avatar
    Join Date
    Oct 2002
    Location
    The Netherlands
    Posts
    2,182
    Here's two of my own experiements..

    The waterglass effect, originaly made by Willoughby, I only optimized it:
    http://www.drewsrestaurant.com/saphu...r%20Shake.html
    http://www.drewsrestaurant.com/saphu...er%20Shake.fla

    Water trail effect, pretty much originated from the above test:
    http://www.drewsrestaurant.com/saphu...r%20Trail.html
    http://www.drewsrestaurant.com/saphu...er%20Trail.fla

  6. #6

  7. #7
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    FlashGuru has released article "How to Increase the Frame Rates of Your Flash Movies"
    http://mxdj.sys-con.com/read/142694.htm
    It explains in depth Bitmap Caching, bitmapdata and scrollrect.

  8. #8
    2D/3D Artist & Programmer Dominicaninja's Avatar
    Join Date
    Jun 2005
    Location
    NY
    Posts
    157

    Controller Support?

    Any idea if Flash 8 supports joystick / control pad? I would love that. Especially for games that require lots of different keys.

  9. #9
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    Quote Originally Posted by Dominicaninja
    Any idea if Flash 8 supports joystick / control pad? I would love that. Especially for games that require lots of different keys.
    It does not support joystick/pad.

  10. #10
    Hype over content... Squize's Avatar
    Join Date
    Apr 2001
    Location
    Lost forever in a happy crowd...
    Posts
    5,926
    copyPixel is quicker than draw.

    Avoid using transparent backgrounds when creating your bitmap if you can, has a large impact ( CPU wise ).

    I guess there'll be more of these little mini tips from me to come

    Squize.

  11. #11
    Senior Member Ray Beez's Avatar
    Join Date
    Jun 2000
    Posts
    2,793
    Saphua,
    If you're going to post demos and experiments, at least leave them online.

  12. #12
    Senior Member
    Join Date
    May 2005
    Posts
    223
    Quote Originally Posted by chuckury
    You probably all know this and its not really game related but it sort of is, open the about panel and click the dot on the i of macromedia and theres a whole bunch of games to play.

    Hey, were can I find the .fla of these games?? Shouldnt they be on my comp? I want to remake some of them. Well, I want to try and remake some of them . . . =)

  13. #13
    Yes we can tomsamson's Avatar
    Join Date
    Sep 2001
    Location
    Team Titan Secret Lair
    Posts
    4,666
    no,the game flas aren´t on your comp. Neither are game.swfs already on your comp when you install flash. the game.swfs are downloaded only once you press the right place to unlock the easter egg games.

  14. #14
    Senior Member
    Join Date
    May 2005
    Posts
    223
    ok

  15. #15
    Custom User Title Incrue's Avatar
    Join Date
    Feb 2004
    Posts
    973
    http://www.gotoandlearn.com/
    select a tutorial: creating alpha masks, bitmapData, filters and more
    Cant belive i didnt found this before

  16. #16
    Quote Originally Posted by tonypa
    FlashGuru has released article "How to Increase the Frame Rates of Your Flash Movies"
    http://mxdj.sys-con.com/read/142694.htm
    It explains in depth Bitmap Caching, bitmapdata and scrollrect.
    this article was cool but i couldnt get the last figure to work (the scrolling /blurring of the text)

    any ideas?

    i know there was a couple things he miss labeled so they werent blocked out. but still no go
    FuzzGtp

  17. #17
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,834
    You probably all know this and its not really game related but it sort of is, open the about panel and click the dot on the i of macromedia and theres a whole bunch of games to play.
    I think that that is hilarious, that a professional program would have games built in like that. How in the world did you figure that out?
    .

  18. #18
    Patron Saint of Beatings WilloughbyJackson's Avatar
    Join Date
    Nov 2000
    Location
    Ro-cha-cha-cha, New York
    Posts
    1,988
    [EDIT]

    Thanks Tom. (Sorry for the mix up Swak...)

    Anyhow.. To keep on topic, I will be posting an example of scored earth coding...
    Last edited by WilloughbyJackson; 04-06-2006 at 10:40 AM.

  19. #19
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,834
    Me? I was asking a serious question. Besides with spam it's repeatedly sending the exact same message to an excess.
    .

  20. #20
    Yes we can tomsamson's Avatar
    Join Date
    Sep 2001
    Location
    Team Titan Secret Lair
    Posts
    4,666
    i think Will was talking about some already deleted posts..
    On your post: Actually many professional apps have games built in. Just google for easter egg [appname]

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