Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von Lennzer
Lennzervor 1 Jahr

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.

Profilbild von Basketo
Basketovor 1 Jahr

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.

Profilbild von Juveria | Onchain Lens
Juveria | Onchain Lensvor 1 Jahr

cool 🔥

Profilbild von Basketo
Basketovor 1 Jahr

tnx 🫰

Profilbild von Hojiwak
Hojiwakvor 1 Jahr

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

Profilbild von Basketo
Basketovor 1 Jahr

@hojiwaq84514 awo gd new. mokralew esti🫡

Profilbild von P4R4NO1D73
P4R4NO1D73vor 1 Jahr

awesome

Profilbild von Basketo
Basketovor 1 Jahr

🫡

Profilbild von Antônio Ivo da Silva Gomes
Antônio Ivo da Silva Gomesvor 1 Jahr

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

Profilbild von Basketo
Basketovor 1 Jahr

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.

Ähnliche Videos