Lights

Finishing prototype

Tomorrow I have to pass documentation for my mobile development game. Development name “Carlos”.

Basic idea for the game is to move from place A to place B – but that is not so easy to do! There is labyrinth a.. and a evil sphere.. fine! I had no idea for the game, ok!

Well not simple enough to be build in less than a week, anyway. This was great background for developing simple Android Framework that will allow me to develop something more sophisticated in the future.

Last changes for lightning, music  and labyrinth model  and tomorrow documentation..

fingers crossed,

Ok, adding music is really easy!

what we need is variable

private MediaPlayer mp;

then in onCreate method

  mp = MediaPlayer.create(this, R.raw.run);
  mp.start();

and done!

you can as well add

mp.stop();
mp.pause();

Published by

Luke Iwanski

Senior Graphics Programmer @ CD Projekt RED

Leave a Reply

Your email address will not be published. Required fields are marked *