Let's Make Flappy Bird! (LWJGL 3 / OpenGL)

Let's Make Flappy Bird! (LWJGL 3 / OpenGL)

The Cherno

9 лет назад

225,427 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@DioBrandon123
@DioBrandon123 - 18.05.2023 19:37

does anyone know what ml stands for in ml_matrix? thanks in advance :D

Ответить
@enne_kappa
@enne_kappa - 25.07.2022 22:09

is this tutorial still valid?

Ответить
@redfire7820
@redfire7820 - 13.02.2022 17:11

I can't get anything to render to the screen. I'm not sure if I am doing anything wrong.

Ответить
@sab1r238
@sab1r238 - 15.12.2021 03:20

Wow, you could either make a simple bird game or an international successful game that is now since 2011.

Ответить
@omrilevia5754
@omrilevia5754 - 26.09.2021 19:02

hello from 6 years in the future! very fun and informative! Love the speed of the tutorial, definitely showed me where I need to fill in the gaps, like how the hell does a shader work? what are all these buffers for? thanks!

Ответить
@diegodiegendo1998
@diegodiegendo1998 - 01.07.2021 09:52

Wow, this was such an awesome vid! Watched the OpenGL tutorial series prior and through that I was able to implement this project in C++! Planning to watch the game engine series stuff now, super excited! Thanks for putting these vids together!

Ответить
@justbake7239
@justbake7239 - 04.12.2020 13:46

I am having troubles turning this into a jar file. after I export it as a runnable jar file it cant load any of the shaders or textures. can anyone help me with this? i have tried changing how it gets loaded and the path to just be the root but that hasn't been working.

Ответить
@tekware75
@tekware75 - 07.11.2020 15:13

Can you make a tutorial series for LWJGL with more explication?

Ответить
@imanhn
@imanhn - 25.08.2020 23:49

OMG! 👍I wish I had teammates like you.

Ответить
@petergriffin6187
@petergriffin6187 - 19.08.2020 21:16

This was the program used to make minecraft

Ответить
@eulasshirt3457
@eulasshirt3457 - 29.05.2020 11:41

Him:there will be no editing in this video
Me:this will be easy

3hrs later
Bird does not fly
also me:(sees [c]herno on bottom right)
me:Thats why

Ответить
@fsgrggr5943
@fsgrggr5943 - 06.05.2020 18:34

Using OpenGL and LWJGL is not at all from scratch lol.

Ответить
@w4rd3nclyffe74
@w4rd3nclyffe74 - 02.05.2020 21:08

so please please please answer me.
I'm writing this engine ( I guess you can kinda name it engine ). but I don't understand a word. that's ok for now, it's just a practice. but I want to be able to understand these codes. so what is your suggestion for game developing in java using lwjgl/libgdx book? or a course? I'm mean what did you use to learn all these structures?

Ответить
@emersonliepe8418
@emersonliepe8418 - 29.04.2020 20:12

You Know What Your Doing!!

Ответить
@codebitcookie8053
@codebitcookie8053 - 01.04.2020 14:45

Hello everyone, if anyone wants to know what every single line does, or need an explanation on how something works, you can chat with me on discord, at CodeCookie#7619

Ответить
@timothyvandyke9511
@timothyvandyke9511 - 29.03.2020 19:27

Hi Cherno, I love this video so much even though it doesn't have too many views. I'm still coming back to it 5 years later!



Any chance you can make an "updated" version with something simple like Tron?

Ответить
@codebitcookie8053
@codebitcookie8053 - 25.03.2020 18:54

Good tutorial but can anyone tell me what
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
does?

Ответить
@rizwanabbasi4906
@rizwanabbasi4906 - 23.03.2020 13:21

how you comparing (glfwWindowShouldClose(window)== GLFW_TRUE) , int with bool ? without getting error ?

Ответить
@TheErer1243
@TheErer1243 - 20.12.2019 04:33

Caysh

Ответить
@Destroyer19941995
@Destroyer19941995 - 16.10.2019 21:44

Thank you!

Ответить
@tenshidev3658
@tenshidev3658 - 06.09.2019 16:14

GLContext.createFromCurrent() is GL.createCapabilities().

Ответить
@balazsorosz6845
@balazsorosz6845 - 05.08.2019 01:05

"We're gonna make Flappy Bird from scratch, well not really from scratch, as in I'm not gonna make a computer first..." LMFAO

Ответить
@loranta6653
@loranta6653 - 31.07.2019 23:20

