Loading video...

Video Failed to Load

Go Home

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 views • 1 year ago •via X (Twitter)

10 Comments

Lennzer's profile picture
Lennzer1 year ago

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's profile picture
Basketo1 year ago

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's profile picture
Juveria | Onchain Lens1 year ago

cool 🔥

Basketo's profile picture
Basketo1 year ago

tnx 🫰

Hojiwak's profile picture
Hojiwak1 year ago

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

Basketo's profile picture
Basketo1 year ago

@hojiwaq84514 awo gd new. mokralew esti🫡

P4R4NO1D73's profile picture
P4R4NO1D731 year ago

awesome

Basketo's profile picture
Basketo1 year ago

🫡

Antônio Ivo da Silva Gomes's profile picture
Antônio Ivo da Silva Gomes1 year ago

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

Basketo's profile picture
Basketo1 year ago

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.

Related Videos