Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 18 Apr 2008
Offline Last Active Sep 13 2012 03:12 AM

Topics I've Started

Landscape to fly over

01 September 2012 - 05:14 AM

This answer to this question may be long, but I just need bullet points actually.

I am an absolute noob when it comes to graphics programming, but to get started all I want to do is to create a 3D landscape that I can "fly" over.

What are the steps involved in accomplishing something like that?


Want to explore web game programming with my kid

28 April 2010 - 10:57 PM

So, I was wonder what technology/language you people would suggest that would be easy enough for a 12 year-old to learn in order to create simple web games, like space invaders, tetris, etc? If the programming bug bites, I may move him on to XNA, but I want to keep the introduction as simple as could be. Flash? Java? Any other that I am not aware of? Thanks for your time! Tuppe

Select a cell in a grid

18 April 2008 - 09:47 AM

My 10 year old son wants me to write a game with and since I am not very experienced in the area,I would like to have some algorithm advice if anybody can provide it ;) I have a 10 x 10 grid of cells on the screen and I would like each one of them to highlight when the mouse moves over it and of course dim again as the mouse leaves the area. Each cells is an object with member variables x,y,width and height, so I created a list of 100 cell objects, each with the appropriate values in the member variables as needed to display it 10 x 10. The question I have is: Is there an algorithm or some advice some of you gurus can provide me with to effiently determine over which cell the mouse pointer currently is? The only way I can think of doing it, is to traverse through the object list every time and work out if the mouse_x, and mouse_y falls within the boundaries of a cell, but that seems to be such an inefficient way of doing it, because it has to be done every time the mouse moves. Any ideas?