diff --git a/plataformas/Debug/plataformas.exe.recipe b/plataformas/Debug/plataformas.exe.recipe index ce2d8b2..9fefe7c 100644 --- a/plataformas/Debug/plataformas.exe.recipe +++ b/plataformas/Debug/plataformas.exe.recipe @@ -2,7 +2,7 @@ - C:\Users\uo276406\Desktop\plataformas\Debug\plataformas.exe + C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\Debug\plataformas.exe diff --git a/plataformas/Debug/plataformas.ilk b/plataformas/Debug/plataformas.ilk index 5a0d44d..c0bf5bf 100644 Binary files a/plataformas/Debug/plataformas.ilk and b/plataformas/Debug/plataformas.ilk differ diff --git a/plataformas/Debug/plataformas.log b/plataformas/Debug/plataformas.log index 8a6b707..84cec5b 100644 --- a/plataformas/Debug/plataformas.log +++ b/plataformas/Debug/plataformas.log @@ -1,101 +1,30 @@ C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(513,5): warning MSB8028: El directorio intermedio (Debug\) contiene archivos compartidos de otro proyecto (NavesL4.vcxproj). Esto puede dar lugar a un comportamiento incorrecto de limpieza y recompilación. - Actor.cpp -C:\Users\uo276406\Desktop\plataformas\plataformas\Actor.cpp(13,12): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Actor.cpp(14,12): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Actor.cpp(33,32): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos - Animation.cpp -C:\Users\uo276406\Desktop\plataformas\plataformas\Animation.cpp(11,21): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Animation.cpp(12,22): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Animation.cpp(13,20): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Animation.cpp(14,21): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Animation.cpp(29,13): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Animation.cpp(30,13): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Animation.cpp(54,26): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Animation.cpp(62,20): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Animation.cpp(63,20): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos - Background.cpp -C:\Users\uo276406\Desktop\plataformas\plataformas\Background.cpp(19,9): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos - Enemy.cpp -C:\Users\uo276406\Desktop\plataformas\plataformas\Enemy.cpp(8,57): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Enemy.cpp(8,50): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Enemy.cpp(11,63): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Enemy.cpp(11,56): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Enemy.cpp(65,31): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos - Game.cpp -C:\Users\uo276406\Desktop\plataformas\plataformas\Audio.h(6,10): warning C4067: símbolos (token) inesperados después de la directiva del preprocesador; se esperaba una nueva línea -C:\Users\uo276406\Desktop\plataformas\plataformas\Game.cpp(68,56): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Game.cpp(68,35): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos GameLayer.cpp -C:\Users\uo276406\Desktop\plataformas\plataformas\Audio.h(6,10): warning C4067: símbolos (token) inesperados después de la directiva del preprocesador; se esperaba una nueva línea -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(14,95): warning C4305: 'argumento': truncamiento de 'double' a 'float' -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(24,66): warning C4305: 'argumento': truncamiento de 'double' a 'float' -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(55,13): warning C4244: 'inicializando': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(56,13): warning C4244: 'inicializando': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(164,35): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(164,26): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(167,39): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(170,43): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(170,34): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(173,42): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(173,33): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(180,51): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(180,42): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(181,39): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(193,43): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(193,34): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(196,42): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(196,33): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(203,35): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(203,26): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(209,43): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(209,34): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(212,42): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(212,33): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(332,24): warning C4244: '=': conversión de 'double' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\GameLayer.cpp(339,24): warning C4244: '=': conversión de 'double' a 'float'; posible pérdida de datos - Layer.cpp - Main.cpp - MenuLayer.cpp -C:\Users\uo276406\Desktop\plataformas\plataformas\MenuLayer.cpp(91,38): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\MenuLayer.cpp(91,29): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos - Pad.cpp - Player.cpp -C:\Users\uo276406\Desktop\plataformas\plataformas\Audio.h(6,10): warning C4067: símbolos (token) inesperados después de la directiva del preprocesador; se esperaba una nueva línea -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(11,10): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(11,3): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(13,10): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(13,3): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(16,10): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(16,3): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(18,10): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(18,3): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(19,68): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(19,61): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(21,69): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(21,62): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(23,76): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(23,69): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(25,77): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(25,70): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(27,77): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(27,70): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(137,46): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(137,43): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(150,32): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Player.cpp(154,33): warning C4244: 'argumento': conversión de 'int' a 'float'; posible pérdida de datos - Projectile.cpp - Space.cpp -C:\Users\uo276406\Desktop\plataformas\plataformas\Space.cpp(32,30): warning C4244: 'inicializando': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Space.cpp(62,26): warning C4244: '=': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Space.cpp(69,30): warning C4244: 'inicializando': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Space.cpp(101,26): warning C4244: '=': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Space.cpp(108,30): warning C4244: 'inicializando': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Space.cpp(140,26): warning C4244: '=': conversión de 'int' a 'float'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Space.cpp(148,30): warning C4244: 'inicializando': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Space.cpp(181,26): warning C4244: '=': conversión de 'int' a 'float'; posible pérdida de datos - Text.cpp -C:\Users\uo276406\Desktop\plataformas\plataformas\Text.cpp(5,12): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos -C:\Users\uo276406\Desktop\plataformas\plataformas\Text.cpp(6,12): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos - Tile.cpp - Generando código... - plataformas.vcxproj -> C:\Users\uo276406\Desktop\plataformas\Debug\plataformas.exe +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\Audio.h(6,10): warning C4067: símbolos (token) inesperados después de la directiva del preprocesador; se esperaba una nueva línea +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(14,95): warning C4305: 'argumento': truncamiento de 'double' a 'float' +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(24,66): warning C4305: 'argumento': truncamiento de 'double' a 'float' +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(55,13): warning C4244: 'inicializando': conversión de 'int' a 'float'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(56,13): warning C4244: 'inicializando': conversión de 'int' a 'float'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(164,35): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(164,26): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(167,39): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(170,43): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(170,34): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(173,42): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(173,33): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(180,51): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(180,42): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(181,39): warning C4244: '=': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(193,43): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(193,34): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(196,42): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(196,33): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(203,35): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(203,26): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(209,43): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(209,34): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(212,42): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(212,33): warning C4244: 'argumento': conversión de 'float' a 'int'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(343,24): warning C4244: '=': conversión de 'double' a 'float'; posible pérdida de datos +C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\plataformas\GameLayer.cpp(350,24): warning C4244: '=': conversión de 'double' a 'float'; posible pérdida de datos + plataformas.vcxproj -> C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\Debug\plataformas.exe diff --git a/plataformas/Debug/plataformas.tlog/CL.command.1.tlog b/plataformas/Debug/plataformas.tlog/CL.command.1.tlog index c1710cf..c7cebb0 100644 Binary files a/plataformas/Debug/plataformas.tlog/CL.command.1.tlog and b/plataformas/Debug/plataformas.tlog/CL.command.1.tlog differ diff --git a/plataformas/Debug/plataformas.tlog/CL.read.1.tlog b/plataformas/Debug/plataformas.tlog/CL.read.1.tlog index b333d1b..d49f5e2 100644 Binary files a/plataformas/Debug/plataformas.tlog/CL.read.1.tlog and b/plataformas/Debug/plataformas.tlog/CL.read.1.tlog differ diff --git a/plataformas/Debug/plataformas.tlog/CL.write.1.tlog b/plataformas/Debug/plataformas.tlog/CL.write.1.tlog index f28b9dd..d8a8087 100644 Binary files a/plataformas/Debug/plataformas.tlog/CL.write.1.tlog and b/plataformas/Debug/plataformas.tlog/CL.write.1.tlog differ diff --git a/plataformas/Debug/plataformas.tlog/link.command.1.tlog b/plataformas/Debug/plataformas.tlog/link.command.1.tlog index 264d685..030fe66 100644 Binary files a/plataformas/Debug/plataformas.tlog/link.command.1.tlog and b/plataformas/Debug/plataformas.tlog/link.command.1.tlog differ diff --git a/plataformas/Debug/plataformas.tlog/link.read.1.tlog b/plataformas/Debug/plataformas.tlog/link.read.1.tlog index 7c6cc84..112d207 100644 Binary files a/plataformas/Debug/plataformas.tlog/link.read.1.tlog and b/plataformas/Debug/plataformas.tlog/link.read.1.tlog differ diff --git a/plataformas/Debug/plataformas.tlog/link.write.1.tlog b/plataformas/Debug/plataformas.tlog/link.write.1.tlog index b2861c1..aaffd8f 100644 Binary files a/plataformas/Debug/plataformas.tlog/link.write.1.tlog and b/plataformas/Debug/plataformas.tlog/link.write.1.tlog differ diff --git a/plataformas/Debug/plataformas.tlog/plataformas.lastbuildstate b/plataformas/Debug/plataformas.tlog/plataformas.lastbuildstate index 17fbf59..36ade33 100644 --- a/plataformas/Debug/plataformas.tlog/plataformas.lastbuildstate +++ b/plataformas/Debug/plataformas.tlog/plataformas.lastbuildstate @@ -1,2 +1,2 @@ -PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.29.30037:TargetPlatformVersion=10.0.19041.0: -Debug|Win32|C:\Users\uo276406\Desktop\plataformas\| +PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.29.30133:TargetPlatformVersion=10.0.18362.0: +Debug|Win32|C:\Users\diego\OneDrive\Escritorio\SEV\plataformas\| diff --git a/plataformas/Debug/vc142.idb b/plataformas/Debug/vc142.idb index 986880b..f3bb6d2 100644 Binary files a/plataformas/Debug/vc142.idb and b/plataformas/Debug/vc142.idb differ diff --git a/plataformas/Debug/vc142.pdb b/plataformas/Debug/vc142.pdb index afbb491..8d2b53f 100644 Binary files a/plataformas/Debug/vc142.pdb and b/plataformas/Debug/vc142.pdb differ diff --git a/plataformas/GameLayer.cpp b/plataformas/GameLayer.cpp index 5d6a618..3ae189e 100644 --- a/plataformas/GameLayer.cpp +++ b/plataformas/GameLayer.cpp @@ -245,10 +245,24 @@ void GameLayer::update() { } - // Colisiones for (auto const& enemy : enemies) { - if (player->isOverlap(enemy)) { - player->loseLife(); + + if (player->vy > 0 && player->y < enemy->y + && player->isOverlap(enemy) + && player->lifes > 0 && enemy->state != game->stateDead) { + + enemy->impacted(); + player->lifes++; + player->invulnerableTime = 0; + points++; + textPoints->content = to_string(points); + player->onAir = false; + player->jump(); + } + + if (player->isOverlap(enemy) && enemy->state != game->stateDead) { + player->loseLife(); + if (player->lifes <= 0) { init(); return; @@ -256,7 +270,6 @@ void GameLayer::update() { } } - // Colisiones , Enemy - Projectile list deleteEnemies; list deleteProjectiles; @@ -273,7 +286,8 @@ void GameLayer::update() { } } - + // Colisiones , Enemy - Projectile + // Player(saltando) - enemy for (auto const& enemy : enemies) { for (auto const& projectile : projectiles) {