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.

Topics - clown611

Pages: [1]
Projects / Billy in space
« on: September 18, 2017, 09:16:14 pm »
In my Android course in school I created a game using JPCT. It's not perfect neither bad but I was thinking that I could share the sourcecode to help others.

Here is the game:

Here is the source code:

If you want to give me some hardlove on my code I will gladly appreciate it.

Support / Collision help
« on: March 18, 2017, 02:34:16 pm »
Hi I been trying to figure out this by myself but cant manage to figure it out. To pick up objects in my game I have implemented the collisionlistener, it worked out fine. But now when I want to make my planets solid I have tried to check when im colliding with them. But the listiner is only responding when the camera hits the object.

Code: [Select]
Object3d spaceship = a loaded 3ds modell
Object3d earth = a loaded 3ds modell



Here is a video so you can see what I mean.

Support / Transparent tips
« on: March 13, 2017, 07:56:53 pm »
Hi again friends, I bought a model from fiverr with a transparent part. When I loaded in the model there was no transparency. I splitted upp the modell and used the transperancycommand to make it transparent and then put it on the other modell. Is this a bad way? or do you have another way of doing this?

Support / Troubel with the rotation/movement
« on: February 12, 2017, 11:14:37 pm »
Hi again friends. I have some problems with my flying spaceship. The goal is to fly around in space by rotating up,down,right. I have limit the spaceship on the x so it wont rotate because I had some camera issues when it did that. I start with posting videos of my problem.

This is the spaceship moving along the Y.

And here it is moving along the X.

But when I tries to combine the following methods it goes like this.

I think I understand the problem and I think I have to rotate the spaceship so it's straight before I make it go up and down.
This is my code:



            if(lastY > mostUpSpaceShip){
                isRotatingDown = true;
                rotatingUp = false;
                moving = true;

 if ( rotatingRight){
  if(lastX > rightOfSpaceShip){
                rotatingRight = false;
                moving = true;

Support / Directions detect?
« on: February 09, 2017, 12:21:44 am »
Hi again. Im making a game with a spaceship that moves around in space. I controll my spaceship with translate, but when I rotate my ship towards another direction ofc the translate movement doesnt apply on my spaceship. How do you handle this? Is there a way to detect directions or should I make my own method depending on how much I have rotated?

Support / Make the camera follow an object3d
« on: February 05, 2017, 01:46:31 am »
Is this possible? Or how should I do this? I have a spaceship that is a loaded modell into a object3d, I want this spaceship to be in the center of my camera at all times. How do I do this?

Support / Rotation Tips
« on: February 04, 2017, 01:18:50 pm »
Hi there im making a spaceship game, I started out with rotate my ship to the angel I wanted it, and I realised that the rotationnumber is just increasing instead of being a certain number. This got me thinking, im controlling my spaceship with translate and rotate, but I dont want it to be able to rotate 360. How would you smart people do this?

Support / Android Studio install
« on: February 01, 2017, 09:48:21 pm »
Hi friends how do I install Jpct on android studio. I guessing that im addding the jarfiles but dont I need the native files? And how do I do this?

Pages: [1]