77days - Tin sức khỏe cho cuộc sống thêm tốt hơn
  • Home
  • Công Nghệ
  • Ẩm Thực
  • Kinh Doanh
No Result
View All Result
  • Home
  • Công Nghệ
  • Ẩm Thực
  • Kinh Doanh
No Result
View All Result
77days - Tin sức khỏe cho cuộc sống thêm tốt hơn
No Result
View All Result
Home Game

Recreating Noita's Sand Simulation in C and OpenGL | Game Engineering

admin by admin
July 13, 2020
in Game
43
Recreating Noita's Sand Simulation in C and OpenGL | Game Engineering



Exploring and attempting to recreate Noita’s “Falling-Sand” Simulation from scratch using C and OpenGL.

Be sure to like and subscribe, you cool people. That way I can continue to make more vids
like this.

NOTE: There’s a typo @2:07. I wrote “bytes” when it should be “bits” for the gs_vec2, color_t, and b32 member variables for the particle struct. So the overall size should be *drastically* different (only 24 bytes in total). Sorry for the confusion!

00:00 – Introduction
00:33 – Gunslinger
00:58 – Research/Resources
01:13 – Cellular Automata
01:52 – Sand Algorithm
03:15 – Water
05:25 – Wood/Walls
05:53 – Fire
06:32 – Gunpowder/Salt/Lava/Oil/Acid
07:37 – Polish/UI/Drag-Drop Images
08:56 – Final Sand Sim Presentation / Exploding Pictures

Project source:

Gunslinger:

Discord:

Get Noita:

Get Powder Toy:

Music:
Blue Dot Sessions – Lakdeside Path:

Resources Used:
Nolla Games GDC:
Noita Gameplay Showcase –
Noita Technical Explanation –
Game Of Life:
Game Of LIfe:

Stuff To Read:

Special Thanks:
Guilherme Teres from Uniday Studio:

Everyone in my Discord channel. Thanks for hanging around and being awesome.

Nguồn: https://77days.net/

Xem thêm bài viết khác: https://77days.net/game/

Xem thêm Bài Viết:

  • Game Crash Bandicoot 4 – Nhiều người có thể chơi Online không?
  • Vì sao nên tham gia Game Xóc dĩa online 789 club năm 2022?
  • K86 Club – Sân chơi xanh chín đẳng cấp quốc tế
  • TDTC Club – Hướng dẫn chơi game tại Thiên đường đổi thưởng
  • Cách xếp bàn cờ tướng chính xác nhất dành cho người mới
Previous Post

Vietsub bài hát phim Nữ hoàng băng giá II - Trailer FROZEN II 2019

Next Post

HƯỚNG DẪN ĂN UỐNG KHOA HỌC CHO NGƯỜI MỚI TẬP GYM

Next Post
HƯỚNG DẪN ĂN UỐNG KHOA HỌC CHO NGƯỜI MỚI TẬP GYM

HƯỚNG DẪN ĂN UỐNG KHOA HỌC CHO NGƯỜI MỚI TẬP GYM

