A
A
Anton Mikhailov2013-12-09 22:44:44
Python
Anton Mikhailov, 2013-12-09 22:44:44

What libraries to learn to create a 2D game?

At a school near my house, the computer science teacher went on maternity leave. I was asked to lead computer science and a programming circle. Previously developed programs in Pascal, C, PHP. Agreed to help.
1. The teacher, unfortunately, did not really tell the kids anything. The kids played around in class or didn't go at all. At the last lesson, the children stated that they were watching a movie on the net. At first I thought it was some kind of science film. In fact, it turned out that they watched the movie "The Social Network (about Facebook)".
2. In fact, most of the students turned out to be quick-witted. Grab the basics of programming on the fly. Apparently a lot depends on how you tell it.
3. Since the guys missed a lot both in computer science and programming, I thought about how to speed up the learning process. At the same time that he was interesting to them. First, I asked everyone on the topic to create a presentation, a mini essay. As a result, the guys did almost nothing and attendance began to fall. In the corridor, I caught a glimpse of them talking about how it would be great to make a toy that could be uploaded to the appstore and android store.
4. At the lesson, I suggested that they come up with a game and that we will develop it together. You should have seen their shining eyes... Actually, thanks to the game, I will close three topics at once (programming, databases, website creation) and a dozen more computer science topics in passing.
For myself, my goal is to learn Python and help students develop a toy. I would like the game to be ported to major operating systems and mobile platforms. Since I'm already planning to lead a robotics circle, I chose python.
The students will make a 2d game, lvl 1, something like a mario game. Where the character collects cubes falling from above.
We will analyze the logic, I will tell you the basics of python. We will analyze the work with sprites.
The question remains in the library with which to work. So that there are fewer problems with porting in the future. I am currently learning Pygame.
Actually, I ask you to suggest which libraries are worth studying. What you should pay attention to.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
MAXH0, 2013-12-09
@Informatikum

Poor fellow!
Do you understand what you signed up for?
1. As I understand the principle - first we set a goal, then we begin to study ourselves, then we teach children ...
A bad principle in terms of methodology. It's like a literacy course - when 5 people were taught one letter, and the next day they learned five each. It seems to be effective, but it multiplies errors and half-knowledge.
2. To organize team development in the classroom is hell. Even if the class is small 15 students as it should be in computer science. The children's team has its own leaders and outsiders, different levels of knowledge, different rates of mastering the material.
3. Problems with the school course will come up. For example, children understand the vector very vaguely - although they passed.
4. It's hard to break down game development into lesson topics. Inevitably, some important things will be skipped (because they are not important for the development of the game), and the mechanical ones will have to spend the bulk of the time.
Threat as you understand - I was doing something similar but in JS

D
Damir Makhmutov, 2013-12-09
@doodoo

I won’t say anything sensible, I just want to say how cool it is to teach children who want to listen to you. And yes, it's cool to share your knowledge :)

D
dr_brain, 2013-12-10
@dr_brain

once, a long time ago, led labs on OpenGl for students.
The first lab we simulated the special effects from Quake2 (everyone played, everyone liked it)
a railgun shot, a rocket flight, a pistol shot, an explosion, I don’t remember what else.
code there, usually was a couple of pages. The result is important immediately, and then the eyes will burn :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question