For anyone else trying this out on a Mac in 2019 (or getting the error message: "nextEventMatchingMask should only be called from the Main Thread!"):

Go to "edit configurations" and put -XstartOnFirstThread in the VM options box.

set instance variable running = true at initialization.

rewrite main-method:

public static void main(String[] args) {
Main main = new Main()
main.init();
main.run();
}

Rebuild project. <- Important, didn't work until i did so!
Spent the whole night trying to fix this, instead of getting on with the tutorial... so I hope this might save someone else the time and effort :)

Ответить
@kelvinrawson1729
@kelvinrawson1729 - 25.07.2019 19:34

Thank you very much for the video! For you it was three hours, for me 2 weeks! :D

Ответить
@seanghay_yath
@seanghay_yath - 29.05.2019 10:02

I watched this until fell as sleep and then I woke up, this video still playing. lol

Ответить
@Lodoss1900
@Lodoss1900 - 27.05.2019 23:14

suggestion for non-native english speakers: put the video speed to 0.9

Ответить
@thomas3754
@thomas3754 - 05.05.2019 02:53

Java 8 has indeed method "pointers" called method references

Ответить
@timothyvandyke9511
@timothyvandyke9511 - 04.05.2019 05:07

Holy cow this makes soooo much more sense than trying to follow other tutorials, even with the slightly different versions of functions. Thank you so much

Ответить
@lilcatfriend4575
@lilcatfriend4575 - 21.01.2019 05:00

For all people doing this in 2019 and maybe people below looking for closure the error with 1282 and "unable to find pr_matrix" you have to link the program after attaching the shaders to it.

Ответить
@lilcatfriend4575
@lilcatfriend4575 - 21.01.2019 00:23

Hmm current lwjgl isn't coming with a natives and only jars :\

Ответить
@MajSmerkol
@MajSmerkol - 30.11.2018 20:12

Use JOML and you don't need to implement all the math and buffer stuff.

Ответить
@bonopo
@bonopo - 10.11.2018 07:44

Wow you are very knowledgeable

Ответить
@altarak8035
@altarak8035 - 19.10.2018 01:32

have you speeded this video heavily up or are u really such a fast speaker and coder? wtf. no offense but this video is not fun for me to watch at all.. calm down and take your time, dude.
surprisingly it helped me with a minor problem right now, thanks :D

Ответить
@robertjr.kibble8053
@robertjr.kibble8053 - 17.08.2018 11:54

Do you need eclipse to use lwjgl? I have no idea how it makes those pathways, and any time I try to import it (without eclipse) it seems to be unable to read any of my files?

Ответить
@CRis-ss2er
@CRis-ss2er - 30.06.2018 12:22

how to resolve the 1281 error?

Ответить
@makispapa5867
@makispapa5867 - 01.06.2018 19:49

Why are you changing the texture coords of the pipes for top and bottom and not simply rotating the pipes by 180?

Ответить
@makispapa5867
@makispapa5867 - 01.06.2018 19:39

Why are you saying there's no time to debug it since video is 3 hours long xd

Ответить
@makispapa5867
@makispapa5867 - 01.06.2018 19:31

You feel like going out while it's raining? Interesting

Ответить
@mischa8517
@mischa8517 - 31.05.2018 04:10

Do you know how difficult it is to understand you as a German speaking person.
Oh man you're really talking fast!

Ответить
@senatorpoopypants7182
@senatorpoopypants7182 - 30.05.2018 22:55

What the hell happened to the eight part series I'm sitting here with red triangle

Ответить
@LeMasterYi
@LeMasterYi - 20.05.2018 19:25

Can you do this with unity?And can someone please tell me which one is better OpenGL or Unity and why?

Ответить
@aodfr
@aodfr - 20.05.2018 07:55

Hey Cherno I know this video is 2 years but I do have a suggestion if you do another Java game using version. You should check out streams if freaken cool. It makes literally makes file loading a 4 line operation excluding the try catch block.

BufferedReader reader = new BufferedReader(new FileReader(path))
StringBuilder builder = new StringBuilder();
reader.lines().forEach(s -> builder.append(s + "\n");
return builder.toString();

Its that easy dude.

Ответить
@theconkernator
@theconkernator - 14.04.2018 20:51

How tf do you type so fast?

Ответить
@Axe_
@Axe_ - 04.04.2018 20:44

I wonder if he has a maths video...............

Ответить