Projects/abcube: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(Add video of latest game progress)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== This project has been discontinued, instead check [[EvilToys]] game ==
--[[User:Atphalix|Atphalix]] 12:00, 10 February 2012 (UTC)

{{userboxtop|toptext=ABC Cube}}
{{userboxtop|toptext=ABC Cube}}
{{OBX activity|Games}}
{{OBX activity|Games}}
{{OBX team|[[User:atphalix|atphalix]]}}
{{OBX team|[[User:atphalix|atphalix]]}}
{{OBX license gnu|gpl|2.0}}
[http://abcube.googlecode.com/files/quake.xo .xo bundle]
{{userboxbottom}}
{{userboxbottom}}





Line 9: Line 15:
** '''Project Number''': #39624
** '''Project Number''': #39624


* '''Description''': ABC Cube is a 3D FPS educational game for learning numbers and alphabet based on Quake 1 engine.
* '''Description''': ABC Cube is a 3D FPS educational game for learning numbers and alphabet based on [http://en.wikipedia.org/wiki/Quake_game Quake 1] engine.


The game consists of shooting cubes with letters/numbers on them and every time the player shoots one he
The game consists of shooting cubes with letters/numbers on them and every time the player shoots one he
Line 16: Line 22:
the quake1 game engine was chosen for it's ease of modification and for its network capabilities that would make the project usable as a base for making other kind of innovative 3D games and activities for the laptop.
the quake1 game engine was chosen for it's ease of modification and for its network capabilities that would make the project usable as a base for making other kind of innovative 3D games and activities for the laptop.
As a matter of fact, success in bringing the 3D to the XO through software rendering would be a great proof of concept as well as a base to start other 3D appliances upon the technical foundations of abcube.
As a matter of fact, success in bringing the 3D to the XO through software rendering would be a great proof of concept as well as a base to start other 3D appliances upon the technical foundations of abcube.
We are currently waiting for the test machine that was sent to us to arrive in order to publish actual screenshots of abcube running on the XO and to be able to do some benchmarking on the real hardware and measure our success.


* '''Status'''
* '''Status'''
** 70% completed
** 70% completed
** 1 Laptop requested for 3 months for testing purpose.(approved)
** 1 Laptop requested for 3 months for testing purpose.(approved)
** Project homepage: [http://code.google.com/p/abcube/ | http://code.google.com/p/abcube/]
** Project homepage: [http://code.google.com/p/abcube/]

** Early screenshot: http://bayimg.com/GaoOaAaBP
I received the laptop and did some testing: the quake 1 game work as expected at 800x600 but it get slower with the full resolution of the xo (1200x900).
I'm working on that problem now, I'll post some screen shots soon.--[[User:Atphalix|Atphalix]] 15:22, 18 June 2009 (UTC)

== How to install Quake bundle ==

'''This file is for testing only, USE AT YOUR OWN RISK !!'''

Click [http://abcube.googlecode.com/files/quake.xo .xo bundle] to download the original Quake game packaged for the xo. Then install the [[Browse#Install_an_activity|activity as usual.]]

== How to play Quake in fullscreen ==

In order to play the game in fullscreen and at a playable speed you need to lower the XO screen resolution from 1200x900 into 800x600.
to do that the game use a script to switch the resolution on the fly to 800x600 while playing the game and then back to 1200x900 when you quit
the activity.
First you'll need to install the latest driver using:

rpm -vU ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/updates/10/i386/xorg-x11-drv-geode-2.11.0-1.fc10.i386.rpm

then run those commands, that will add a new 800x600 screen resolution
you can also add this commands to .xinitrc file so they will be run each time you boot

xrandr --newmode 800x600 0 800 0 0 0 600 0 0 0
xrandr --addmode default 800x600

and then launch the activity.

== Get the source code (for Developers)==

First you will need to install some packages to compile (it's better to do those steps outside of our xo laptop as to save space, as they are going to download a bunch of packages):
yum install subversion
yum install make
yum install gcc
yum install SDL-devel
and checkout the main repository with:
svn checkout http://abcube.googlecode.com/svn/trunk/ quake
cd quake/sdlquake-1.0.9 && ./configure && make
cd ..
./makebundle # to generate a .xo file
and just copy the .xo file to your xo laptop, install it like any other activity.

== Help ==

Don't post your questions on this wiki page, you can use the discussion page for that or better
use the forum thread on olpcnews.That way if there is a solution it will benefit everyone.
== Links ==
* [http://www.olpcnews.com/forum/index.php?topic=4489.0 olpcnews forum post]
* [http://code.google.com/p/abcube/ Project homepage at google code ]
* [http://olpc-maroc.blogspot.com/ Project blog ]
== Project progress ==
Finnaly the original quake1 game demo is running at fullscreen on the laptop!
[http://www.flickr.com/photos/29197159@N07/tags/xo/ latest screenshots are on flickr]
[http://www.youtube.com/watch?v=Vc00xjMO0a8 and video on youtube]

== Early Video of Quake 1 played on the XO-1==
<youtube>Vc00xjMO0a8</youtube>

== Video of Quake 2 played on the XO-1==
<youtube>cw0NkjAa51M</youtube>

== EvilToys: 3D Mine Risk education game on the XO-1 (final version) ==
--[[User:Atphalix|Atphalix]] 10:38, 31 August 2012 (UTC)
<youtube>hzURnagB-d8</youtube>




Line 29: Line 96:
** '''Contact''': atphalix@inbox.com
** '''Contact''': atphalix@inbox.com
** '''Country''': Salé, Morocco
** '''Country''': Salé, Morocco
** '''Time zone''':‭ ‬UTC+1
** '''Time zone''':‭ ‬UTC


** '''Name''': Islam Abou El Ata
** '''Contact''': islam@mandriva.co.ma
** '''Telephone''': 00212640268240
** '''Country''': Salé, Morocco
** '''Time zone''':‭ ‬UTC+1

Latest revision as of 10:38, 31 August 2012

This project has been discontinued, instead check EvilToys game

--Atphalix 12:00, 10 February 2012 (UTC)
ABC Cube
Games

.xo bundle


  • Project
    • Name: ABC Cube
    • Project Number: #39624
  • Description: ABC Cube is a 3D FPS educational game for learning numbers and alphabet based on Quake 1 engine.

The game consists of shooting cubes with letters/numbers on them and every time the player shoots one he hears the sound of the letter or the number which helps in memorizing it. The technical challenge of this project is to overcome the physical/hardware limitations of the xo laptop hardware (no OpenGL hardware 3D acceleration) to make a true 3D game with software rendering only. the quake1 game engine was chosen for it's ease of modification and for its network capabilities that would make the project usable as a base for making other kind of innovative 3D games and activities for the laptop. As a matter of fact, success in bringing the 3D to the XO through software rendering would be a great proof of concept as well as a base to start other 3D appliances upon the technical foundations of abcube.

  • Status
    • 70% completed
    • 1 Laptop requested for 3 months for testing purpose.(approved)
    • Project homepage: [1]

I received the laptop and did some testing: the quake 1 game work as expected at 800x600 but it get slower with the full resolution of the xo (1200x900). I'm working on that problem now, I'll post some screen shots soon.--Atphalix 15:22, 18 June 2009 (UTC)

How to install Quake bundle

This file is for testing only, USE AT YOUR OWN RISK !!

Click .xo bundle to download the original Quake game packaged for the xo. Then install the activity as usual.

How to play Quake in fullscreen

In order to play the game in fullscreen and at a playable speed you need to lower the XO screen resolution from 1200x900 into 800x600. to do that the game use a script to switch the resolution on the fly to 800x600 while playing the game and then back to 1200x900 when you quit the activity. First you'll need to install the latest driver using:

rpm -vU ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/updates/10/i386/xorg-x11-drv-geode-2.11.0-1.fc10.i386.rpm

then run those commands, that will add a new 800x600 screen resolution you can also add this commands to .xinitrc file so they will be run each time you boot

xrandr --newmode 800x600 0 800 0 0 0 600 0 0 0
xrandr --addmode default 800x600

and then launch the activity.

Get the source code (for Developers)

First you will need to install some packages to compile (it's better to do those steps outside of our xo laptop as to save space, as they are going to download a bunch of packages):

yum install subversion
yum install make
yum install gcc
yum install SDL-devel

and checkout the main repository with:

svn checkout http://abcube.googlecode.com/svn/trunk/ quake
cd quake/sdlquake-1.0.9 && ./configure && make
cd ..
./makebundle # to generate a .xo file

and just copy the .xo file to your xo laptop, install it like any other activity.

Help

Don't post your questions on this wiki page, you can use the discussion page for that or better use the forum thread on olpcnews.That way if there is a solution it will benefit everyone.

Links

Project progress

Finnaly the original quake1 game demo is running at fullscreen on the laptop! latest screenshots are on flickr and video on youtube

Early Video of Quake 1 played on the XO-1

<youtube>Vc00xjMO0a8</youtube>

Video of Quake 2 played on the XO-1

<youtube>cw0NkjAa51M</youtube>

EvilToys: 3D Mine Risk education game on the XO-1 (final version)

--Atphalix 10:38, 31 August 2012 (UTC) <youtube>hzURnagB-d8</youtube>


  • Contact
    • Name: Ahmed Mansour
    • Contact: atphalix@inbox.com
    • Country: Salé, Morocco
    • Time zone:‭ ‬UTC