1 Year of c++/SFML
HTML-код
- Опубликовано: 1 окт 2024
- Yo ! A compilation of 15 projects I made this year (my first year) using c++ and SFML 2.1. Most programs already had a video but I updated them after that. So this video does a little update for all of them.
Download SoftBody project (WIP) : dl.dropboxuser...
Tutorial for top-down shooter's fog of war : dl.dropboxuser... - Наука
Hi, look everybody, the video got a bunch of views lately. I'm currently in the process of finishing my final school project before getting my degree. I understand all you guys want the source code, and that my dropbox public folder is down. I'm in the process of putting together a github with all my projects so you can access them easily. It's a bunch of work, i'll give the github link in the next video (in a few weeks). In the mean time you have a small chance of finding the source code of a program in its dedicated video if I updated the link in google drive. Thanks for all the kind comments !
Where is the link?
New link please
help you can give a source code github address,thank you!
It looks like you copied auchtung die kurve on the second project. where did u get your inspiration?
Yeaaah, peep! Good to hear. How is your project doing and what are you majoring in?
Meanwhile
Me:
Please enter your age:
*Enters 13*
"You are 13 years old"
gotta start somewhere
*p r o g a m e r*
@@alvitodev LOL
😆😆😂
my py code:
This isn't just someone that's good at programming, but also at Mathematics.
Super good. creating something as simple as a triangle in opengl,the code requires good command over cpp and maths.
@@GreenGoblinCoryintheHouse I did this with a tutorial (it made it easy)
@@goutgueule9197 i stole the code to draw a triangle online and built a (small) 3d engine on it
This is the video that kickstarted everything for me, my passion for coding, and the art that goes along with it. I thought I'd never be able to understand how all this sorcery was made, and yet after six year of training this video sent me down the coding path of education and jobs. I'm a now a full time C++ developper, and a more than passionate generative coder. I've immensily grown as an artist and as a person, which wouldn't have been possible without the initial spark, this video. It literally shaped my life for the better, thank you Muzkaw.
I think I'm you six years ago
@@pixelated6162 i have aids
@@pixelated6162 Then best of luck to you, it's a long but fulfilling journey
After six years! You are amazing
That's really cool of you coming back to this vid. Maybe a weird question, but how old are you? I'm really curious lol
The euler fluid simulation is amazing
ZyndarYT I want to be a PC game programmer, you? I already made a couple of games already.
ZyndarYT C++ and SDL for 2D and modern OpenGL for 3D.
ZyndarYT And you?
Why do I keep seeing you on random videos.
It's literally Powder toy in heat and pressure modes
Me after 2 years:
"Please enter your weight in kgs"
"75"
"Thank you"
Your businesss wil be appreciated
You have collected personal user data. *Mark Zuckerberg wants to know your location*
Math Exams be like 1:48 **Find the Missing Angle**
You are using light theme .. You cant be trusted.
This version of Windows doesn't have dark theme
@@FleaOnMyWiener visual studio always has dark mode tho (can confirm personally all the way back to 2013)
@@MaximumWoahverdrive The guy above me is correct
Right
The guy above the guy above me is right too
this should Help with a Job interview :)
Arnold Hofman I know, right? :) He actually deserves a goob job with C++. Those things he is making require high C++ and math knowledge.
Math yes, C++ not so much.
So we found the guy that dosnt know shit. Understanding maths inst using and knowing long drawn out ideas, its about adapting the maths to fit your use. I cant tell if he done that but any good developer can. Such as using simple efficient maths to do complex problems. After all you understand computers alone can't even do Algebra at all, its just 1s and 0s.
China Uncensored VEVO I believe the comment was talking about a job interview as a developer, not a mathematician!
+Geklmin you have absolutely no idea what are you talking about ;) this guy managed to create really awesome things and you probably dont know shit about programming or math.. he'll most likely get hired as a developer thanks to his projects while your greatest achievement will be being smartass in youtube comments. You can be jealous of him and you probably already are :) because you succ xDDDDDDDDDDDDDDDDDDDDDDDDDDD
I was in a coding slump before watching this, you have now motivated to get my ass of youtube and back into my text editor :)
+Ace shinigami did you release the source?
+Ace shinigami Yes, check the comments, description and other videos where I post links to download the code.
+Muzkaw I found most of the ones I was interested in but I couldn't find the top down shooter one could you send me a link please
+Ace shinigami dl.dropboxusercontent.com/u/143932765/Tutorial.pdf
Can you update the link? It isn't working for me :/
это видео сильно ударило по моей самооценке
в цель!
Просто уничтожило.
YES Russian Hackers the Best!
Разнесло в щепки, как и мою.
меня вдохновило
How the hell did you manage to get all of this incredible shit done?!
After 2 years of Java, all I have to represent me is some a few basic things. I think the most complicated thing I have is a GUI calculator...
This video made me sad :(
You answered yourself "After 2 years of Java," :DDD Java make your brain lazy as hell.
I would say more C++ than assembly, Assembly is good to help you understand how computers work at low level but it's harder to practice algorithms and new technology/libraries.
+Love Programming I do know a little bit about assembly, but it is definitely the most confusing thing I've ever looked at. I don't think I have the dedication to actually fully learn assembly especially with school and everything going on
*****
It's also good for reversing.
*****
Yeah IDK, the education system sucks, now days they try to stop you from memorizing basics like multiplication but then they try to make you memorize more complicated stuff like in calculus.
The thumbnail looks like I've already watched this
Whoa :O Dude have you ever considered making tutorials? Because you're at the point now where you're toying with physics... And you obviously know how C++ works down to its basic principles so I think you could kill that sort of thing :D Just a personal opinion, not that you have to or anything but all I'm saying is that you should definitely look into it :)
Hi ! First, thanks for your really kind comment ! I would definitely do tutorials, but i don't quite know what subject people are looking into. I'd be glad to do such videos but it's a lot of work and I'd rather like it to be useful for at least a few persons ! Thus, if you're willing to see a video on a particular subject go ahead and ask !
I would love to know more about the hillclimbing algorithm :D (ofc in the meantime i'm gonna educate myself with wikipedia but this thing is not easy)
The sheer amount of (mostly physics-based) mathematical knowledge that's required for this compilation to exist is insane. As a programmer myself I look at stuff like this and can't help but think of all of the mathematical complexities, the stuff most people find "boring" to learn about. It's great to see all of the interest accumulated from a few cool demos like this but if people start taking CS courses because of this then they're more than likely to become a little disappointed to say the least.
Computer scientists are generally stupid
@@Noobscodee You'd be surprised
Not so much, at least in a physics or engineering degree, if a third year bachelor student couldn't do this, it's a pretty bad sign.
@@12kenbutsuri wtf. Guess my EE degree is wasted on me.
@@danieljoseph6404 I meant the math part, the coding part might be hard and at least tedious.
So this is what non lazy programmers do. I'm way too lazy and have a preference for concrete results. I think about 6/10th's of the coding I've done was for ripping off video sites and scraping all sorts of content. The other 4/10th's was for automation/time saving/performance tuning.
Industry-ready programming
youtube-dl was taken down, maybe your talents for video-ripping will be useful now =D show them the difference a single person can make, be the stone in their shoe \m/ \m/
@@FeelingShred Github is just one site, owned by Microsoft. There are plenty of mirrors of the master repo out there. I suggest a hash check though, for the sake of security. youtube-dl-sources.org/
All of this can pretty much just be pasted of google. nothing self innovotive really.
You are a big inspiration.
Amazing work, although it would be very misleading to people who are learning c++, since the knowledge required to ro these have very little to do with c++.
Soft body simulation is awesome..
I didn't even know half this shit was possible, smh
@@abc-to1of lmao soft anime tiddies.
Can't wait for 2.5 year of SFML ;)
+Condzi It's in its way !
Muzkaw Hype train says CHOOOO CHOOO!
I'm more excited for 10!
Wow you almost have the same name as me
I have no idea what SFML actually means, but I ssomehow read it as 'shit, fuck my life'
This is 6 years ago, Imagin your skills now
Yupp
Hes probably watching the pentagon from his pc at this point lol
@@agoogleuser3853 😂😂😂😂😂
As a web developer I feel kind of depressed after watching this video... I'm currently studying computer science and I feel like i'm at the very beginning of a super hard path.
Anyway, you're amazing, congrats!
You're a Web Developer, how much do you expect
DUDE 7:33 I have to know how you've made this fog of war system. Could you please do a tutorial for this? My god this is exactly what I need
Yea, i'll do a quick written tutorial over the subject when i got time.
Here you go : dl.dropboxusercontent.com/u/143932765/Tutorial.pdf
WOW, I didn't think you would actually reply with this detail. Thanks, you are the GREATEST! You my sir, deserve a pat on the back :) I will cherish this what you have shared with me ^^ thanks again! :D
CryptionGaming You're welcome, I'm happy to help :p
sorry to bother you after two years, but file became unavailable, but do you have copy ?
man i really really want that jpeg to ASCII converter its so cool
Thats easy, just reading pixelels in picture, generate ascii using the bright of the pixel, thats all
@@ancubic1549 I've programmed one too. But for non programmers or beginners it might be harder than you think.
I could be late a little, but there is a special cite for this
I am pretty late but I can verify that if you have programming experience it's not *that* hard
@@ancubic1549 thanks
Man for God's sake, ¿can you give us a little guide of the physics books you've been working on to carry out all of these projects? i mean, its obviously more than advanced cinematic physics. but would you tell us something like:
-cinematic physics
-static physics
-dynamics physics
i dont know if you get the point of what im asking you, srry for my english. but Pls...
No books to recommend, it was mostly programs based on topics i was studying at school back then
There is something that every programmer started their career with this motivational quota: Do not forget from where you started.
Those are some really good projects you did. You should think of adding some of them to your portfolio for job interviews. As experience tends to matter more than qualifications in the software industry.
You made all that in a year!?!?
That just shows how much time I'm wasting
-raycasting demo- *top down view shooter*
I was not using rayscasting at all !
The jpg to ascii is awesome can you put it up for sownload
It is (in github) and also it's not all that difficult to make. If you have any programming experience give it a bash (no pun intended)
Wow, you are a genious, i'm impressed by what you have done.
Whoa im a useless human being
I can believe that you have been doing c++ and possibly even programing in general for only a year, but you must have done quite a bit of math and physics prior to this especially for the fluid simulator!
billy persistent even for the Mandelbrot (and thats easy) formula you need quite a good understanding of complexe numbers and Math general 😅 amd for the physics animations its even more advanced 😅😅
He has been programming for at least 4 years. These are just projects the projects he completed in 365 days
@@BossBeneBaby well it's not that advanced
1 year? oh sorry, we are looking for someone with 10 years of experience minimum. . .
Do you have your code uploaded in a repository like Github so we could learn from them?
I upload all my source code in the videos dedicated to each program, if you want to have a look to a particular program, don't hesitate to ask me, i'll upload it.
Hi @Muzkaw The Dropbox link you have provided is not working. It is better that you upload the code to Github. It will reach further too.
Yes, i've been told countless times to use github, I really need to sign up. Dropbox public folder is not a thing anymore, so the links are dead, what link do you need ?
I would love to see how you created the sound interference + RMS project.
Muzkaw, I'd love to have access to all these source codes.
Can I?
I am impressed by your skills. With the 'Application to 2d shooter', how did you manage the collision on the drawn lines? I'm having trouble getting that done.
Hi ! What I did is store the wall areas in a pixel map. It is a matrix of booleans that either stores "true" (there is a wall on this pixel) or "false" (there is no wall on this pixel). Then, I check the pixels that are overlapped by the player's box + 1 pixel around (up, down, left, right). Then, knowing the point of impact, I move the player in the according direction 1 pixel at a time until there is no more collision. This will solve most cases but you might handle special situations separately.
If you have any question on how to code that i'll be happy to help you further.
Thank you very much for you help!
That's brilliant, yet so simple. Pixel maps are the same thing as tile maps, right? Is it like this, for every single pixel? www.codeproject.com/KB/java/BFSDFS/adjMatrix.PNG
So basically a txt document full of zeroes, that become 1's the moment the cursor moves over them?
Scorponizer Yes this is the same thing ! You can either do a .txt if you want to save the map once the program is closed or store the data in a dedicated class (vector thing) if you just want a temporary map.
Muzkaw
Argh.. I just can't get it to work. Could you give a code example of how you implemented this?
Scorponizer I'm sorry I haven't much time these days and I cant' explain it in a short comment so I'll try to write you something if you still struggle (but it might be in a month or so)
I'd like to learn how to do a softBody!!!
You must be hired by NASA by now
sharpEAGLES why?he didnt show his skills in AR nor VR nor vfx
Because of his ability to learn, maybe.
@@RivenbladeS because he doesnt suck like u
@@RivenbladeS you have a point, to work at NASA you gotta know your photoshop
@@RivenbladeS this is a fucking joke
RUclips: "🔇 This video has no sound."
Video at 6:59: *_Has Sounds_*
i wonder if python can do these also? because im learning my 1st language which is python, and i hope some of these can be my project to improve my skill 🤔
I think you meant to reply to another comment?
@@themining7229 naah i literally commented on few newest comments, considering this is an old video. Do u happen to know if i can do these projects with python? I mean, i don't even know how to display pictures, and moving images by using python. Python is my first language and still like in a few months
I'm a python web developer, haven't tried making GUI apps but I have seen some GUI apps made with python before, also a dotNET developer, you can probably start with C# if you want some easy GUI apps.
@@themining7229 i see... thanks for ur reply :) sorry i am very new in computer world. u said u are a python web developer, what's so different compared to make something moving like we saw in this video? is the output of ur profession literally website like. youtube? google?
This gave me and a others a lot of inspiration. Thank you
8:30 The guy is dealing with corona virus... Dont worry guys
3:00 this man made the OG Fortnite BR
Amazing work! This video was such a nostalgia material for me. I've spent a great part of my childhood playing powder game or exploring simillar projects made in flash on deviantart and seeing those specific patterns again really scretched my brain
thank you for the video, it enhances me for still studying c++
This is just mind-blowing...
really good stuff, man. Well done.
I recently built a similar Ascii Converter out of python but using video. Made it convert the intro to shrek which was pretty fun. Would recommend as a project to anyone who is interested in programming.
Nobody:
RUclips recommended:
good job. which path do you suggest for making screensaver?
Ya made curve fever?!?!?!?
I love ittttt!!!!!!
Awesome job! I like programming in C++ but I don't think I could do anything quite that awesome.
Where did you learn to program this well? It's amazing!
He learned this @ Arts et Métiers ParisTech
yeah, he was played call of duty 4 played chernobyl mission, radiation shot him head, and stucked, remembered that he had some projects, recorded and uploaded
if i had to code this it would take me 50 years ;(
no it wouldnt... youre just not even trying to
The jpg to ascii one is i think the coolest one. I really wanna know how to make one.
id imagine just at a first glance it assigns a specific character to some hex colours, so anything less than a certain hex colour is treated as black and given a character which fills the most space, and apply that to the rest of the image, as for what characters to use, you could potentially just use an already existing ascii program to figure out the values and then recreate them in your code, easier said than done though, impressive work
big up for triangulation!
If you don't use black screen, you can't be trusted lol
Freaking awesome. Never knew you could do all this in C++ with a couple of add on libraries from SMFL
and here i am after a computer science degree, cant code a single shit and answering phone calls D:
cheat, he's an engineer and graphic modeler
his IQ is too high!!
Seriously? He just know lot of things in the mathematics and physic, just this.
@@ancubic1549 WHooooosh
Its over NINE THOUSAND
First time completed a vid with no sound, nice job very good programming that's my dream to learn
std::cout
Didn’t #include
i subbed to you, i demand more C++ SFML stuff!!
also try to play around with lua so that you can have ur own C++ engine then use Lua to play around with the graphics, ive done that but it was so simple but fun :)
Awesome! I'm in your fan club!
Aha thanks ! :p
Muzkaw I am just a C++ beginner, but i'm in your fan club too!
All i learned from proggraming is hos much I hate myself.
You're amazing. This stuff is really good.
everyone asking for the source but all I wanna do it code it myself lmao
how much time it take to learn c++ then learn SFML?! to make something similar to this
+Zoro Allam As the title says, 1 year aha ! I started learning c++ exactly 1 year before this video was posted. After a few weeks, I started learning SFML. All the projects you see in the video have been made during this first year.
+Muzkaw it's amazing projects man. and thanks for reply.
+Muzhaw How did you learn SFML? What sources did you use for understanding its composition? I'm starting out with SFML and I don't really know how to go about it.
Would love to see the source code for the top down shooter fog of war game as the link in the description does not work. Would you be able to share it with me or upload it online to somewhere?
Thanks,
Adaman
Great work man! Really impressive!
my project:
enter first number: 1
enter second number: 4
total = 14
3:20 fortnite
More like worms
Сначала вдохновляет , потом задумываешься , пытаешься обучиться , пытаешься чё то сделать . Что то делаешь . Потом понимаешь , что ты рукожоп......автор просто космос
Пацаны, наркотик КАЛ,
В школе в коробке сдавал.
Наркота отстойней кваса,
Учит вас Школа Хардбаса.
Нам хардбасерам давно
Не в тему данное говно!
Паша, Валь, Боб и Матрас,
В наших плейерах Хардбас!
СПБ и МСК,
Наш проект два города.
Пацыков не прет ап степ,
Через бочку рубит клэп.
Лютый стиль без препаратов,
Бутират для деградатов.
Кто хардбасить перестал,
Знайте все наркотик КАЛ!
Пацаны, наркотик КАЛ,
В школе в коробке сдавал.
Наркота отстойней кваса,
Учит вас Школа Хардбаса.
Нам хардбасерам давно
Не в тему данное говно!
Паша, Валь, Боб и Матрас,
В наших плейерах Хардбас!
СПБ и МСК,
Наш проект два города.
Пацыков не прет ап степ,
Через бочку рубит клэп.
Лютый стиль без препаратов,
Бутират для деградатов.
Кто хардбасить перестал,
Знайте все наркотик КАЛ!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Вы слушаете Школу Танцев Хардбаса
Наркотик не класс,
Я еду на Хардбас.
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Кто не уважает Школу Танцев Хардбаса,
Тот эльф 80-десятого уровня!
Кто не колбасит под Хардбас,
Тот притворяется пьяным на дискотеке!
Раз, два, три,
Давай хардбасеры!
Наркотик не класс,
Я еду на Хардбас.
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас.
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Наркотик не класс,
Я еду на Хардбас
Если ты не знал
Наркотик кал!
Title: "1 year of java"
Shows up Minecraft
Ugh windows....
3:08 fortnite 2 confirmed
Omg the euler fluid HOW ??
I do some programmation but i have no idea of how you made it that's awesome
Bien joué mec ! En vrai, bonne source d'inspiration, merci !
These are excellent! Playful experimentation is the secret to a successful game with novel mechanics.
The euler fluid simulation reminds me of the powder toy game ( which was amazing btw ).
I study programming since 2009, probably, but I can only do simple things, like text-based programs using printf and scanf.
That's what anxiety disorder do to us.
This was incredible to watch. I'm inspired to learn programming again.
That would be an awesome software to own having something try and recreate any art just by creating ellipsoids ontop of eachother. I would love to see more of that.
holy shit, I got this recommended to me randomly today. As he was demonstrating the triangulation application I was looking at the taskbar and I really thought to myself "what the fuck is this setup, looks like it was ten years ago" so admittedly it's a bit less but wow it's crazy how windows has changed and how the default application used for certain things (utorrent) has changed as well
How the ruck are you handling this much particles live?!
FOUND THE FRENCH
i am french too
For everyone who is learning programing and want to make stuff like this, but don't know where to start, there is an AMAZING youtube channel for just that! Just go check it out, you'll thank me. He teaches using Processing and P5.js. Two graphic frameworks for Java and Javascript respectively, designed with beginers in mind, giving you quick acess to a lot of useful functions so that you can focus on what you want to program. He also has a series callled Coding Challenge where he teaches you how to make very intresting little projects, like a 2D Raycaster, a Maze Solving Algorithms and so on, i can't recomend it enought
Thats motivating !!!! Im wondering what u are capable of now
Hey, I'm doing C# at my Sixth Form and we only do really basic stuff, how can I learn this kind of thing? The apprenticeships I'm looking at for when I leave involve C++, a few of them are game companies so I really want to get experience at this kind of stuff. I'll be gratefull for any suggestions! Thanks!
This has no limits?
One day someone will put a fucking human being inside a computer...
すげーこんなの作れるくらいになりたい
That fog of war in your top-down shooter is amazing! link for the tutorial doesn't exist anymore it seems. Could you please share it again? Thank you so much :)
Edit. Oo never mind i saw your other comment where you share it in google drive. thank you!!
How can i visualize content in c or c++ like this?i know both them(syntax and basic knowledge) and also some high skill math.but couldnt go more than low level console applications.i know that graphics is not everything like in embedded systems like all that complex algorythms flows in the background but anyway after a while want to do some visual things.from where should i start?
Damn, this is what I would have been able to accomplish if I had spend my teenager years learning how to code instead of wasting time in videogames or countless hours creating Doom levels.
So 7 years had passed by, are you at the point of being able to make money from all these skills?
Yes
That top down shooter would have a nice wave zombie game application, I could see it doing well as a little flash game or something.
well ship man, i thought making a jpg to ascII program was an original idea of mine...
JPG to ASCII is awesome and sometimes useful ;)
It isn't actually all that difficult to make either.
Hi, everything you did is very interesting !
Im just wondering : how did you do to open the file just by putting it on the .exe (in your first project) ?
Thank you for your help !
Yo !
You can input a file directly into your program by dragging and dropping thanks to the main() function arguments : int main (int argc, char** argv)
You can read more about these on several websites (ask google "c++ drag and drop main arguments" or something like that and you'll find what you're looking for) :)
Muzkaw Thank you so much, it works ! I am gonna enjoy this great feature :D
Any big projects like 2D RPG game? :P I'm impressed by your JPG to ASCII conventer and soft body sim. and i just wondering how you did that? :) Have you github ? ;p
You can download the soft-body project in the description (it is very early WIP and the code must be pretty bad). Thought, you can read this very good paper that detail all the steps : panoramix.ift.uni.wroc.pl/~maq/soft2d/howtosoftbody.pdf ;)
You can also download the code for the JPG2ASCII converter from the description of the video dedicated to it : /watch?v=q_m-YYGWAvg .
I have lots of projects but mostly demoscenes or physical simulations (I've a growing list of things to do but i can't find the time :p)
i apologize, i just read some of your earlier posts. your work is incredible and inspiring, thank you!