Author Topic: Alien Runner W.I.P  (Read 65481 times)

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Alien Runner W.I.P
« Reply #45 on: August 26, 2010, 11:02:35 pm »
i guess so. DIP based or similar..

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Re: Alien Runner W.I.P
« Reply #46 on: August 27, 2010, 05:48:04 pm »
In OGL 1.0 or 1.1 I can not use shadows and reflection? or just jPCT for android do not support it? If I look on Nova or Need for speed for android, both games use reflections... and Quadrant benchmark have shadows... I found another grafic engine on http://www.imgtec.com/powervr/insider/powervr-demos.asp , but it is very complicated for me...

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Alien Runner W.I.P
« Reply #47 on: August 27, 2010, 08:48:47 pm »
In 1.0/1.1, you can do stencil shadows if the hardware/driver supports it. This is what the Quadrant demo uses (judging from the screen shots, it just crashes on my phone). jPCT-AE (as well as jPCT) doesn't support stencil shadows, because their use is limited, they have several drawbacks and are computational intense, because you have to recalculate the shadow silhouette of each object for each frame (i.e. determine the "edge" where an objects polygons switch from front to back facing and extrude this into the scene). Stencil shadows are hardly used today. Doom 3 was using them as well as F.E.A.R, but i don't know of any other game that does.
Today, shadow mapping is being used most of the time and you can't that in 1.0/1.1

Concerning reflections: All reflections i've seen so far in OpenGL ES 1.0/1.1 were simply flipped geometry approaches. The idea is simple: Just render the same geometry that if above the reflecting surface again below the reflecting in a mirrored way. You are free to do this in jPCT-AE, it's just pretty costly, because you render the whole scene twice into a full blown frame buffer.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Alien Runner W.I.P
« Reply #48 on: August 28, 2010, 12:30:01 am »
i guess so. DIP based or similar..
Its actually another problem caused by the translation from 2D touch coords into 3d player coords. I tried to improve it, but it's very hard to test on my phone, because it plays like shite when using the touch screen in that manner. Can you give it a try and report back, if it's any better  ???

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Alien Runner W.I.P
« Reply #49 on: August 28, 2010, 12:51:08 am »
it's better but it still sometimes vibrates. couldnt find the pattern, just sometimes happens. not too much

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Alien Runner W.I.P
« Reply #50 on: August 28, 2010, 09:35:30 am »
 I know the reason, i just have to find a proper to fix it... ??? Thanks for testing.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Alien Runner W.I.P
« Reply #51 on: August 28, 2010, 08:27:27 pm »
Uploaded a new version. Any better now?

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Alien Runner W.I.P
« Reply #52 on: August 28, 2010, 09:11:28 pm »
yes, definetely. no vibration at all at N1

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Alien Runner W.I.P
« Reply #53 on: August 28, 2010, 09:28:21 pm »
Good, it seems to be fixed then... ;D Thanks again for testing.

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Alien Runner W.I.P
« Reply #54 on: August 28, 2010, 09:39:22 pm »
no problem at all. it's nice to see how you progress ;)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Alien Runner W.I.P
« Reply #55 on: September 30, 2010, 11:46:13 pm »
Has some simple sound effects now. I tried to add music too, but it either needed too much memory or was annoying because it looped after a few seconds, so i finally decided against it.

BTW: Use ogg, not wav when using the SoundPool...

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Alien Runner W.I.P
« Reply #56 on: October 07, 2010, 11:30:19 pm »
I've published it in the Android market as a kind of preview version after finishing the third level to see how it goes and to get some feedback.



market://search?q=pname:com.threed.jpct.games.alienrunner



« Last Edit: October 08, 2010, 09:33:35 pm by EgonOlsen »

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Alien Runner W.I.P
« Reply #57 on: October 14, 2010, 07:19:59 pm »
sounds fit very well too. looks and runs quite fine on N1.

how do you display the loading screen? another view or blitting image to frame buffer before anything else is loaded?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Alien Runner W.I.P
« Reply #58 on: October 14, 2010, 08:44:13 pm »
Yes, it's just blitting something else before the rest is loaded with some sleep time to give the loading thread the cpu power it needs.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Alien Runner W.I.P
« Reply #59 on: October 17, 2010, 09:43:55 pm »
@anybody with a higher res device: Does the sky look right? Because it actually should as it's scaled according to the framebuffers width. But it doesn't look good in the emulator, hence the question...