├── .gitignore ├── .idea ├── .gitignore ├── codeStyles │ └── codeStyleConfig.xml ├── misc.xml ├── modules.xml ├── smb.iml └── vcs.xml ├── CMakeLists.txt ├── README.md ├── assets ├── font.ttf ├── music │ ├── background.wav │ ├── blockbreak.wav │ ├── blockhit.wav │ ├── coin.wav │ ├── death.wav │ ├── jump.wav │ ├── levelend.wav │ ├── mushroomappear.wav │ ├── mushroomeat.wav │ ├── oneup.wav │ ├── overworld.wav │ ├── shrink.wav │ └── stomp.wav ├── tileset.png └── world1-1 ├── cmake ├── FindSDL2.cmake ├── FindSDL2_image.cmake ├── FindSDL2_mixer.cmake └── FindSDL2_ttf.cmake ├── include ├── AABB.h ├── Components.h ├── Constants.h ├── Game.h ├── SoundManger.h ├── TextureManager.h ├── TileType.h ├── ecs │ └── ecs.h ├── scenes │ ├── EditorScene.h │ ├── GameScene.h │ ├── IntroScene.h │ └── Scene.h └── systems │ ├── AnimationSystem.h │ ├── CallbackSystem.h │ ├── EditorSystem.h │ ├── EnemySystem.h │ ├── FlagSystem.h │ ├── MapSystem.h │ ├── PhysicsSystem.h │ ├── PlayerSystem.h │ ├── RenderSystem.h │ ├── ScoreSystem.h │ ├── SoundSystem.h │ └── TileSystem.h ├── maplayout ├── readme ├── editor build.gif ├── editor tiles.gif ├── editor.png ├── game.png └── loading.png ├── src ├── AABB.cpp ├── Game.cpp ├── Main.cpp ├── SoundManager.cpp ├── TextureManager.cpp ├── scenes │ ├── EditorScene.cpp │ ├── GameScene.cpp │ └── IntroScene.cpp └── systems │ ├── AnimationSystem.cpp │ ├── CallbackSystem.cpp │ ├── EditorSystem.cpp │ ├── EnemySystem.cpp │ ├── FlagSystem.cpp │ ├── MapSystem.cpp │ ├── PhysicsSystem.cpp │ ├── PlayerSystem.cpp │ ├── RenderSystem.cpp │ ├── ScoreSystem.cpp │ ├── SoundSystem.cpp │ └── TileSystem.cpp └── vendor └── glad ├── KHR └── khrplatform.h ├── glad.c └── glad.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/smb.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/.idea/smb.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/README.md -------------------------------------------------------------------------------- /assets/font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/font.ttf -------------------------------------------------------------------------------- /assets/music/background.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/background.wav -------------------------------------------------------------------------------- /assets/music/blockbreak.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/blockbreak.wav -------------------------------------------------------------------------------- /assets/music/blockhit.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/blockhit.wav -------------------------------------------------------------------------------- /assets/music/coin.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/coin.wav -------------------------------------------------------------------------------- /assets/music/death.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/death.wav -------------------------------------------------------------------------------- /assets/music/jump.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/jump.wav -------------------------------------------------------------------------------- /assets/music/levelend.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/levelend.wav -------------------------------------------------------------------------------- /assets/music/mushroomappear.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/mushroomappear.wav -------------------------------------------------------------------------------- /assets/music/mushroomeat.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/mushroomeat.wav -------------------------------------------------------------------------------- /assets/music/oneup.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/oneup.wav -------------------------------------------------------------------------------- /assets/music/overworld.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/overworld.wav -------------------------------------------------------------------------------- /assets/music/shrink.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/shrink.wav -------------------------------------------------------------------------------- /assets/music/stomp.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/music/stomp.wav -------------------------------------------------------------------------------- /assets/tileset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/tileset.png -------------------------------------------------------------------------------- /assets/world1-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/assets/world1-1 -------------------------------------------------------------------------------- /cmake/FindSDL2.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/cmake/FindSDL2.cmake -------------------------------------------------------------------------------- /cmake/FindSDL2_image.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/cmake/FindSDL2_image.cmake -------------------------------------------------------------------------------- /cmake/FindSDL2_mixer.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/cmake/FindSDL2_mixer.cmake -------------------------------------------------------------------------------- /cmake/FindSDL2_ttf.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/cmake/FindSDL2_ttf.cmake -------------------------------------------------------------------------------- /include/AABB.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/AABB.h -------------------------------------------------------------------------------- /include/Components.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/Components.h -------------------------------------------------------------------------------- /include/Constants.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/Constants.h -------------------------------------------------------------------------------- /include/Game.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/Game.h -------------------------------------------------------------------------------- /include/SoundManger.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/SoundManger.h -------------------------------------------------------------------------------- /include/TextureManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/TextureManager.h -------------------------------------------------------------------------------- /include/TileType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/TileType.h -------------------------------------------------------------------------------- /include/ecs/ecs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/ecs/ecs.h -------------------------------------------------------------------------------- /include/scenes/EditorScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/scenes/EditorScene.h -------------------------------------------------------------------------------- /include/scenes/GameScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/scenes/GameScene.h -------------------------------------------------------------------------------- /include/scenes/IntroScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/scenes/IntroScene.h -------------------------------------------------------------------------------- /include/scenes/Scene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/scenes/Scene.h -------------------------------------------------------------------------------- /include/systems/AnimationSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/AnimationSystem.h -------------------------------------------------------------------------------- /include/systems/CallbackSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/CallbackSystem.h -------------------------------------------------------------------------------- /include/systems/EditorSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/EditorSystem.h -------------------------------------------------------------------------------- /include/systems/EnemySystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/EnemySystem.h -------------------------------------------------------------------------------- /include/systems/FlagSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/FlagSystem.h -------------------------------------------------------------------------------- /include/systems/MapSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/MapSystem.h -------------------------------------------------------------------------------- /include/systems/PhysicsSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/PhysicsSystem.h -------------------------------------------------------------------------------- /include/systems/PlayerSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/PlayerSystem.h -------------------------------------------------------------------------------- /include/systems/RenderSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/RenderSystem.h -------------------------------------------------------------------------------- /include/systems/ScoreSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/ScoreSystem.h -------------------------------------------------------------------------------- /include/systems/SoundSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/SoundSystem.h -------------------------------------------------------------------------------- /include/systems/TileSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/include/systems/TileSystem.h -------------------------------------------------------------------------------- /maplayout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/maplayout -------------------------------------------------------------------------------- /readme/editor build.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/readme/editor build.gif -------------------------------------------------------------------------------- /readme/editor tiles.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/readme/editor tiles.gif -------------------------------------------------------------------------------- /readme/editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/readme/editor.png -------------------------------------------------------------------------------- /readme/game.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/readme/game.png -------------------------------------------------------------------------------- /readme/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/readme/loading.png -------------------------------------------------------------------------------- /src/AABB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/AABB.cpp -------------------------------------------------------------------------------- /src/Game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/Game.cpp -------------------------------------------------------------------------------- /src/Main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/Main.cpp -------------------------------------------------------------------------------- /src/SoundManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/SoundManager.cpp -------------------------------------------------------------------------------- /src/TextureManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/TextureManager.cpp -------------------------------------------------------------------------------- /src/scenes/EditorScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/scenes/EditorScene.cpp -------------------------------------------------------------------------------- /src/scenes/GameScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/scenes/GameScene.cpp -------------------------------------------------------------------------------- /src/scenes/IntroScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/scenes/IntroScene.cpp -------------------------------------------------------------------------------- /src/systems/AnimationSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/AnimationSystem.cpp -------------------------------------------------------------------------------- /src/systems/CallbackSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/CallbackSystem.cpp -------------------------------------------------------------------------------- /src/systems/EditorSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/EditorSystem.cpp -------------------------------------------------------------------------------- /src/systems/EnemySystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/EnemySystem.cpp -------------------------------------------------------------------------------- /src/systems/FlagSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/FlagSystem.cpp -------------------------------------------------------------------------------- /src/systems/MapSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/MapSystem.cpp -------------------------------------------------------------------------------- /src/systems/PhysicsSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/PhysicsSystem.cpp -------------------------------------------------------------------------------- /src/systems/PlayerSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/PlayerSystem.cpp -------------------------------------------------------------------------------- /src/systems/RenderSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/RenderSystem.cpp -------------------------------------------------------------------------------- /src/systems/ScoreSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/ScoreSystem.cpp -------------------------------------------------------------------------------- /src/systems/SoundSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/SoundSystem.cpp -------------------------------------------------------------------------------- /src/systems/TileSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/src/systems/TileSystem.cpp -------------------------------------------------------------------------------- /vendor/glad/KHR/khrplatform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/vendor/glad/KHR/khrplatform.h -------------------------------------------------------------------------------- /vendor/glad/glad.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/vendor/glad/glad.c -------------------------------------------------------------------------------- /vendor/glad/glad.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feresr/super-mario-bros/HEAD/vendor/glad/glad.h --------------------------------------------------------------------------------