Welcome to Virtual Pet List

Wanting to the biggest Virtual Pet forum on then net? Feel free to sign up today.

Sign Up to VPL
  1. join a spooky virtual pet game!An upcoming virtual pet site that's owned by one of our moderators, Pepper-head If you're a fan of cats and breeding them, then this sim game is designed just for you Kaylune is open on Sept. 4th
    Check out Icepets!

    Find New Virtual Pet Sites, Sim Games or Role Playing games to Play.
    Other Websites that we own: VirtualPetsBlog - The Admin Effect

Flash vs HTML5

Discussion in 'Programming General' started by Dart, Jun 27, 2012.

  1. Dart

    Dart JRPG Fanatic
    VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,027
    Likes Received:
    103
    Trophy Points:
    0
    Gender:
    Male
    Frame Rate: 60 FPS
    Stage Size: 500x400
    HTML5 Type: Canvas
    Flash Type: FP11 + Starling

    Stay tuned.
     
    Your banner/button can be located here for an entire month or year, please see our advertising on virtualpetlist thread for more information.
  2. tldr

    tldr Superb Member
    VPL Member

    Joined:
    Jun 12, 2011
    Messages:
    709
    Likes Received:
    54
    Trophy Points:
    0
    Lol, I use a Mac, so HTML5 always wins for me.
     
  3. SpottyWolf

    SpottyWolf Official Derp Wolf
    Approved VPL Artist VPL Member

    Joined:
    Apr 10, 2012
    Messages:
    483
    Likes Received:
    64
    Trophy Points:
    413
    Gender:
    Female
    Location:
    In yer' head.... Ok, you got me, Ohio
    I hate flash..... Can't use flash on my ipod. HTML5 is much better anyhoo!
     
  4. cpvr

    cpvr Owner and Founder
    Administrator VPL Member

    Joined:
    Jan 20, 2011
    Messages:
    32,172
    Likes Received:
    1,725
    Trophy Points:
    1,077
    Gender:
    Male
    Location:
    Texas
    Showcase Items:
    105
    Can't watch flash movies on my iPhone 4, so basically, I stick with html5. And are you going to be comparing the two, such as, which one is better? Which is easier to learn? ETC
     
  5. Dart

    Dart JRPG Fanatic
    VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,027
    Likes Received:
    103
    Trophy Points:
    0
    Gender:
    Male
    Here is the flash version. A new ball is created each frame, and is bounced until it reaches the left side of the screen. It requires flash player 11.

    http://images.alleypets.com/demo.html

    On my laptop, it runs almost perfectly at 60 frames per second. I don't know how it will work on mac.

    I will attempt to create a canvas version soon.

    This is a speed test, however I must say that flash is easier to learn than HTML5.
     
  6. tldr

    tldr Superb Member
    VPL Member

    Joined:
    Jun 12, 2011
    Messages:
    709
    Likes Received:
    54
    Trophy Points:
    0
    [​IMG]
    Dx

    At least it runs at 60fps...

    2.7ghz processor, 512mb dedicated ram video card nvida something, 4gb of ram and 256gb ssd. it's insane how awful flash is for os x.
     
  7. Dart

    Dart JRPG Fanatic
    VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,027
    Likes Received:
    103
    Trophy Points:
    0
    Gender:
    Male
    That's weird, memory is about 30% for me.

    I hate to admit it, but regular flash probably would have crashed your mac.

    The real purpose of this demo was to test Starling (an ActionScript 3.0 framework). A less extreme example (such as a regular game) would probably run fine on your computer.

    I am hard-pressed, however, to think about how canvas could run better.

    Note: This is my first time developing using starling.
     

Share This Page