www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: EgonOlsen on April 24, 2010, 12:25:45 am

Title: Started to write some game prototype...
Post by: EgonOlsen on April 24, 2010, 12:25:45 am
I used some classes from Robombs to create a very early prototype of some game. I'm not sure what exactly this is going to be. Right now, you can make this white sphere jump around in the level by pointing to the new position. The idea is to create a kind on indirect movement, where you just specify the target location, not the exact path to it. This is because i'm unhappy with ~90% of the controls that i found in games for Android and i *think* that this might work better for some kind of games. Anyway, it looks like this (it runs a bit faster on the actual device, around 20 fps):

(http://www.jpct.net/jpct-ae/img/prototype.jpg)
Title: Re: Started to write some game prototype...
Post by: zammbi on April 24, 2010, 06:18:56 am
Looks good, I'm happy to test when your ready :)
Title: Re: Started to write some game prototype...
Post by: EgonOlsen on April 26, 2010, 09:42:58 pm
The prototype has improved somewhat and now looks like this (screen shot taken from the actual device):

(http://www.jpct.net/jpct-ae/img/prototype2.png)

In the screen shot, you can see a part of the level, the player and some flags that mark the path to the choosen target towards which the player is moving.

I've learned several things while coding this:

Title: Re: Started to write some game prototype...
Post by: zammbi on April 27, 2010, 03:46:08 am
Could make it that you need to collect all gems/coins in a stage while avoiding death by traps, enemies and what not.
Basically a puzzle game.
Title: Re: Started to write some game prototype...
Post by: EgonOlsen on April 27, 2010, 11:58:22 am
Yeah, something like that...
Title: Re: Started to write some game prototype...
Post by: dl.zerocool on April 27, 2010, 03:20:20 pm
it looks great ! :)
Title: Re: Started to write some game prototype...
Post by: dl.zerocool on April 27, 2010, 05:45:48 pm
At the moment I'm fighting with sensors...
I don't understand how to detect if the screen is looking to sky (user looking to the ground) and when the phone is turned screen down (user looking to sky).
Using sensors is real mess !

EDIT :
found something very useful to understand how it works.
http://code.google.com/p/androgames-sample/
Title: Re: Started to write some game prototype...
Post by: EgonOlsen on April 27, 2010, 09:05:37 pm
Might be useful. However, i'm not going to use tilt controls as i don't really like them for most games (they are ok for some ball games though). While playing, i want to look directly at the screen...not in some weird  angle just because i'm trying to move the player.
Title: Re: Started to write some game prototype...
Post by: dl.zerocool on April 27, 2010, 09:11:36 pm
I understand, but our goal is to imitate augmented reality without using picture detection.
We just use sensors to move around :) 

Of course it's less precise, but lot's more easy in the time we have :)
Title: Re: Started to write some game prototype...
Post by: fir3d on May 10, 2010, 06:40:51 pm
any chance of an apk demo. I saw the test app on the android page and was amazed. I like to see the possibilities of the phone. I'm still learning making basic android applications, hopefully then I can dive into some graphics.
Title: Re: Started to write some game prototype...
Post by: EgonOlsen on May 10, 2010, 09:49:46 pm
Maybe later. I still have no good idea what kind of game to make based on this...if any...