FPS demo

This is my first game :D:





I have a problem with lock axis in camera, help plz :?



Thank’s :slight_smile:

wow that looks great man

Hi!



Pretty screenshot :smiley: Can you tell me more about your lock problem? Would you prefer your weapon being drawn at the right?

gouessej said:

Hi!

Pretty screenshot :D Can you tell me more about your lock problem? Would you prefer your weapon being drawn at the right?


My problem is in mouse handler up and down with the camera.  :?

but drawn at the right, is good too  :)

Thx for help  :D

Do you use FirstPersonHandler?

gouessej said:

Do you use FirstPersonHandler?


No, i use NodeHandler end i do this:


            MouseInput.get().addListener(new MouseInputListener() {

                public void onButton(int button, boolean pressed, int x, int y) {
                    if (button == 0) {
                        if (pressed) {
                            if (reload) {
                                return;
                            }
                            if (currentPente > 0) {
                                if (!fire) {
                                    fire = true;
                                }
                            } else if (balas > 0) {
                                reload = true;
                            }
                        } else {
                            autoFireAnim = false;
                            fireAnim = false;
                            lastStopFire = System.currentTimeMillis();
                            stopFireAnim = true;
                        }
                    }
                }

                public void onWheel(int wheelDelta, int x, int y) {
                    //throw new UnsupportedOperationException("Not supported yet.");
                }

                public void onMove(int xDelta, int yDelta, int newX, int newY) {
                    //throw new UnsupportedOperationException("Not supported yet.");
                }
            });

Oh my god it's a fps for left-handed people ?

Nice begining!

Even more brazilian developers using jME :wink:

orelero said:

Oh my god it's a fps for left-handed people ?


I think he's just located in the southern hemisphere, things are upside down there, and leftside right.

lol  XD

kkkk  :smiley:

clovis said:

Nice begining!
Even more brazilian developers using jME ;)


Thx  :D


but can help me about camera lock to NodeHandler???://
plz
eric_pardal said:

clovis said:

Nice begining!
Even more brazilian developers using jME ;)


Thx  :D


but can help me about camera lock to NodeHandler???://
plz

Can you try to use FirstPersonHandler to see if it solves your problem? Then you will have to find another way to attach your weapon to the camera.
gouessej said:

Can you try to use FirstPersonHandler to see if it solves your problem? Then you will have to find another way to attach your weapon to the camera.


thx, i go to use.
appel said:

I think he's just located in the southern hemisphere, things are upside down there, and leftside right.

:D :D

Looks nice. :)