Game Development in Rust 0: Introduction, Cargo and SDL2

preview_player
Показать описание
#gamedev #gamedevelopment #programming

Рекомендации по теме
Комментарии
Автор

Thank you so much for this man. Added the whole playlist to my watchlist and will be going through it all.

ichooseblue
Автор

Been looking for a pygame esque way to use rust, what better way than the same library wrapped in rust!

Subbed, and will be coming back to this once I finish with the rust book. Thanks so much for taking the time to make these.

ugib
Автор

I'm looking forward to seeing more! I hope you'll avoid using any premade ECS, etc. It would be great to see something bare bones with just sdl2 and openGL.

buildtolearn
Автор

Just starting to watch series but just wanted to write already for your great effort.

furkankalabalik
Автор

This was extremely useful, and your voice is very soothing. Thank u

bro.why
Автор

whoa I started learning Rust a month ago. Can't wait to make a game with it

IgnotusEcho
Автор

the official tutorial is confusing due to improper path of rust libs. You did a good job

andrewsavastysnov
Автор

Some update in 2024. You no longer need to put the .lib files into the .rustup/lib folder. For users for RustRover you can put all the .dll / .lib file into your project root folder ( the .toml file located), this works for me on Win11.

MeowMeowRanger
Автор

Do you have a video on Rust + SDL2 when it comes to compiling executables for both Windows and Linux that the user can just run without any hassle? Is it possible to produce such binaries for both platforms directly from Linux only with cross-compiling?

meanmole
Автор

Pretty interesting because I plan to get into this programming language because I like the features it has compared to other ones. So was curious about game development because I wanted to try to make a game that is extremely optimized using this programming language. I'd gonna make a first person survival horror game.

GhostlyOnion
Автор

Great tutorial series! But when I followed the instruction and copied all the lib files in to the lib directory, I still cannot compile the project. I still get "error[E0412]: cannot find type `Sdl` in this scope" and "error[E0433]: failed to resolve: use of undeclared crate or module `sdl2`". The only difference is that I used the latest SDL2 version "SDL2-devel-2.28.5-VC.zip", do you have any insight on what the issue is? Thank you very much!

sijiaxu
Автор

I left the SDL2.dll with the rest of the .lib files and it compiles fine for me.

fabiogavilan
Автор

I'm sorry for maybe the stupidest question ever but if we're following along on Ubuntu then we want to download the SDL2-2.28.5.tar.gz instead of the -VC.zip, right?

matthewexline
Автор

I tried exactly what you did and kept receiving error LINK : fatal error LNK1181: cannot open input file 'SDL2.lib'␍
I even tried downloading the same version and you but didn't work on my computer.

giuseppelanna
join shbcf.ru