Archive for the ‘Mobile Devices’ Category

Friday 03 April – Sound, Options and finishing the game After getting Bluetooth done yesterday I spent most of today refactoring and adding small features. I began by adding sound, on researching this it seemed to be only 3 lines of code to set up a sound manager and to play the wav file. I [...]

Thursday 02 April – Bluetooth I spent most of today trying to figure out why it was missing the first move. I ended up re writing the Bluetooth about 6 times trying many different ways of sending and receiving the data. I wrote lots of diagrams on paper to help try and solve the problem. [...]

Wednesday 1st April – Scores, Refactoring and Bluetooth The basic game was nearly done now it just needed scores. I researched text to screen and found it very easy to implement. I had it displaying “You sank the enemy’s Battleship” when the life of the AIs battleship equalled 0. I had a few issues with [...]

Tuesday 31st March – Ship Placement, New Grid, Scores I spent most of today working out how to get the ship placement more like battleships. I needed a template for the Aircraft carrier like highlighting 3 cells. I initially made it so you select your cell and it places/sets the cell to the left of [...]

Monday 30th March – Game Logic +AI Today I started by looking at Layer Manager which allows you to place backgrounds and sprites or any images close or further away from the screen. Behind or in front of each other. This gives the illusion of distance and depth. I created a target that will be [...]

Sunday 29th March – The start Today I started my Battleships project, I started off by planning out what to do. I wrote down a few ideas for implementation of battleships. I decided to go with the approach of making one grid to start off with, this will make it easier for me to develop [...]

After getting full approval on my Mobile Battleships Game i will start work on making it. I will be updating my progress in the form of development diarys i aim to get the game completely finished with bluetooth play in 1 week. I have planned out the different phases each with milestones to hit. Keep [...]

Mobile Devices Week 6

Posted: March 15, 2009 in Mobile Devices

This week i looked at different types of connection. We were given tasks to have a go at retrieving data from the university website. After getting this working there was a task of reading a text file which contained 2 different URLs to do this i needed to read the text file and store it [...]

Mobile Devices Week 5

Posted: March 1, 2009 in Mobile Devices

This week we looked at the MIDP Record Store. This allows you to store persistent data such as High score tables. The role of the record store is to store multiple records even after the midlet has been destroyed. It even keeps the data when the device has been restarted or the battery has been [...]