Go to file
2025-03-03 07:48:22 +06: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
shaders kolliziya dobavlena 2025-03-02 19:19:15 +06:00
sounds added lighter and scale 2025-03-03 05:12:28 +06:00
textures adding battery to the lamp 2025-03-03 04:53:37 +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 removing object if added to inventory 2025-03-03 02:53:43 +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 Working with music 2025-03-02 18:11:29 +03:00
AudioPlayerAsync.h Added loading 2025-03-02 18:53:27 +03:00
background.bmp Reduce size of bundle 2023-12-03 22:29:29 +03:00
base_Base_color_1001.bmp unworked logic for lamp 2025-03-03 05:34:48 +06:00
battery_dialog.bmp not worked battery dialog windows 2025-03-03 07:13:31 +06:00
bird.bmp32 Reduce size of bundle 2023-12-03 22:29:29 +03:00
BoneAnimatedModel.cpp fffff 2025-03-02 21:29:33 +03:00
BoneAnimatedModel.h fffff 2025-03-02 21:29:33 +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
BoundaryBox.h Move collision box and model to the room itself 2025-03-02 19:58:38 +03:00
car.txt added collision for second room for basement entering 2025-03-03 03:56:18 +06: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
cube001.txt added one cube in first room 2025-03-03 01:41:36 +06:00
cubic_icon2.bmp32 added one cube in first room 2025-03-03 01:41:36 +06: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
door.txt added 3 room and button to move to next rom 2025-03-03 07:33:19 +06:00
Environment.cpp Added monster 2025-03-02 22:44:12 +03:00
Environment.h Added monster 2025-03-02 22:44:12 +03:00
final_dialog.bmp dialogs 2025-03-03 06:49:02 +06:00
game_over.bmp32 Reduce size of bundle 2023-12-03 22:29:29 +03:00
Game.cpp Added loading 2025-03-02 18:53:27 +03:00
Game.h Change mouse logic 2025-03-02 12:13:04 +03:00
GameObjectManager.cpp added some objects in 3 room 2025-03-03 07:48:22 +06:00
GameObjectManager.h trying to make battery dialog 2025-03-03 07:22:03 +06: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
idleviola008.txt fffff 2025-03-02 21:29:33 +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
lighter.txt added lighter and scale 2025-03-03 05:12:28 +06:00
loading.bmp Added loading 2025-03-02 18:53:27 +03:00
lock.txt added 3 room and button to move to next rom 2025-03-03 07:33:19 +06:00
main.cpp Fixing animation bugs 2025-03-01 19:44:15 +03:00
Material_Base_color_1001_4.bmp added all cubes for first room 2025-03-03 02:48:39 +06:00
Material_Base_color_1001-_2_.bmp added one cube in first room 2025-03-03 01:41:36 +06:00
Material_Base_color_1001-_3.bmp added all cubes for first room 2025-03-03 02:48:39 +06:00
Material_Base_color_1001.bmp added file texture 2025-03-02 18:52:29 +03:00
Material.001_Base_color_1001_5.bmp added collision for second room for car toy 2025-03-03 04:07:20 +06: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
monster001.bmp32 Added monster 2025-03-02 22:44:12 +03:00
monster002.bmp32 Added monster 2025-03-02 22:44:12 +03:00
next_dialog.bmp added dialog screen 2025-03-03 06:28:24 +06: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
oneroom001.txt added file texture 2025-03-02 18:52:29 +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
photo.bmp trying to make battery dialog 2025-03-03 07:22:03 +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 script if name uncorrect 2025-03-03 03:47:59 +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 trying to make battery dialog 2025-03-03 07:22:03 +06:00
RenderSystem.h prepared to integrate dialog 2025-03-03 05:51:14 +06:00
Room.h added second room, fix bugs 2025-03-02 21:51:29 +03:00
secondroom001.txt added second room, fix bugs 2025-03-02 21:51:29 +03:00
seconroom.bmp added second room, fix bugs 2025-03-02 21:51:29 +03: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_dialog.bmp not worked battery dialog windows 2025-03-03 07:13:31 +06:00
start.sh Music to separated thread 2025-03-02 16:54:20 +03:00
temno.bmp added lighter and scale 2025-03-03 05:12:28 +06: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
thirdroom.txt added 3 room and button to move to next rom 2025-03-03 06:52:20 +06: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
walkviola008.txt fffff 2025-03-02 21:29:33 +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 Windows Release settings 2025-03-03 03:45:07 +03:00
ZeptoLabTest1.vcxproj.filters working with collisions 2025-03-02 19:32:10 +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