25.11.2014 Views

Treball de recerca - IES Narcís Monturiol

Treball de recerca - IES Narcís Monturiol

Treball de recerca - IES Narcís Monturiol

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.5.3 Impressió <strong>de</strong> l'objecte “dad”.............................................................................21<br />

4.5.4 Rotació d'acceleració........................................................................................21<br />

4.5.5 Inclinació..........................................................................................................22<br />

4.6. Arrancada <strong>de</strong>l joc........................................................................................................22<br />

4.6.1 Resolució configurable.....................................................................................23<br />

4.6.2 Variables Globals...............................................................................................24<br />

4.6.3 Textura <strong>de</strong> ví<strong>de</strong>o d'arrancada............................................................................25<br />

4.7. Menú <strong>de</strong> selecció........................................................................................................26<br />

4.7.1 Menús per nivells..............................................................................................26<br />

4.7.2 Animacions i funcions <strong>de</strong>ls menús...................................................................27<br />

5. Python: Mo<strong>de</strong> Online.........................................................................................................29<br />

5.1 Teoria <strong>de</strong> les xarxes i Internet......................................................................................29<br />

5.1.1 Tipus d'IPs........................................................................................................30<br />

5.1.2 Ports..................................................................................................................31<br />

5.2 Sockets.........................................................................................................................32<br />

5.2.1 L'“Hola Món” <strong>de</strong>l socket..................................................................................32<br />

5.2.2 Xat amb múltiples clients.................................................................................34<br />

5.2.3 Implementant la BGE.......................................................................................37<br />

5.2.4 Implementant la BGE II. .................................................................................38<br />

5.2.5 Test final i <strong>de</strong> rendiment....................................................................................40<br />

6. No és el final........................................................................................................................40<br />

6.1 La web <strong>de</strong>l projecte......................................................................................................40<br />

6.3 Conclusions..................................................................................................................41<br />

6.4 Webgrafia.....................................................................................................................42<br />

7. Annexos..................................................................................................................................1<br />

A. Imatges <strong>de</strong>l joc.................................................................................................................2<br />

B. Codi font: Bubble Racer v0.31........................................................................................4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!