Working on new character
This commit is contained in:
parent
80af0e61ae
commit
1eee415b41
@ -43,26 +43,18 @@
|
|||||||
{
|
{
|
||||||
"id": "npc_alik",
|
"id": "npc_alik",
|
||||||
"name": "Алик",
|
"name": "Алик",
|
||||||
"animationIdlePath": "resources/w/jam/man_stand_idle002.anim",
|
"animationIdlePath": "resources/w/boy/boy_stand001.txt",
|
||||||
"animationWalkPath": "resources/w/jam/man_walk002.anim",
|
"animationWalkPath": "resources/w/boy/boy_walk001.txt",
|
||||||
"meshTextures": {
|
"meshTextures": {
|
||||||
"Body": "resources/w/jam/male_packed0_diffuse.png",
|
"Char01": "resources/w/boy/texture_pbr_20250901_1.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"
|
|
||||||
},
|
},
|
||||||
"positionX": -6.33478,
|
"positionX": -6.33478,
|
||||||
"positionY": 0.0,
|
"positionY": 0.0,
|
||||||
"positionZ": -15.0382,
|
"positionZ": -15.0382,
|
||||||
"facingAngle" : 180,
|
"facingAngle" : 90,
|
||||||
"walkSpeed": 1.5,
|
"walkSpeed": 1.7,
|
||||||
"rotationSpeed": 8.0,
|
"rotationSpeed": 8.0,
|
||||||
"modelScale": 0.0001,
|
"modelScale": 0.016,
|
||||||
"modelCorrectionRotX": 0.0,
|
"modelCorrectionRotX": 0.0,
|
||||||
"modelCorrectionRotY": 180.0,
|
"modelCorrectionRotY": 180.0,
|
||||||
"modelCorrectionRotZ": 0.0,
|
"modelCorrectionRotZ": 0.0,
|
||||||
|
|||||||
104274
resources/w/boy/boy_stand001.txt
Normal file
104274
resources/w/boy/boy_stand001.txt
Normal file
File diff suppressed because it is too large
Load Diff
93333
resources/w/boy/boy_walk001.txt
Normal file
93333
resources/w/boy/boy_walk001.txt
Normal file
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
BIN
resources/w/boy/texture_pbr_20250901_1.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -730,10 +730,11 @@ namespace ZL
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SDLK_k:
|
case SDLK_k:
|
||||||
y = y + 1;
|
//y = y + 1;
|
||||||
std::cout << "current y: " << y << std::endl;
|
//std::cout << "current y: " << y << std::endl;
|
||||||
//y = y - 0.002;
|
//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;
|
//currentLocation->npcs[0]->walkSpeed -= 0.01f;
|
||||||
//std::cout << "Walk speed: " << currentLocation->npcs[0]->walkSpeed << std::endl;
|
//std::cout << "Walk speed: " << currentLocation->npcs[0]->walkSpeed << std::endl;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -7,6 +7,7 @@
|
|||||||
#include <array>
|
#include <array>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|
||||||
namespace ZL
|
namespace ZL
|
||||||
{
|
{
|
||||||
extern float x;
|
extern float x;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user