Showing posts with label game-development. Show all posts
Showing posts with label game-development. Show all posts

Friday, June 1, 2012

Tutorials and libraries for OpenGL-ES games on Android


What tutorials and libraries are available which can help beginners to develop 2D and 3D games on Android using OpenGL-ES? I'm looking for tutorials which can help me learn OpenGL-ES, and I'm looking for OpenGL-ES libraries which can make life easier for beginners in OpenGL-ES.

Sunday, May 27, 2012

Pacman: how do the eyes find their way back to the monster hole?


I found a lot of references to the AI of the ghosts in Pacman, but none of them mentioned how the eyes find their way back to the central ghost hole after a ghost is eaten by Pacman.

Thursday, May 10, 2012

Object pools in high performance javascript?


I'm writing some javascript code which needs to run fast, and uses a lot of short-lived objects. Am I better off using an object pool, or just creating objects as I need them?

Friday, April 27, 2012

iPhone board game: OpenGL ES or CoreGraphics?


I want to program a board game (similar to checkers) for the iPhone. Would OpenGL ES or CoreGraphics be a better option? What do most games of this type on the App Store use?

Wednesday, April 25, 2012

Game design in an OO manner


I'm designing a simple game, which uses Java 2D and Newtonian physics. Currently my main "game loop" looks something like:

Sunday, April 8, 2012

Corona SDK free alternatives


I tried corona sdk free edition, i really liked it. The problem is, that im not so good developer to use corona paid edition for my small project, i'm aware that i'll not earn my money back. Are there any free alternatives, like Corona? I'd prefer lua scripting, proper IDE and some other cookies.

Wednesday, March 7, 2012

How can you organize the code for a game to fit the MVC pattern?


I'm a freshman in college going for my computer science degree... I've programmed plenty the last several years but just lately I've been getting more into theoretical ideas about organizing code, design patterns, differences in languages, etc.

Saturday, February 25, 2012

I wrote a "Rock, Paper, Scissor, Shoot” game in one method using Java. I need help looping the program


I am able to loop the program, but each time I input a value it will return 2 values, the user winning and the user losing. I've experimented using multiple methods and creating a new class which was the tester, but had some problems figuring out the logic. As for loops, I have tried using a for loop, while, and do while.

Is it possible to switch focus from one GLKview to another without reloading everything?


I am making an opengl 2.0 based game for iPad where I have added support for external displays. I want the game to be able to hot-swap between the local display and the external display.

Tuesday, February 21, 2012

Making a dynamic sequence(in Java)


Hey guys im having a problem trying to program out a set of logic. I want to make a Go(the board game) problem. What i want my program to do is read in an xml file that represents a series of steps a person can make to complete the puzzle, or a even a dead end. So in the xml it would look something like

Tuesday, February 14, 2012

Two random number generators (card dealing)


I need help with this part of my code. This part deals with generating 2 random numbers and using that random number to display a card in each of 2 label boxes simultaneously. The problem here is the random numbers are not getting generated properly and thus cards are not displayed properly (there is repetition, sometimes no display, etc)