3D StreetLuge

Started by leethegee1, June 30, 2011, 01:32:24 PM

Previous topic - Next topic

leethegee1

Hi Good People

i hope i am posting this in the rite place if not i am Sorry

this is the New game i have made using the Super Fantastic JPCT engine

firstly Thank You to  Everybody in this forum, for the Massive help i have received especially the patient and wonderful EgonOlsen

free download here

http://market.android.com/search?q=pname:com.cg4k.street.luge

Many Thanks Again

lee



[attachment deleted by admin]
SaveTheFrogs

EgonOlsen

You should use your own package, not com.jpct.threed.example. Android can only install one App per package, i.e. in your case, nobody that has the example installed can install your game (including me)... :(

leethegee1

SaveTheFrogs

leethegee1

Hi Egon

it Should be working now... Thanks Again for you Great work and for all of your Help

lee

SaveTheFrogs
SaveTheFrogs

leethegee1

#4
its all working now i Hope
SaveTheFrogs

EgonOlsen

I installs fine now, but it's unplayable (Nexus S). Am i supposed to control this with tilt controls? It seems to turn around randomly...i can't stand still...and finally, i drive (or better: spin) out of the level and fall into the abyss.

leethegee1

Hi Egon

Thanks for trying the game and giving me your feedback... its much appreciated ... i'm Sorry you fell into the Abyss hehe.. my Java Coding Knowledge is about as good as my English... it worked just fine on my old Skool Nexus 1...

i have made some updates at the same link Above

i think the problem is that your New Fancy NexusS runs faster than my poxy Nexus 1

so i have put a proper timer in

code
if(start==1&&finish==0){
if (System.currentTimeMillis() - time >= 10) {
time = System.currentTimeMillis();
move();/////controls movement of luge   
}

i have also changed the rotation method of the luge from..
cube=Luge and mGravity=Accelerometer data
code.....
cube.rotateY((float) Math.toRadians(mGravity[1]/2));

to........
cube.rotateAxis(cube.getYAxis(),(float) Math.toRadians(-mGravity[1]/2))

Hope it works now
Thanks Again Egon

lee

SaveTheBeezzzz
      




SaveTheFrogs

EgonOlsen

Still unplayable, i'm afraid. It's better now as i don't fly off the track in light speed now, but the control still suck. It just stutters in some random direction...looks like as if it needs some sensor calibration or something. It behaves like old DOS games, when your joystick wasn't calibrated correctly.

BTW: Why are you making it so difficult to access it? Why don't you upload the apk instead of a zip?

leethegee1

Hi Egon

Ooo Dear ... thanks for trying it again ... i have upload update... i  cleaned up the accelerometer and added accelerometer value "AV" readout on the screen below the timer.....when tilting the phone left it should read from 71 to 78 ..and when tilting Right it should read from 1 to 7.... However if you are sitting next to your computer when playing the magnetic field that your computer gives out can play havoc with the accelerometer so this could be the problem.... as for why i upload a Zip file for some reason my website when i uploaded it as .apk it doesn't give download option...Also for both the zip and apk.... when i tryed to make it a click able link.... it took me to some random buy this,buy that, site   

Honest it works fine on my Phone
thanks again Egon U Rock

lee

SaveTheFrogs

EgonOlsen

It has improved a little...but it still plays like using an uncalibrated joystick and it still is unplayable that way.

leethegee1

Hi Egon

i have release the game on the market for better or worse... i thought with more people downloading it can get to the bottom of the Bug you found

Many Thanks

lee
SaveTheFrogs

dutch_delight

#11
I had a similar proplem with my game when i (system) updated my phone recently. (nexus S) It worked absolutely fine before but then after the update it gave a similar effect to what Egon describes.

If i remember correctly it turned out that my pitch controls needed to be inside an if check like so:

public void onSensorChanged(SensorEvent event) {
final int type = event.sensor.getType();

if (type == Sensor.TYPE_ORIENTATION) {
orientationData = event.values.clone();
azimuth = event.values[0];
pitch = event.values[1];
roll = event.values[2];
}
}

hope that helps