Skip to content

Paulo-Jorge-PM/Language_Game_Cocos2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game for learning a language [prototype]

screenshot

screenshot

This software is a prototype made for my Master’s degree: a foreign language teaching tool. It is a concept for a pedagogical videogame with the objective of teaching children a foreign language. It is based on the retro Snake mechanics, but with words and images as objectives, were the user needs to collect letters of words in a foreign language when they catch an object, an animal, etc. When they catch for example a “cow”, a full image of it will appear with the complete word letter by letter and a voice pronouncing it, creating a mental association between words, images, sound and written format. Rocks served as obstacles, if the user touched them he would lose points. In theory this concept could be used to learn a new language from scratch in a fun way. I had plans to create enemies on screen, power-ups, and a mini-story from level to level, but I had not yet time to extend the concept. One day I plan to implement this concept in a commercial finished product, but this first version is in open-source serving as a concept for a pedagogical language teaching tool.

Note: originally the rocks would reduce points and an explosion sound/animation would fire, at the time it worked. More than 6 years have passed since then (at the time of writing this we are in 2018), and today I tested this with the most recent libraries of Cocos2D and Pyglet, and for some reason when the user touches a stone the game crashes. I know the cause (it is a bug OpenGL related) but this is only a concept, a first draft, so will not bug hunt, if I finish it someday I’ll correct it, until then don’t crash against the rocks.

License: you can do anything except make commercial versions out of this concept. For nonprofit objectives this is open-source.

How to run:

If you don't have Python installed simply run the file "main.exe" - I compiled it from the Python source with Pyinstaller: "pyinstaller.exe --onefile --windowed main.py" Note: I have not tested it in the .exe format.

To run the source code like a boss the only requirements are: -An installed version of Python 2.7 (not tested with other versions) -Pyglet -Cocos2D

To get pyglet just do in the comand line (having Python's pip instaled):

pip install pyglet

The same with Cocos2D:

pip install cocos2d

Then just run the file "main.py".

How to play:

Arrow keys (up, right, down, left) control the movement; spacebar makes it run faster; enter pauses the game. Don't touch the rocks; gems give points; catch the little cow sprite and after that a screen will appear with the full word - after that you need to catch the letters in the correct order.

Contacts:

My Homepage: www.paulojorgepm.net

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages