Go to file
2025-03-02 16:54:20 +03:00
.vscode working code 2025-03-02 17:01:40 +06:00
cmakeaudioplayer music changing 2025-03-02 02:07:26 +06:00
gl Upload to github 2021-06-30 20:31:14 +05:00
model Loading MD3 and now we need to place models properly 2025-02-23 21:24:15 +03:00
sounds Music to separated thread 2025-03-02 16:54:20 +03:00
textures added first room 2025-03-02 15:33:45 +06:00
ZeptoLabTestBin Switch to use SDL 2023-12-03 21:10:02 +03:00
.gitignore hotkesy for items 2025-03-02 17:33:30 +06:00
aaaa linuc 2025-03-01 11:44:31 +06:00
ActiveObject.h update rendering aictive objects as unordered_map 2025-03-02 13:40:12 +06:00
AnimatedModel.h Loading MD3 and now we need to place models properly 2025-02-23 21:24:15 +03:00
aoscreen01.bmp missing textures 2025-03-01 14:39:23 +03:00
AudioPlayerAsync.cpp Music to separated thread 2025-03-02 16:54:20 +03:00
AudioPlayerAsync.h Music to separated thread 2025-03-02 16:54:20 +03:00
background.bmp Reduce size of bundle 2023-12-03 22:29:29 +03:00
bird.bmp32 Reduce size of bundle 2023-12-03 22:29:29 +03:00
BoneAnimatedModel.cpp Merge branch 'salmon' into pavel 2025-03-02 13:47:25 +06:00
BoneAnimatedModel.h Fixing animation bugs 2025-03-01 19:44:15 +03:00
book03.bmp Adding active objects 2025-03-01 14:09:28 +03:00
book001.txt Adding active objects 2025-03-01 14:09:28 +03:00
chair_01_Base_Color.png Adding models 2025-02-22 22:03:29 +03:00
chair_01.obj Adding models 2025-02-22 22:03:29 +03:00
cone001.txt Working with scene and projection 2025-03-01 13:13:58 +03:00
conus.bmp Working with scene and projection 2025-03-01 13:13:58 +03:00
default.fragment linuc 2025-03-01 11:44:31 +06:00
default.vertex linuc 2025-03-01 11:44:31 +06:00
defaultColor.fragment linuc 2025-03-01 11:44:31 +06:00
defaultColor.vertex Added color cube rotating in 3d 2025-02-22 20:58:34 +03:00
defaultHideCam.fragment fff 2025-03-02 15:46:53 +03:00
defaultHideCam.vertex Make hole 2025-03-02 14:33:54 +03:00
Environment.cpp fixing hole bugs, merge 2025-03-02 14:51:24 +03:00
Environment.h Change mouse logic 2025-03-02 12:13:04 +03:00
game_over.bmp32 Reduce size of bundle 2023-12-03 22:29:29 +03:00
Game.cpp Make hole 2025-03-02 14:33:54 +03:00
Game.h Change mouse logic 2025-03-02 12:13:04 +03:00
GameObjectManager.cpp Music to separated thread 2025-03-02 16:54:20 +03:00
GameObjectManager.h Music to separated thread 2025-03-02 16:54:20 +03:00
GameWorld.cpp starting refactoring main.cpp 2025-03-01 19:18:42 +06:00
GameWorld.h merge 2025-03-01 20:14:56 +03:00
idleviola001.txt missing file added 2025-03-02 08:23:47 +03:00
idleviola002.txt Finally animation 2025-03-02 07:37:51 +03:00
InputManager.cpp starting refactoring main.cpp 2025-03-01 19:18:42 +06:00
InputManager.h merge 2025-03-01 20:14:56 +03:00
Inventory.cpp Music to separated thread 2025-03-02 16:54:20 +03:00
Inventory.h Music to separated thread 2025-03-02 16:54:20 +03:00
jumpingbird.data Reduce size of bundle 2023-12-03 22:29:29 +03:00
jumpingbird.html Reduce size of bundle 2023-12-03 22:29:29 +03:00
jumpingbird.js Reduce size of bundle 2023-12-03 22:29:29 +03:00
jumpingbird.wasm Fixing bug 2023-12-03 22:39:08 +03:00
Kitchen_ceramics.bmp Working on model 2025-03-01 11:45:16 +03:00
main.cpp Fixing animation bugs 2025-03-01 19:44:15 +03:00
Math.cpp Fixing animation bugs 2025-03-01 19:44:15 +03:00
Math.h Fixing animation bugs 2025-03-01 19:44:15 +03:00
md3test.cpp Finally animation works 2025-03-01 01:39:19 +03:00
md3test.h Loading MD3 and now we need to place models properly 2025-02-23 21:24:15 +03:00
mesh001.txt Working on model 2025-03-01 11:45:16 +03:00
mesh_armature_and_animation_data02.txt added meshes with skeleton 2025-03-01 07:52:56 +03:00
mesh_armature_and_animation_data.txt added meshes with skeleton 2025-03-01 07:52:56 +03:00
ObjLoader.cpp linuc 2025-03-01 11:44:31 +06:00
ObjLoader.h Working with obj model format 2025-02-22 21:35:08 +03:00
OpenGlExtensions.cpp SDL compiling for Emscripten 2023-12-03 21:36:04 +03:00
OpenGlExtensions.h linux part 2025-03-01 11:12:22 +06:00
Physics.cpp linux part 2025-03-01 11:12:22 +06:00
Physics.h Upload to github 2021-06-30 20:31:14 +05:00
pipe.bmp32 Reduce size of bundle 2023-12-03 22:29:29 +03:00
py_script.py added first room 2025-03-02 15:33:45 +06:00
QuestScripts.cpp fixed freezing in second scene 2025-03-02 18:42:31 +06:00
QuestScripts.h fixed freezing in second scene 2025-03-02 18:42:31 +06:00
Readme.md added sounds by clicking on button and changed script to compile 2025-03-01 18:01:24 +06:00
Readme.md.save added first room 2025-03-02 15:33:45 +06:00
Renderer.cpp Merge branch 'salmon' of github.com:mephi1984/ZeptoLabTest1 into salmon 2025-03-02 14:34:11 +03:00
Renderer.h Merge branch 'salmon' of github.com:mephi1984/ZeptoLabTest1 into salmon 2025-03-02 14:34:11 +03:00
RenderSystem.cpp Music to separated thread 2025-03-02 16:54:20 +03:00
RenderSystem.h update rendering aictive objects as unordered_map 2025-03-02 13:40:12 +06:00
Room.h added game logic class and lambda function for room 2025-03-02 09:41:54 +06:00
ShaderManager.cpp linuc 2025-03-01 11:44:31 +06:00
ShaderManager.h Switch to use SDL 2023-12-03 21:10:02 +03:00
start.sh Music to separated thread 2025-03-02 16:54:20 +03:00
TextModel.cpp Working with scene and projection 2025-03-01 13:13:58 +03:00
TextModel.h Working on model 2025-03-01 11:45:16 +03:00
TextureManager.cpp Finally animation works 2025-03-01 01:39:19 +03:00
TextureManager.h Finally animation works 2025-03-01 01:39:19 +03:00
Utils.cpp linux part 2025-03-01 11:12:22 +06:00
Utils.h linux part 2025-03-01 11:12:22 +06:00
via004.txt Fixing animation bugs 2025-03-01 19:44:15 +03:00
walkviolla001.txt Adding walking animation, fixing minor bugs 2025-03-02 09:29:31 +03:00
ZeptoLabTest1.sln Upload to github 2021-06-30 20:31:14 +05:00
ZeptoLabTest1.vcxproj Music to separated thread 2025-03-02 16:54:20 +03:00
ZeptoLabTest1.vcxproj.filters Music to separated thread 2025-03-02 16:54:20 +03:00
ZeptoLabTest1.zip Upload to github 2021-06-30 20:31:14 +05:00

