Пропустить навигацию
Make a game in C. No engine needed.
0:00 / 0:58

Make a game in C. No engine needed.

Prabhjot Singh Lamba

@PrabhjotSL1,7 тыс. подписчиков

Открыть в X
2 051 отметка «Нравится»СкачатьОригинальный пост

293 261 просмотр

Make a game in C. No engine needed. 100,000 particles at 300+ fps.

51 комментарий

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля NFTmachine 🤖

    @boobs_scary

    that's not a game.

    33 отметки «Нравится»

  • Фото профиля Prabhjot Singh Lamba

    @PrabhjotSL

    It is. Particles are people you need to save, green zone is the safe zone before the world auto destructs due to nuclear explosion, you have 60 secs to save atleast 50% of the population.

    75 отметок «Нравится»

  • Фото профиля Daniel Moore

    @dizlexic

    yeah, that doesn't really look like a game at all. looks like you wrote a physics demo.

    30 отметок «Нравится»

  • Фото профиля Prabhjot Singh Lamba

    @PrabhjotSL

    It has rules, objective, conflict, time pressure, win and loose condition, input and player agency. And is very fun to play and challenging even though it's not a game of the year.

    28 отметок «Нравится»

  • Фото профиля Torvid

    @Torvid21

    or just offload it to the GPU and do millions of particles at similar frame rates x>

    16 отметок «Нравится»

  • Фото профиля Prabhjot Singh Lamba

    @PrabhjotSL

    Nice! Looks like cotton candy.

    3 отметки «Нравится»

  • Фото профиля Torvid

    @Torvid21

    surprisingly simple, every update each particle is moved so it's 4 pixels away from the next on in the list. (in like 512 long strands or so)

    2 отметки «Нравится»

  • Фото профиля Sos "Buy Lazy Kickers" Sosowski

    @Sosowski

    You could easily 100x those numbers

    11 отметок «Нравится»

  • Фото профиля Prabhjot Singh Lamba

    @PrabhjotSL

    Will increase and see what happens.

    5 отметок «Нравится»

  • Фото профиля Sos "Buy Lazy Kickers" Sosowski

    @Sosowski

    If you don’t do particle-particle interactions you could pump this all the way until you clog the bandwidth.

    2 отметки «Нравится»

  • Фото профиля bonzaj/plastic

    @bonzajplc

    @PrabhjotSL Particle without interactions and especially collisions when given some radius are super boring. 300k with collisions are doable on cpu

    1 отметка «Нравится»

  • Фото профиля Sos "Buy Lazy Kickers" Sosowski

    @Sosowski

    @PrabhjotSL Id do a density map instead of doing one-on-one interactions tho

    1 отметка «Нравится»

  • Фото профиля Crayz

    @CrayzNotCrazy

    So happy this is catching on. Building from scratch means every decision, quirk, bug, and result is unique to the developer and their creative workflow, games are better this way.

    6 отметок «Нравится»

  • Фото профиля robot 2.0

    @alightinastorm

    bro did you just farm me 😭😭😭

    3 отметки «Нравится»

  • Фото профиля Prabhjot Singh Lamba

    @PrabhjotSL

    I made this in C to see what can be done with minimal dependencies. You quoted godot vs unity tweet with threejs, I took it one step further, no need for even threejs. I have no interest in farming, don't even have a blue tick account.

    9 отметок «Нравится»

  • Фото профиля Three.js

    @threejs

    @alightinastorm The logical next step would have been JavaScript though.

    2 отметки «Нравится»

  • Фото профиля Prabhjot Singh Lamba

    @PrabhjotSL

    @alightinastorm Skipped a few steps to save time 🙂

    1 отметка «Нравится»

  • Фото профиля Three.js

    @threejs

    @alightinastorm Where can we play your game? 🙏

  • Фото профиля Prabhjot Singh Lamba

    @PrabhjotSL

    @alightinastorm Works on any operating system that a browser runs on 🙇🏻‍♂️

    1 отметка «Нравится»

  • Фото профиля Three.js

    @threejs

    @alightinastorm Live link please.

    1 отметка «Нравится»