正在加载视频...

视频加载失败

I built a simple C++ game engine: - ECS (Sprite, Velocity, Animation, Script) - Frame-based animations via JSON - Lua scripting for entity behavior - ImGui inspector + asset browser - SDL2 rendering w/ flipping - Drag-and-drop support for assets

52,366 次观看 • 1 年前 •via X (Twitter)

10 条评论

Lennzer 的头像
Lennzer1 年前

Dude, that's so cool! I've been setting up basics down for something like this. BTW I'm not entirely sure but splitting sprite sheets by using pixel dimensions would let you index them out - saw it in another post.

Basketo 的头像
Basketo1 年前

Yeah, that’s actually how i’m handling animations, using fixed pixel dimensions to split the sprite sheet. It works, but honestly, it gets pretty tedious without a proper editor to preview and grab coordinates.

Juveria | Onchain Lens 的头像
Juveria | Onchain Lens1 年前

cool 🔥

Basketo 的头像
Basketo1 年前

tnx 🫰

Hojiwak 的头像
Hojiwak1 年前

👏👏👏👏 papa tchlalek berta bro adis neger entebkalen bekrb 💪

Basketo 的头像
Basketo1 年前

@hojiwaq84514 awo gd new. mokralew esti🫡

P4R4NO1D73 的头像
P4R4NO1D731 年前

awesome

Basketo 的头像
Basketo1 年前

🫡

Antônio Ivo da Silva Gomes 的头像
Antônio Ivo da Silva Gomes1 年前

Awesome, man. Do you have some advice to someone who is trying to make something like this with pure C?! 😅

Basketo 的头像
Basketo1 年前

Well 😁 1st thing is to avoid oop like trap, don't try to fake classes and inheritance and you will have fast engine core. and also keep it modular from the start otherwise it's gonna get ugly.

相关视频