axmol/samples/TestJavascript/Resources/js/PerformanceTest/testResource.js

323 lines
13 KiB
JavaScript
Raw Normal View History

var s_pathGrossini = "Images/grossini.png";
var s_pathSister1 = "Images/grossinis_sister1.png";
var s_pathSister2 = "Images/grossinis_sister2.png";
var s_pathB1 = "Images/b1.png";
var s_pathB2 = "Images/b2.png";
var s_pathR1 = "Images/r1.png";
var s_pathR2 = "Images/r2.png";
var s_pathF1 = "Images/f1.png";
var s_pathF2 = "Images/f2.png";
var s_pathBlock = "Images/blocks.png";
var s_back = "Images/background.png";
var s_back1 = "Images/background1.png";
var s_back2 = "Images/background2.png";
var s_back3 = "Images/background3.png";
var s_stars1 = "Images/stars.png";
var s_stars2 = "Images/stars2.png";
var s_fire = "Images/fire.png";
var s_snow = "Images/snow.png";
var s_streak = "Images/streak.png";
var s_playNormal = "Images/btn-play-normal.png";
var s_playSelect = "Images/btn-play-selected.png";
var s_aboutNormal = "Images/btn-about-normal.png";
var s_aboutSelect = "Images/btn-about-selected.png";
var s_highNormal = "Images/btn-highscores-normal.png";
var s_highSelect = "Images/btn-highscores-selected.png";
var s_ball = "Images/ball.png";
var s_paddle = "Images/paddle.png";
var s_pathClose = "Images/close.png";
var s_menuItem = "Images/menuitemsprite.png";
var s_shapeModeMenuItem = "Images/shapemode.png";
var s_textureModeMenuItem = "Images/texturemode.png";
var s_MovementMenuItem = "Images/movement.png";
var s_sendScore = "Images/SendScoreButton.png";
var s_pressSendScore = "Images/SendScoreButtonPressed.png";
var s_power = "Images/powered.png";
var s_atlasTest = "Images/atlastest.png";
var s_stars2Grayscale = "Images/stars2-grayscale.png";
var s_starsGrayscale = "Images/stars-grayscale.png";
var s_grossini_dance_atlas = "Images/grossini_dance_atlas.png";
var s_piece = "Images/piece.png";
var s_grossini_dance_atlas_mono = "Images/grossini_dance_atlas-mono.png";
var s_grossini = "animations/grossini.png";
var s_grossini_gray = "animations/grossini_gray.png";
var s_grossini_blue = "animations/grossini_blue.png";
var s_grossini_aliases = "animations/grossini-aliases.png";
var s_dragon_animation = "animations/dragon_animation.png";
var s_ghosts = "animations/ghosts.png";
var s_grossini_family = "animations/grossini_family.png";
var s_boilingFoamPlist = "Images/BoilingFoam.plist";
var s_grossiniPlist = "animations/grossini.plist";
var s_grossini_grayPlist = "animations/grossini_gray.plist";
var s_grossini_bluePlist = "animations/grossini_blue.plist";
var s_grossini_aliasesPlist = "animations/grossini-aliases.plist";
var s_ghostsPlist = "animations/ghosts.plist";
var s_grossini_familyPlist = "animations/grossini_family.plist";
var s_animations2Plist = "animations/animations-2.plist";
var s_animationsPlist = "animations/animations.plist";
var s_helloWorld = "Images/HelloWorld.png";
var s_grossiniDance01 = "Images/grossini_dance_01.png";
var s_grossiniDance02 = "Images/grossini_dance_02.png";
var s_grossiniDance03 = "Images/grossini_dance_03.png";
var s_grossiniDance04 = "Images/grossini_dance_04.png";
var s_grossiniDance05 = "Images/grossini_dance_05.png";
var s_grossiniDance06 = "Images/grossini_dance_06.png";
var s_grossiniDance07 = "Images/grossini_dance_07.png";
var s_grossiniDance08 = "Images/grossini_dance_08.png";
var s_grossiniDance09 = "Images/grossini_dance_09.png";
var s_grossiniDance10 = "Images/grossini_dance_10.png";
var s_grossiniDance11 = "Images/grossini_dance_11.png";
var s_grossiniDance12 = "Images/grossini_dance_12.png";
var s_grossiniDance13 = "Images/grossini_dance_13.png";
var s_grossiniDance14 = "Images/grossini_dance_14.png";
var s_arrows = "Images/arrows.png";
var s_arrowsBar = "Images/arrowsBar.png";
var s_arrows_hd = "Images/arrows-hd.png";
var s_arrowsBar_hd = "Images/arrowsBar-hd.png";
// tilemaps resource
var s_tilesPng = "TileMaps/tiles.png";
var s_levelMapTga = "TileMaps/levelmap.tga";
var s_fixedOrthoTest2Png = "TileMaps/fixed-ortho-test2.png";
var s_hexaTilesPng = "TileMaps/hexa-tiles.png";
var s_isoTestPng = "TileMaps/iso-test.png";
var s_isoTest2Png = "TileMaps/iso-test2.png";
var s_isoPng = "TileMaps/iso.png";
var s_orthoTest1BwPng = "TileMaps/ortho-test1_bw.png";
var s_orthoTest1Png = "TileMaps/ortho-test1.png";
var s_tilesHdPng = "TileMaps/tiles-hd.png";
var s_tmwDesertSpacingHdPng = "TileMaps/tmw_desert_spacing-hd.png";
var s_tmwDesertSpacingPng = "TileMaps/tmw_desert_spacing.png";
var s_fnTuffyBoldItalicCharmapPng = "fonts/tuffy_bold_italic-charmap.png";
var s_fpsImages = "fonts/fps_images.png";
var s_bitmapFontTest = "fonts/bitmapFontTest.png";
var s_bitmapFontTest2 = "fonts/bitmapFontTest2.png";
var s_bitmapFontTest3 = "fonts/bitmapFontTest3.png";
var s_bitmapFontTest4 = "fonts/bitmapFontTest4.png";
var s_bitmapFontTest5 = "fonts/bitmapFontTest5.png";
var s_konqa32 = "fonts/konqa32.png";
var s_konqa32_hd = "fonts/konqa32-hd.png";
var s_bitmapFontChinese = "fonts/bitmapFontChinese.png";
var s_arial16 = "fonts/arial16.png";
var s_larabie_16 = "fonts/larabie-16.png";
var s_larabie_16_hd = "fonts/larabie-16-hd.png";
var s_futura48 = "fonts/futura-48.png";
var s_arial_unicode_26 = "fonts/arial-unicode-26.png";
var s_bitmapFontTest_fnt = "fonts/bitmapFontTest.fnt";
var s_bitmapFontTest2_fnt = "fonts/bitmapFontTest2.fnt";
var s_bitmapFontTest3_fnt = "fonts/bitmapFontTest3.fnt";
var s_bitmapFontTest4_fnt = "fonts/bitmapFontTest4.fnt";
var s_bitmapFontTest5_fnt = "fonts/bitmapFontTest5.fnt";
var s_konqa32_fnt = "fonts/konqa32.fnt";
var s_konqa32_hd_fnt = "fonts/konqa32-hd.fnt";
var s_bitmapFontChinese_fnt = "fonts/bitmapFontChinese.fnt";
var s_arial16_fnt = "fonts/arial16.fnt";
var s_futura48_fnt = "fonts/futura-48.fnt";
var s_helvetica32_fnt = "fonts/helvetica-32.fnt";
var s_geneva32_fnt = "fonts/geneva-32.fnt";
var s_arial_unicode_26_fnt = "fonts/arial-unicode-26.fnt";
var s_markerFelt_fnt = "fonts/markerFelt.fnt";
var s_markerFelt_hd_fnt = "fonts/markerFelt-hd.fnt";
var s_larabie_16_plist = "fonts/larabie-16.plist";
var s_larabie_16_hd_plist = "fonts/larabie-16-hd.plist";
var s_tuffy_bold_italic_charmap = "fonts/tuffy_bold_italic-charmap.plist";
var s_tuffy_bold_italic_charmap_hd = "fonts/tuffy_bold_italic-charmap-hd.plist";
var s_particles = "Images/particles.png";
var s_particles_hd = "Images/particles-hd.png";
var g_ressources = [
//image ressources
{type:"image", src:s_particles},
{type:"image", src:s_particles_hd},
{type:"image", src:s_pathGrossini},
{type:"image", src:s_fnTuffyBoldItalicCharmapPng},
{type:"image", src:s_fpsImages},
{type:"image", src:s_pathSister1},
{type:"image", src:s_pathSister2},
{type:"image", src:s_pathB1},
{type:"image", src:s_pathB2},
{type:"image", src:s_pathR1},
{type:"image", src:s_pathR2},
{type:"image", src:s_pathF1},
{type:"image", src:s_pathF2},
{type:"image", src:s_pathBlock},
{type:"image", src:s_back},
{type:"image", src:s_back1},
{type:"image", src:s_back2},
{type:"image", src:s_back3},
{type:"image", src:s_stars1},
{type:"image", src:s_stars2},
{type:"image", src:s_fire},
{type:"image", src:s_snow},
{type:"image", src:s_playNormal},
{type:"image", src:s_playSelect},
{type:"image", src:s_aboutNormal},
{type:"image", src:s_aboutSelect},
{type:"image", src:s_highNormal},
{type:"image", src:s_highSelect},
{type:"image", src:s_ball},
{type:"image", src:s_paddle},
{type:"image", src:s_pathClose},
{type:"image", src:s_menuItem},
{type:"image", src:s_shapeModeMenuItem},
{type:"image", src:s_textureModeMenuItem},
{type:"image", src:s_MovementMenuItem},
{type:"image", src:s_sendScore},
{type:"image", src:s_pressSendScore},
{type:"image", src:s_power},
{type:"image", src:s_atlasTest},
{type:"image", src:s_tilesPng},
{type:"image", src:s_streak},
{type:"image", src:s_starsGrayscale},
{type:"image", src:s_stars2Grayscale},
{type:"image", src:s_piece},
{type:"image", src:s_grossini_dance_atlas_mono},
{type:"image", src:s_fixedOrthoTest2Png},
{type:"image", src:s_hexaTilesPng},
{type:"image", src:s_isoTestPng},
{type:"image", src:s_isoTest2Png},
{type:"image", src:s_isoPng},
{type:"image", src:s_orthoTest1BwPng},
{type:"image", src:s_orthoTest1Png},
{type:"image", src:s_tilesHdPng},
{type:"image", src:s_tmwDesertSpacingHdPng},
{type:"image", src:s_tmwDesertSpacingPng},
{type:"image", src:s_grossini},
{type:"image", src:s_grossini_gray},
{type:"image", src:s_grossini_blue},
{type:"image", src:s_grossini_dance_atlas},
{type:"image", src:s_grossini_aliases},
{type:"image", src:s_dragon_animation},
{type:"image", src:s_ghosts},
{type:"image", src:s_grossini_family},
{type:"image", src:s_helloWorld},
{type:"image", src:s_grossiniDance01},
{type:"image", src:s_grossiniDance02},
{type:"image", src:s_grossiniDance03},
{type:"image", src:s_grossiniDance04},
{type:"image", src:s_grossiniDance05},
{type:"image", src:s_grossiniDance06},
{type:"image", src:s_grossiniDance07},
{type:"image", src:s_grossiniDance08},
{type:"image", src:s_grossiniDance09},
{type:"image", src:s_grossiniDance10},
{type:"image", src:s_grossiniDance11},
{type:"image", src:s_grossiniDance12},
{type:"image", src:s_grossiniDance13},
{type:"image", src:s_grossiniDance14},
{type:"image", src:s_bitmapFontTest},
{type:"image", src:s_bitmapFontTest2},
{type:"image", src:s_bitmapFontTest3},
{type:"image", src:s_bitmapFontTest4},
{type:"image", src:s_bitmapFontTest5},
{type:"image", src:s_konqa32},
{type:"image", src:s_konqa32_hd},
{type:"image", src:s_bitmapFontChinese},
{type:"image", src:s_arial16},
{type:"image", src:s_larabie_16},
{type:"image", src:s_larabie_16_hd},
{type:"image", src:s_futura48},
{type:"image", src:s_arial_unicode_26},
{type:"image", src:s_arrows},
{type:"image", src:s_arrowsBar},
{type:"image", src:s_arrows_hd},
{type:"image", src:s_arrowsBar_hd},
{type:"plist", src:s_boilingFoamPlist},
{type:"plist", src:s_animations2Plist},
{type:"plist", src:s_animationsPlist},
{type:"plist", src:s_grossiniPlist},
{type:"plist", src:s_grossini_grayPlist},
{type:"plist", src:s_grossini_bluePlist},
{type:"plist", src:s_grossini_aliasesPlist},
{type:"plist", src:s_ghostsPlist},
{type:"plist", src:s_grossini_familyPlist},
{type:"plist", src:s_larabie_16_plist},
{type:"plist", src:s_larabie_16_hd_plist},
{type:"plist", src:s_tuffy_bold_italic_charmap},
{type:"plist", src:s_tuffy_bold_italic_charmap_hd},
//tmx ressources
{type:"tmx", src:"TileMaps/orthogonal-test1.tmx"},
{type:"tmx", src:"TileMaps/orthogonal-test1.tsx"},
{type:"tmx", src:"TileMaps/orthogonal-test2.tmx"},
{type:"tmx", src:"TileMaps/orthogonal-test3.tmx"},
{type:"tmx", src:"TileMaps/orthogonal-test4.tmx"},
{type:"tmx", src:"TileMaps/orthogonal-test4-hd.tmx"},
{type:"tmx", src:"TileMaps/orthogonal-test5.tmx"},
{type:"tmx", src:"TileMaps/orthogonal-test6.tmx"},
{type:"tmx", src:"TileMaps/orthogonal-test6-hd.tmx"},
{type:"tmx", src:"TileMaps/hexa-test.tmx"},
{type:"tmx", src:"TileMaps/iso-test.tmx"},
{type:"tmx", src:"TileMaps/iso-test1.tmx"},
{type:"tmx", src:"TileMaps/iso-test2.tmx"},
{type:"tmx", src:"TileMaps/iso-test2-uncompressed.tmx"},
{type:"tmx", src:"TileMaps/ortho-objects.tmx"},
{type:"tmx", src:"TileMaps/iso-test-objectgroup.tmx"},
{type:"tmx", src:"TileMaps/iso-test-zorder.tmx"},
{type:"tmx", src:"TileMaps/orthogonal-test-zorder.tmx"},
{type:"tmx", src:"TileMaps/iso-test-vertexz.tmx"},
{type:"tmx", src:"TileMaps/orthogonal-test-vertexz.tmx"},
{type:"tmx", src:"TileMaps/iso-test-movelayer.tmx"},
{type:"tmx", src:"TileMaps/orthogonal-test-movelayer.tmx"},
{type:"tmx", src:"TileMaps/iso-test-bug787.tmx"},
{type:"tmx", src:"TileMaps/test-object-layer.tmx"},
{type:"tmx", src:"TileMaps/ortho-tile-property.tmx"},
{type:"tmx", src:"TileMaps/ortho-rotation-test.tmx"},
//audio ressources
{type:"bgm", src:"background"},
{type:"effect", src:"effect2"},
//tga ressources
{type:"tga", src:s_levelMapTga},
//fnt ressources
{type:"fnt", src:s_bitmapFontTest_fnt},
{type:"fnt", src:s_bitmapFontTest2_fnt},
{type:"fnt", src:s_bitmapFontTest3_fnt},
{type:"fnt", src:s_bitmapFontTest4_fnt},
{type:"fnt", src:s_bitmapFontTest5_fnt},
{type:"fnt", src:s_konqa32_fnt},
{type:"fnt", src:s_konqa32_hd_fnt},
{type:"fnt", src:s_bitmapFontChinese_fnt},
{type:"fnt", src:s_arial16_fnt},
{type:"fnt", src:s_futura48_fnt},
{type:"fnt", src:s_helvetica32_fnt},
{type:"fnt", src:s_geneva32_fnt},
{type:"fnt", src:s_arial_unicode_26_fnt},
{type:"fnt", src:s_markerFelt_fnt},
{type:"fnt", src:s_markerFelt_hd_fnt},
{type:"plist", src:"fonts/strings.xml"},
{type:"plist", src:"Particles/BoilingFoam.plist"},
{type:"plist", src:"Particles/BurstPipe.plist"},
{type:"plist", src:"Particles/Comet.plist"},
{type:"plist", src:"Particles/debian.plist"},
{type:"plist", src:"Particles/ExplodingRing.plist"},
{type:"plist", src:"Particles/Flower.plist"},
{type:"plist", src:"Particles/Galaxy.plist"},
{type:"plist", src:"Particles/LavaFlow.plist"},
{type:"plist", src:"Particles/Phoenix.plist"},
{type:"plist", src:"Particles/SmallSun.plist"},
{type:"plist", src:"Particles/SpinningPeas.plist"},
{type:"plist", src:"Particles/Spiral.plist"},
{type:"plist", src:"Particles/SpookyPeas.plist"},
{type:"plist", src:"Particles/TestPremultipliedAlpha.plist"},
{type:"plist", src:"Particles/Upsidedown.plist"}
];