Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Parezator

Pages: [1]
Projects / Re: Akarun
« on: September 29, 2012, 11:42:47 am »
I wouldnt mind at all, id be grateful. Thank you :) When its done ill post a google play link.
Ill try to fix the bug in free time but now im going to be afk for a week.

Thanks for sending the time.
Im glad to hear that, i thought it would take much less time.

Apk updated.
Bug with turning off the screen is propably solved (i think it was garbage collector messing with textures). So ive done some changes. Im not really sure what caused the Egon's issue and im not able to reproduce the problem on my phone. If you can do it again, could you please send a log?

And one question:
Do you think this kind of game needs sounds or music? I dont know many (if even any) people who plays those games with sound turned on.

Projects / Re: Akarun
« on: September 28, 2012, 07:49:05 pm »
Im studying here:

Thanks for bug report, ill look at it.

Projects / Akarun
« on: September 28, 2012, 06:56:45 pm »
for a couple weeks ive been working on logic game Akarun (may be not the final name). When its done i will use it as my last year high school project.
Why im posting it undone? I need some feedback.
Especially im looking for:
-How does it look on different displays
-What do you think about control
-Whats the performance on different devices (i used the fps counter from helloworld, so in log you can find the numbers)
-Bugs (when you find one please post log too)
-Text correcting in "How to play" section, im not sure if its clear enough
-How long does it take you to solve the level(s) - i mean how hard do you find them?
-Is it fun to play?

I was thinking about making two versions of the game: Lite (only a few levels) and paid (10Kč  = cca 0,39) Full(a lot of levels + some new features, new types of blocks or something). I know im not going to make a fortune by this game but i was just curious if its sellable, because may be i would like to make something bigger later. Do you think i should try that?

Now some screenshots:

And apk is here:

Any help will be appreciated.

Support / Re: Object picking - weird behavior
« on: September 10, 2012, 07:35:27 pm »
Thanks! It was the title bar. Now i feel really stupid.
Ill take your advice about the threading.
Now I have figured out the problem with collision detection, so im really looking forward to make something meaningful with this engine.

Support / Re: Object picking - weird behavior
« on: September 10, 2012, 04:15:27 pm »
Thanks for quick answer.
I tried your idea but nothing changed. I just cant see what i'm doing wrong. I'll keep looking...
Maybe it could be solved just by some "offsetting" the ypos but i dont think this is the right attitude (and propably it wouldnt work on all resolutions).

The problem is propably in collision detection setting because when i placed there another cube falling on top of the first one, it didnt work properly (didnt recognize collision at all).
Code: [Select]
cube = Primitives.getCube(10);


cube2 = Primitives.getCube(10);
cube2.translate(0, -50, 0);

//on drawframe
//...  ellipsoid - tried with different values - no change
cube2.translate(0, 0.08f, 0);
SimpleVector posun = cube2.checkForCollisionEllipsoid(new SimpleVector(0, 0.08f,0), ellipsoid, 8);
/* if(cube2.checkForCollision(new SimpleVector(0, 1,0), 10) != Object3D.NO_OBJECT)
cube2.translate(0, -0.5f, 0);
It just passes throught the first one.

its not advised to execute code that deals with jPCT related stuff directly in the event handler methods, because it might interfere with the rendering thread
So i'm not able to implement game logic (for example moving a car forward) in separate thread? (to keep game speed fps independent)
Sorry for my english, if there is anything you dont understand i'll try to make myself clear.

Support / Object picking - weird behavior
« on: September 09, 2012, 09:38:20 pm »
I've read the posts about picking, but i can't get the picking to work properly.
In onChangeSurface i add a cube (like in HelloWorld)
Code: [Select]
cube = Primitives.getCube(10);
//cube.translate(0, 0, 0);


In onTouchEvent i am trying to rotate this cube when picked using the code mentioned in almost all topics
Code: [Select]
public boolean onTouchEvent(MotionEvent me) {

xpos = me.getX();
ypos = me.getY();

SimpleVector dir=Interact2D.reproject2D3DWS(world.getCamera(), fb, (int)xpos, (int)ypos).normalize();
Logger.log("touch: x" + xpos + " y"+ypos);
Object[] res=world.calcMinDistanceAndObject3D(world.getCamera().getPosition(), dir, 100000);
if(res[1] != null)
Object3D obj = (Object3D) res[1];

I tried to edit the ignoreIfLarger parameter and collideOffset - Not a significant difference

Problem: The bottom half of visible part of the cube is unpickable (it doesnt response to touches) and it responses even to touches above the cube.
Has anyoned faced this problem or see the solution?
Im using SE X10 mini

Pages: [1]