Script to run:

C:\Work\Projects\emsdk\emsdk.bat activate latest
C:\Work\Projects\emsdk\emsdk_env.bat
emcc main.cpp Game.cpp Math.cpp Physics.cpp Renderer.cpp ShaderManager.cpp TextureManager.cpp Utils.cpp OpenGlExtensions.cpp -O2 -std=c++14 -sTOTAL_MEMORY=33554432 -sUSE_SDL_IMAGE=2 -sSDL2_IMAGE_FORMATS="[""png""]" -sUSE_SDL=2 --preload-file background.bmp --preload-file bird.bmp32 --preload-file default.fragment --preload-file default.vertex --preload-file game_over.bmp32 --preload-file pipe.bmp32 -o jumpingbird.html


zlib-1.3.1:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=install ..

then run ALL_BUILD and INSTALL in Visual Studio

lpng1645:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=install -DZLIB_ROOT=C:\Work\Projects\zlib-1.3.1\build\install ..

then run ALL_BUILD and INSTALL in Visual Studio


https://github.com/Bly7/OBJ-Loader/blob/master/Source/OBJ_Loader.h

https://github.com/gametutorials/tutorials/blob/master/OpenGL/MD3%20Animation/Main.cpp

linux:

g++ Game.cpp main.cpp Math.cpp OpenGlExtensions.cpp Physics.cpp Renderer.cpp ShaderManager.cpp TextureManager.cpp Utils.cpp BoneAnimatedModel.cpp ObjLoader.cpp cmakeaudioplayer/src/AudioPlayer.cpp TextModel.cpp Inventory.cpp -o sdl_app -O2 -std=c++17 \
-I cmakeaudioplayer/include \
$(pkg-config --cflags --libs sdl2 gl) \
$(pkg-config --cflags --libs vorbis vorbisfile ogg) \
-lopenal