Working on new character

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

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

BIN
resources/w/boy/texture_pbr_20250901_1.png (Stored with Git LFS) Normal file

Binary file not shown.

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;

View File

@ -7,6 +7,7 @@
#include <array>
#include <cmath>
namespace ZL
{
extern float x;