
나도코딩의 자바 기본편 - 풀코스 (20시간)
나도코딩
배움의 즐거움을 알게 해주는 강의. 나도코딩의 자바 기본편을 소개합니다.
입문
Java, 객체지향
Create a nostalgic arcade game using Python. Scroll down to compare it to the original!
Build your skills by using basic Python grammar
Creating a real game using the pygame library
I put a pretty UI on my program that was just printing out boring text.
Ta-da! Let's create our own image merging program.
I created various widgets such as buttons, combo boxes, progress bars, and even a notepad with my own hands.
Learn GUI programming in just 4 hours, discover it now! ^^
Getting started with Python,
Develop your skills through fun game development!
Many people learn the basics of Python well, but
1. How to improve your skills from beginner to intermediate?
2. What can you do with Python?
I know you're having trouble with these two things.
So, I decided to create a course for these people that would help them develop their skills by creating eight practical projects that are diverse and useful.
And that first project is ‘game development.’
Do you know this game?
I used to play it often at the arcade too.
It's a simple game where the character shoots a weapon to hit balls and destroy them.
Python has a famous library called pygame, which allows you to easily create games with just a few lines of code.
Actually, I made the above game with about 250 lines of code, excluding comments ^^
Games require image resources, but this requires downloading images separately and going through the cumbersome process of editing them, which can be inconvenient for those who are not proficient in using related programs.
So, I prepared a lecture by easily creating fake images using Paint, and those who wish can try putting them on later by editing the images separately.
I don't waste time working on images like this ^^
This is how a game development project works.
*Development environment: VSCode, Python 3.x
First, let's study the basic usage of pygame in 4 steps.
1. Let's create a background and put it in.
2. Let's also add a red game character.
3. Now let's move the character.
We will study how to move a character using the keyboard.
4. Add one yellow enemy (so-called bad guy),
And let's add logic to end the game by checking for collision.
This is enough for the basics.
After taking a moment to organize the game frame, I'll give you a quiz so that you can review it on your own.
The quiz is a 'poop avoidance' game, and you can make something like this yourself.
In our class, we just need to process the poop so that it falls only one at a time.
Once it's completed, we'll add game images to make it look more realistic.
If we apply the quiz a little more, we can even make a dragon flight, which was very popular back in the day, right?
* This part is not included in the lecture.
Finally, let's work on a real game project.
1. Insert the background and characters right away.
2. Move left and right using the keyboard and fire your weapon. In the original game, you could only fire one shot at a time, but in this project, you can fire infinitely (at the developer's discretion!).
3. Now, shall we bounce the ball?
For simplicity, let's assume the ball is square. It bounces on the floor, adjusts its speed, and changes direction when it hits a wall.
4. When the weapon touches the ball, it should be split through collision detection.
5. After implementing the remaining details and fixing bugs, just change the game image.
This is how the game is completed.
How is it? Is it similar to the original?
In just 3 hours, you will complete the basics/quiz and even the project.
Although it doesn't cover everything about pygame, I think you'll be able to create a variety of games as a hobby with just this much knowledge.
I recommend this course to anyone who's learned the basics of Python but wants to take it to the next level, or wants to try their hand at creating a game. ^^
YouTube Channel 📺
By subscribing to the Nado Coding channel, you can access various coding-related tips and tutorials faster than anyone else.
Who is this course right for?
Anyone who has seen the basic Python course
Anyone who wants to get out of the beginner stage of Python
Need to know before starting?
Python Basics
101,169
Learners
3,182
Reviews
915
Answers
4.9
Rating
11
Courses
유튜브에서 코딩 교육 채널을 운영하고 있는 나도코딩입니다.
누구나 쉽고 재미있게 코딩을 공부하실 수 있도록 친절한 설명과 쉬운 예제로 강의합니다.
코딩, 함께 하실래요? 😊
🧡 유튜브 나도코딩
🎁 코딩 자율학습 나도코딩의 파이썬 입문
📚 코딩 자율학습 나도코딩의 C 언어 입문
All
23 lectures ∙ (2hr 51min)
1. Intro
00:16
3. About the Game
00:54
5. Background
06:42
6. Character
09:48
7. Keyboard Event
11:26
8. FPS
06:58
10. text
08:01
12. Quiz First Half
07:49
13. Quiz Second Half
07:21
All
346 reviews
4.9
346 reviews
Reviews 6
∙
Average Rating 5.0
5
와우! 무리없이 완주행 했습니다. 너무 감사합니다. 이러한 강의가 무료라니 어이가 업습니다. 다른 강의들 많이 보고 있고 유료도 여러개 결제했지만 중도 포기가 많았습니다. 강의가 별로인 경우가 반 이상입니다. 이해도 안가고 설명은 하는듯 보여도 결국엔 이렇게 하세요 라는 식이기 때문이죠. 원리와 이해가 되어서 너무 좋습니다. 이런 강의는 습득하여 내것이 되면 응용이 가능해지겠죠. 초보들 입장에서는 비슷한 유형의 게임들을 조금만 응용이나 수정되어 세세한 기능들을 알려주시는 강의들이 쭈욱 나오면 좋을 것 같습니다. 고급편도 만들어 주시면 좋을 것 같습니다. 스테이지 선택이나, 다음 레벨로 간다거나, 점수를 볼 수 있다거나, 점수가 기록된다거나 기타 등등요. 여하튼 너무 잘봤습니다. 군더더기 전혀 없는 최고의 강의라고 이야기 하고 싶습니다. 감사합니다^^
Reviews 8
∙
Average Rating 4.4
5
정말 모두에게 추천하는 최고의 코딩기초공부입니다+_+! 앞의 파이썬 기초 과정도 어려운 부분까지 쉽게 이해할 수 있는 좋은 예시를 통해 절대 포기하지 않고 빠짐없이 공부할 수 있도록 해주셔서 코딩을 지속적으로 취미로 배우는 데 많은 도움이 되었습니다. 코딩의 왕 기초 단계를 배울 때 어쩔 수 없으면서도 가장 아쉬운 부분 중 하나가 어렵고 생소한 이론을 많이 배운 것에 비해 이것을 실제로 어떤 응용 프로그램을 만들 때 어떻게 활용할지 경험해보려면 더 많이 배우며 기다려야 한다는 것인데... pygame의 다양한 기능을 아무것도 모르는 저도 잘 이해할 수 있게 꼼꼼히 가르쳐주신 덕분에 실제로 실행 가능한 게임을 만들어볼 수 있으니 코딩이 더욱 재미있어지고... 잘 짜주신 프레임을 조금씩 변형하고 응용하는 과정을 통해 스스로 더 배우고 더 복잡한 게임도 만들어보는 연습도 할 수 있었고요, 아래에 다른 분들도 말씀해주셨듯이 곡선을 그리며 튀는 공의 어려운 구조를 구현해내는 방법을 아주 쉽게 가르쳐주셔서 수학을 오래 전에 까먹은 사람들도 재미있게 접근할 수 있었습니다. 아, 예전에 x86 컴퓨터로 하던 어린 시절 컴퓨터 수업도 이렇게 재미있었다면 더 열심히 했을텐데요 ㅋㅋㅋ 정말 감사합니다^^
Reviews 2
∙
Average Rating 5.0
Reviews 3
∙
Average Rating 5.0
Reviews 3
∙
Average Rating 5.0
Free
Check out other courses by the instructor!
Explore other courses in the same field!