Comments 43

  1. Rhys Sebastion says:
    2 years ago

    Thanks for this, yes a series would be awesome – really enjoyed the explanation.

    Reply
  2. Random Guy says:
    2 years ago

    How does your computer not crash when simulating all the tiny cells? Are you using some sort of optimization? If so which one

    Reply
  3. vv pilot says:
    2 years ago

    Very Epic Video!

    Reply
  4. Jack 3G says:
    2 years ago

    Very nice video 👍, subbed

    Reply
  5. Captain Trojan says:
    2 years ago

    holy flip. with all these if monsters, how are you pulling so many fps is beyond me. great job at creating your engine sir

    Reply
  6. ZeekTM says:
    2 years ago

    I've read every one of those articles you showed on the screen, and this video helped me actually understand it. Thank you.

    EDIT: Please make a series on your open source game library, I'd love to build somethingg similar to this for school reasons.

    Reply
  7. Wetiu says:
    2 years ago

    I really want to make a isometric game but I'm just beginner with hope 🙂 no programming language experience from past, what is your advice for a beginner and I want a video about it if you mind ^-^

    Reply
  8. Wetiu says:
    2 years ago

    I also wonder, what is the situation of your isometric game engine, it will release soon ?

    Reply
  9. Wetiu says:
    2 years ago

    I don't even know english well but I understand what's going on :3 thanks master

    Reply
  10. Koen van den Brink says:
    2 years ago

    This is one of those videos that could last days and I would still be sad when it ended

    Reply
  11. Presauced says:
    2 years ago

    wow 1 dislike vs 1k like 🙂

    Reply
  12. TundrumMax says:
    2 years ago

    I've followed your compile instructions to the letter but it wont work. It says "..source*.c" cannot be found, same with render_passes. I figured that it was too deep into the folder tree from the way the path is made, so I moved it one folder up. It still didn't work. I have the latest Visual Studio, and I used the x64 Visual Studio command prompt like asked.

    Reply
  13. Ethan W says:
    2 years ago

    Great video man. I found your channel from your Github. I have been looking at making a C game engine and this has provided plenty of inspiration to work from. Keep up with the videos, they are great!

    Reply
  14. Boose Loose says:
    2 years ago

    I attempted this a while back. I can't believe I didn't try to travel to each cell along a path to handle velocity. I guess I thought it would be too taxing on my computer to run smoothly but, looking at your results, it seems to work well enough. Great video, I really enjoyed it!

    Reply
  15. JADROP [003] says:
    2 years ago

    Amazing video! I was thinking, what if instead of making the sand always fall to the left first, why not make it fall into a random available open space? Is the time it takes to compute just not worth it?

    Reply
  16. Ben Schreyer says:
    2 years ago

    Awesome video. The one weird thing I noticed was you say smoke is like sand but with reversed gravity. Isn't it more like smoke is like water but with reversed gravity?

    Reply
  17. RJ says:
    2 years ago

    This maybe one of my favorite coding videos of all time. Very precise and very informative. Good job dude

    Reply
  18. Lawrence Whiteside says:
    2 years ago

    Dude. Incredible. Freakin the best thing on game dev I've seen in a long time.

    Reply
  19. prodby404 says:
    2 years ago

    Was very interesting,even though I'm not a programmer i understood because you explained it so well

    Reply
  20. ezrub dell says:
    2 years ago

    Sandspeil is really fun

    Reply
  21. Hollie says:
    2 years ago

    can you do the nemesis system from Shadow of Mordor/Shadow of War

    Reply
  22. Abidoune Mohamed says:
    2 years ago

    Great video keep it up!
    These are my suggestions: Fez's dimension changing
    Braid's time travel

    Reply
  23. Muhammed Yucesoylu says:
    2 years ago

    Good job. Well done

    Reply
  24. Paul Kazakof says:
    2 years ago

    Your particle_t is not 136 bytes, there's also a wasted bytes on padding. It is 160 bytes at best, but most likely it will be 192 bytes depending on a particular platform. But don't do #pragma pack(1) or alignas(1) in C++, because it will kill the performance.

    Reply
  25. CuriousPers says:
    2 years ago

    That's really cool, thanks, you got a new sub!

    Reply
  26. skaruts says:
    2 years ago

    On a loosely related note, it always amuses me when Game Of Life is said to have 4 rules. It's really just 2 rules:
    1- living cell survives if next to 2 or 3 alive neighbors.
    2- dead cell is revived if next to 3 alive neighbors

    Reply
  27. skaruts says:
    2 years ago

    A "Sand Game" is a really nice way to put it. 🙂
    Thanks a lot for doing this. I've been really curious about Noita since I first heard about it.

    Reply
  28. championchap says:
    2 years ago

    Cool video, cellular automata are amazing.
    Just a small thing, but giving the sand a preference in which direction it falls when it collides with a sand particle below it gives it an unrealistic uniformity that the player will notice right away.

    Reply
  29. Ralph Schuler says:
    2 years ago

    I would like to see more^^

    Reply
  30. Guilherme Torres says:
    2 years ago

    thanks for the video and the tool john, those were valuable insights!

    Reply
  31. ANDRES36 says:
    2 years ago

    I am waiting for the next video.

    Reply
  32. dylan satgalab says:
    2 years ago

    Dude you are like the first one to call this game engineering (base on : searching in youtube) love your vid , such high quality, please make more !!!

    Reply
  33. Ankix Sounds says:
    2 years ago

    Awesome information! I really fill happy and rewarded by just clicked on your subscribe button with 🔔 = true.

    Reply
  34. Arthur Caruso says:
    2 years ago

    You can reduce considerably the size of the IF statements amount if you put functions inside arrays and just reference the function by its index, for example this python code:

    # predefining the functions
    def particle_smoke():

    pass

    def particle_wood():

    pass

    # distance values stored in this array (python list)

    distances = [wood_dist, smoke_dist]

    # particle creation functions stored in this array

    particles = [particle_wood, particle_smoke]

    for i in range(len(distances)):

    if distances[i] < min_dist:
    min_dist = distances[i]

    p = particles[i]()

    Reply
  35. Ricardo Alcantara says:
    2 years ago

    Wow!

    Reply
  36. __Drew says:
    2 years ago

    Is this inspired my powder game at all. I'm not trying to say you copied it. This video actually made we remember that game. Its on dan-bull.jp its the first thing you see if you just look up powder game. They look extremely similar.

    Reply
  37. Brendan Roarty says:
    2 years ago

    Super cool and inspiring man

    Reply
  38. David says:
    2 years ago

    Thanks for the video. Very interesting.

    Reply
  39. InfiniteDarkMass says:
    2 years ago

    Come on buddy, do you even cook? I haven't seen salt float. Ever. Not once.

    Reply
  40. Ben Sisson says:
    2 years ago

    RIP John Conway.

    Reply
  41. Loiso Pondohva says:
    2 years ago

    Hope the notification button pays off kappa

    Reply
  42. LimitedWard says:
    2 years ago

    I can tell you were inspired by 3blue1brown 😆

    Nice work!

    Reply
  43. Oussama Barkouki says:
    2 years ago

    I just found the 3brown1blue of computer graphics, and I love it.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Xem Thêm

Ở đâu bán bật lửa chính hãng và chất lượng tại khu vực Hà Nội?

Ở đâu bán bật lửa zippo chất lượng nhất tại khu vực Hà Nội

April 25, 2021
quan-pho-ngon-1

Top 5 quán phở ngon nhất Quy Nhơn bạn nên thử

April 30, 2021
Món đồ bày trí phòng ngủ ý nghĩa

Tác dụng của những món đồ trang trí phòng ngủ theo phong thuỷ

June 4, 2021
Dòng máy ép chân không công suất lớn

3 lý do cần mua máy hút chân không công suất lớn

June 17, 2021
Máy xay giò chả mini có giá dưới 10 triệu đồng

Tư vấn chọn mua máy xay giò chả hợp túi tiền 

June 19, 2021
Máy vặt lông gà vịt tốt nhất tại NEWSUN

Nên mua máy nhổ lông gà vịt của Viễn Đông hay NEWSUN?

June 19, 2021
  • Liên Hệ
  • Chính Sách Bảo Mật

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Công Nghệ
  • Ẩm Thực
  • Kinh Doanh

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.