Working on new character

This commit is contained in:
Vladislav Khorev committed 2026-05-27 18:14:21 +03:00
1 parent 80af0e61ae
commit 1eee415b41
6 files changed
+197621 -17

No files matched your search

+6 -14
View File
@@ -43,26 +43,18 @@
{
"id": "npc_alik",
"name": "Алик",
"animationIdlePath": "resources/w/jam/man_stand_idle002.anim",
"animationWalkPath": "resources/w/jam/man_walk002.anim",
"animationIdlePath": "resources/w/boy/boy_stand001.txt",
"animationWalkPath": "resources/w/boy/boy_walk001.txt",
"meshTextures": {
"Body": "resources/w/jam/male_packed0_diffuse.png",
"Bottoms": "resources/w/jam/male_packed1_diffuse.png",
"Eyelashes": "resources/w/jam/male_packed0_diffuse.png",
"Eyes": "resources/w/jam/male_packed0_diffuse.png",
"Eyewear": "resources/w/jam/male_packed0_diffuse.png",
"Gloves": "resources/w/jam/male_packed1_diffuse.png",
"Hair": "resources/w/jam/male_packed0_diffuse.png",
"Shoes": "resources/w/jam/male_packed1_diffuse.png",
"Tops": "resources/w/jam/male_packed2_diffuse.png"
"Char01": "resources/w/boy/texture_pbr_20250901_1.png"
},
"positionX": -6.33478,
"positionY": 0.0,
"positionZ": -15.0382,
"facingAngle" : 180,
"walkSpeed": 1.5,
"facingAngle" : 90,
"walkSpeed": 1.7,
"rotationSpeed": 8.0,
"modelScale": 0.0001,
"modelScale": 0.016,
"modelCorrectionRotX": 0.0,
"modelCorrectionRotY": 180.0,
"modelCorrectionRotZ": 0.0,
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.
+4 -3
View File
@@ -730,10 +730,11 @@ namespace ZL
break;
case SDLK_k:
y = y + 1;
std::cout << "current y: " << y << std::endl;
//y = y + 1;
//std::cout << "current y: " << y << std::endl;
//y = y - 0.002;
//std::cout << "Player pos: " << currentLocation->player->position.transpose() << std::endl;
std::cout << "Player pos: " << currentLocation->player->position.transpose() << std::endl;
//currentLocation->npcs[0]->walkSpeed -= 0.01f;
//std::cout << "Walk speed: " << currentLocation->npcs[0]->walkSpeed << std::endl;
break;
+1
View File
@@ -7,6 +7,7 @@
#include <array>
#include <cmath>
namespace ZL
{
extern float x;