diff --git a/js/CCreditsPanel.js b/js/CCreditsPanel.js index 4f4df50..40a1799 100644 --- a/js/CCreditsPanel.js +++ b/js/CCreditsPanel.js @@ -35,16 +35,17 @@ function CCreditsPanel() { createjs.Ease.quartIn, ); - var iWidth = 500; + var iWidth = 600; var iHeight = 100; var iX = 0; var iY = -oSprite.height / 2 + 110; const widthShift = iWidth - 100; + const ruleFont = 25; new CTLText( _oPanelContainer, - iX - iWidth / 2, - iY - iHeight, + iX - iWidth / 2.05, + iY - iHeight / 2 + 30, widthShift, iHeight, 40, @@ -55,90 +56,91 @@ function CCreditsPanel() { 2, 2, TEXT_DEVELOPED, - true, - true, false, + true, false, - ); + false + ).setStroke(10, "#000"); new CTLText( _oPanelContainer, iX - iWidth / 2, - iY + 50, + iY - iHeight / 2 + 100, widthShift, iHeight, - 30, + ruleFont, "left", "#fff", PRIMARY_FONT, 1, 2, 2, - "• Completa la carrera con tu mejor\n tiempo", + "1. Completa la carrera con tu mejor tiempo", false, true, false, - false, - ); + false + ).setStroke(10, "#000"); new CTLText( _oPanelContainer, iX - iWidth / 2, - iY + 120, + iY - iHeight / 2 + 170, widthShift, iHeight, - 30, + ruleFont, "left", "#fff", PRIMARY_FONT, 1, 2, 2, - "• Ingresa tu número de teléfono para\n guardar el resultado", + "2. Ingresa tu número de teléfono para\n guardar el resultado", false, true, false, - false, - ); + false + ).setStroke(10, "#000"); + new CTLText( _oPanelContainer, iX - iWidth / 2, - iY + 190, + iY - iHeight / 2 + 240, widthShift, iHeight, - 30, + ruleFont, "left", "#fff", PRIMARY_FONT, 1, 2, 2, - "• Solicita tu tarjeta Plata si aún no la\n tienes. Necesitas ser cliente Plata para\n participar", + "3. Solicita tu tarjeta Plata si aún no la\n tienes. Necesitas ser cliente Plata para\n participar", false, true, false, - false, - ); + false + ).setStroke(10, "#000"); new CTLText( _oPanelContainer, iX - iWidth / 2, - iY + 290, + iY - iHeight / 2 + 320, widthShift, iHeight, - 30, + ruleFont, "left", "#fff", PRIMARY_FONT, 1, 2, 2, - "• Sé uno de los 10 mejores de todos los\n corredores para ganar boletos", + "4. Sé uno de los 10 mejores de todos los\n corredores para ganar boletos", false, true, false, - false, - ); + false + ).setStroke(10, "#000"); // new CTLText( // _oPanelContainer, diff --git a/js/CMenu.js b/js/CMenu.js index 5631204..f39a54b 100644 --- a/js/CMenu.js +++ b/js/CMenu.js @@ -24,15 +24,15 @@ function CMenu() { _oBg = createBitmap(oSprite); _oBg.x = CANVAS_WIDTH / 2; _oBg.y = CANVAS_HEIGHT / 2; - _oBg.regX = oSprite.width / 2.15; - _oBg.regY = oSprite.height / 2; - _oBg.scale = 1.75; + _oBg.regX = oSprite.width / 2; + _oBg.regY = oSprite.height / 2.15; + _oBg.scale = 1.7; s_oStage.addChild(_oBg); var oSprite = s_oSpriteLibrary.getSprite("logo_menu"); _oLogo = createBitmap(oSprite); _oLogo.regX = oSprite.width / 2; - _oLogo.regY = oSprite.height / 2; + _oLogo.regY = oSprite.height / 2 + 100; _oLogo.x = CANVAS_WIDTH / 2; _oLogo.y = CANVAS_HEIGHT / 2 - 350; _oLogo.scale = 0.6; diff --git a/js/lib/CGfxButton.js b/js/lib/CGfxButton.js index fad5f38..bba303e 100644 --- a/js/lib/CGfxButton.js +++ b/js/lib/CGfxButton.js @@ -20,7 +20,7 @@ function CGfxButton(iXPos,iYPos,oSprite, oParentContainer){ _bDisabled = false; _bScalable = true; - _iScaleFactor = 1.2; + _iScaleFactor = 1; _aCbCompleted=new Array(); _aCbOwner =new Array(); diff --git a/sprites/bg_menu.jpg b/sprites/bg_menu.jpg deleted file mode 100644 index 516770b..0000000 Binary files a/sprites/bg_menu.jpg and /dev/null differ diff --git a/sprites/bg_menu.webp b/sprites/bg_menu.webp index 6cc3778..fe5a00f 100644 Binary files a/sprites/bg_menu.webp and b/sprites/bg_menu.webp differ diff --git a/sprites/logo_menu.png b/sprites/logo_menu.png deleted file mode 100644 index 731f159..0000000 Binary files a/sprites/logo_menu.png and /dev/null differ diff --git a/sprites/logo_menu.webp b/sprites/logo_menu.webp index ae27833..56b0d72 100644 Binary files a/sprites/logo_menu.webp and b/sprites/logo_menu.webp differ