kleskby

kleskby

User name
kleskby
Assigned title
 
Assigned post color
#66ff99
Avatar
Medals
 
Registration date
2023 July 14
Post count
20
Score
0 ₧
Location
0xDEAD
Signature
​ด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ปี้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้
Timezone
UTC
Groups
 

Recent posts by kleskby

Recent posts by kleskby

2023 Nov 29 at 06:15 UTC
superjer in User Discussions
How are you doing?
2023 Nov 29 at 06:14 UTC
How to run Freshmap? in Hammer Mapping
Leave your discord info. I may do this
2023 Oct 2 at 14:16 UTC
tinyc.games bugs in if( while ) switch{ coding } ++
Do smth with spam bots on forum or I go play Peru's online casino
2023 Jul 29 at 12:05 UTC
tinyc.games bugs in if( while ) switch{ coding } ++
SuperJer said:
It looks like maybe you're using over-correcting collisions? Are you moving the player farther away from the wall than the collision point to avoid sticking and stuff?


It is a total mess. It either not pushing the controller or pushing it wrong. I don't really understand math behind it and I think I have an mistake in my friction logic.
https://github.com/KleskBY/COOM-Engine/blob/main/GameEngine/PlayerController.cpp
2023 Jul 27 at 04:37 UTC
tinyc.games bugs in if( while ) switch{ coding } ++
Sick vid

Relatively easy, but collision is still a problem
2023 Jul 18 at 23:03 UTC
tinyc.games bugs in if( while ) switch{ coding } ++
Games on windows should be compiled only using MSVC compiler. At average it is 5-15% faster.
The project that was before was working fine besides it was missing res and shader folder in project directory, x64 dlls, and also SDL.h
Idk why you had errors.

OBJ is the most basic model format that stores vertices, normals and faces as text. Designed 197X it is still in use and cad display almost anything. It is enough for level since you can storage entity info in object name

code

# cube.obj
#

g cube

v 0.0 0.0 0.0
v 0.0 0.0 1.0
v 0.0 1.0 0.0
v 0.0 1.0 1.0
v 1.0 0.0 0.0
v 1.0 0.0 1.0
v 1.0 1.0 0.0
v 1.0 1.0 1.0

vn 0.0 0.0 1.0
vn 0.0 0.0 -1.0
vn 0.0 1.0 0.0
vn 0.0 -1.0 0.0
vn 1.0 0.0 0.0
vn -1.0 0.0 0.0

f 1//2 7//2 5//2
f 1//2 3//2 7//2
f 1//6 4//6 3//6
f 1//6 2//6 4//6
f 3//3 8//3 7//3
f 3//3 4//3 8//3
f 5//5 7//5 8//5
f 5//5 8//5 6//5
f 1//4 5//4 6//4
f 1//4 6//4 2//4
f 2//1 6//1 8//1
f 2//1 8//1 4//1


You can generate collision from obj file or do it dynamically.
I was trying to make something like that using DirectXTK (https://github.com/microsoft/DirectXTK/wiki/Getting-Started/) I was able to load obj but matrix calculations made made me quit the idea of making my own engine
2023 Jul 18 at 15:09 UTC
tinyc.games bugs in if( while ) switch{ coding } ++
Can you make a game that will load .OBJ 3D model as level?
2023 Jul 18 at 14:53 UTC
tinyc.games bugs in if( while ) switch{ coding } ++
How are you doing btw?
2023 Jul 18 at 14:52 UTC
tinyc.games bugs in if( while ) switch{ coding } ++
It compiles just fine from them solution you provide if you do not add any other files. However it does not work when you run bat file and also game has no console window to report errors and stuff. That is why I started looking into it. Here is my fully fixed MSVC project with updated libraries and headers:
https://quake.by/files/projects/minecraft-blocko-game.zip

2023 Jul 16 at 00:34 UTC
tinyc.games bugs in if( while ) switch{ coding } ++
Damn, learn about headers you superjerk