SimpleRPG: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (New page: == Objective == This is a simple game intended to be used as a tutorial on building a client-server RPG-style game with Pygame, and will be more generally usable as a programming, game de...)
 
mNo edit summary
Line 5: Line 5:
== Code ==
== Code ==


Roberto has licensed all his code under the LGPL. We're in the process of getting [[Project hosting]] but for now download the code here:
Roberto has licensed all his code under the LGPL. We're in the process of getting [[Project hosting]] but for now the code can be downloaded [http://wiki.laptop.org/images/1/17/Simple_mmorpg.tar.gz here].


=== How to run it ===
=== How to run it ===


It's a very simple game - you'll mostly be able to walk around the forest.
It's a very simple game - you'll mostly be able to walk around the forest. To do this:


# download the code
# download the code
# unzip the package (tar -xzf simple_mmorpg.tar.gz)
# unzip the package
# run the server code (python server.py)
# run server.py (it will continue running - don't stop it!)
# while the server code is running, run client_working.py
# use the arrow keys to move


From the terminal of a Linux machine...
On a machine

wget http://wiki.laptop.org/images/1/17/Simple_mmorpg.tar.gz
tar -xvf Simple_mmorpg.tar.gz
python server.py &
python client_woring.py


== Todo ==
== Todo ==

Revision as of 15:56, 6 May 2008

Objective

This is a simple game intended to be used as a tutorial on building a client-server RPG-style game with Pygame, and will be more generally usable as a programming, game development, and Activity development tutorial as we work on it further. The target audience is new developers 12 and up.

Code

Roberto has licensed all his code under the LGPL. We're in the process of getting Project hosting but for now the code can be downloaded here.

How to run it

It's a very simple game - you'll mostly be able to walk around the forest. To do this:

  1. download the code
  2. unzip the package
  3. run server.py (it will continue running - don't stop it!)
  4. while the server code is running, run client_working.py
  5. use the arrow keys to move

From the terminal of a Linux machine...

wget http://wiki.laptop.org/images/1/17/Simple_mmorpg.tar.gz
tar -xvf Simple_mmorpg.tar.gz
python server.py &
python client_woring.py

Todo

  • translate documentation from Portuguese to English (Mchua, should be done Wed. May 7, 2008)
  • redraw creatures

Resources

All images are under a free license, just can't find the license of scenes (copylefted): http://www.lostgarden.com/2006/07/more-free-game-graphics.html

creatures are from there: http://www.lorestrome.com/pixel_archive/main.htm (this license allows free use just for non-commercial only, so we should make new creature images)