Exobyte Smartphone Games
  • Home
  • Articles
  • Contact
  • About
  • app-ads

Back at it

9/26/2005

0 Comments

 
After a holiday its always a bit difficult to pick up where you left off. I've started with something simple and added another terrain type, marshland. Its quite fun and is another opportunity to show off the water splash effect without having to drive into the sea.

I'm planning to have a good coding session tomorrow night. My target is to get all my heads up display code working. The speedo on the right is done, there will also be a radar display at top left, damage report at top right, fuel guage down the left side and device activation buttons along the bottom of the screen.

Screenshots when its done!
0 Comments

Week off

9/13/2005

0 Comments

 
Picture
I'm going to be on holiday for a week as from tomorrow. I'm not taking the laptop as I think it will do me good to get away from PCs for a week. I've added in a speedometer and the next thing to put in will be the local radar display.

After that I'll work on the weaponry. Here's the ten weapons that will be available in the game.


0 Comments

Back on track

9/7/2005

0 Comments

 
The code to make the car react to the terrain its moving over is all working now and its looking good. The car moves faster on roads, dust flies up when you drive over desert, water sprays up when you move into water and the car slides all over when driving on snow. Its all looking good and I'm very satisfied with it.
0 Comments

One down...

9/6/2005

0 Comments

 
I've solved the problem I was having with my vector. It took a lot of searching, but my suspicions were confirmed, iterators on vectors are usually killed by a push_back to the same vector. This is because the vector often has to resize the amount of memory its allocating on a push_back which causes the iterator to reset. The solution was to reserve enough space for the vector beforehand so that the push didn't trigger a resize. Its working very well now and I have clouds of dust being thrown up be the vehicles. I'll use the same method to have spray shooting up when the vehicle enters water. I just need to fix the code to determine terrain type now.
0 Comments

A couple of setbacks

9/2/2005

0 Comments

 
Picture
I've been working on the code to make the vehicles respond to the landscape that they are travelling across and hit a couple of setbacks. The first involves identifying what kind of terrain the vehicle is on, I was planning on using the GetPixel function to determine the terrain, but this only works on the screen and not on the backbuffer and by the time I've updated the screen the landscape under the car is obscured from GetPixel. Instead I think I'm going to have to use pointer arithmetic on the tile surfaces to find the colour at a given coordinate.

The other problem I've got is with STL vectors. I'm getting memory access violations when trying to add new items to the vector that stores all of the sprites. I think the problem is that I'm pushing a new item onto the vector whilst iterating through the same vector with an iterator. The iterator seems to lose track of where its current object is. I'm going to investigate whats happening more at the weekend as I find it hard to believe that you can't push a new item onto a vector while iterating through it.

In the meantime, here's a screengrab from the game showing some trees and wrecks.

0 Comments

    Archives

    February 2010
    February 2007
    November 2006
    August 2006
    March 2006
    February 2006
    January 2006
    December 2005
    October 2005
    September 2005
    August 2005
    March 2005

    Categories

    All

    RSS Feed

Privacy Policy
Terms and Conditions


​All content copyright Exobyte Ltd 2012-2021