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 - MegasXLS

Pages: 1 [2]
16
Support / Re: Divide Plane
« on: February 17, 2011, 02:09:08 pm »
How i use this Marker?
thanks for the answer.

17
Support / Re: Divide Plane
« on: February 16, 2011, 11:27:26 pm »
1 - What is the best way to click on a 3D object and clicking the I plan to move the object to that place? I want my character to move anywhere in the plan by clicking somewhere in the plane.

18
Support / Divide Plane
« on: February 16, 2011, 10:59:37 pm »
Hello everybody,
I would like to know a way to divide my plan.
Is that when the user wants to move your character in the plane, he will click the character after that and asked where to direct the character. Similar to Dragon Mage project. I wanted to divide the plane so that when the mouse cursor passed over it a simple square changed color for the user to know where the character will.

Thanks in advance

19
Support / Re: Picking Objects (Pegando Objetos)
« on: February 10, 2011, 10:53:11 pm »
Thanks guys.

The solutions was: SimpleVector dir=Interact2D.reproject2D3DWS(world.getCamera(), buffer, e.getX(), e.getY() + 30);

Olsen, congratulations for the JPCT. This is awesome.

Thanks too Kaiidyn. /o/

20
Support / Picking Objects (Pegando Objetos)
« on: February 10, 2011, 08:02:25 pm »
Hello everybody,

would like a hint of you forum,
I like to picking objects in my world(one applet)?

I'm using these instructions:

SimpleVector dir = Interact2D.reproject2D3DWS (world.getCamera (), buffer, e.getX (), e.getY ());
  Object [] res = world.calcMinDistanceAndObject3D (world.getCamera (). GetPosition (), dir, 1000 / * or whatever * /);

I can even take a 3D object, but not very accurately, need to click under the object3D to get your res [1].

after i use:

if (res [1] == Object3D) {
System.out.println ("I'm clicking on the object");
}

Thanks in advance

21
Support / Re: How load "images" in the window?
« on: September 17, 2010, 03:37:17 pm »
I managed to load the image Egon (sorry for bad english) I put the statement before the buffer.update () inside my gameloop and everything went right.

Building on the topic,

does anyone know a way to upload a video (in mp4 or other format) into a 3D object into an application using JPCT? My application needs to do a video (any format) run on a TV screen that is loaded in my application. = /

Thank you in advance

22
Support / Re: How load "images" in the window?
« on: September 17, 2010, 02:44:11 pm »
Is just error in my copy. But the two have the same name.

23
Support / Re: How load "images" in the window?
« on: September 14, 2010, 02:42:20 pm »
Hi Guys,
So...

I am not able to load the image in the buffer yet.

buffer.blit (TextureManager.getInstance (). getTexture ("tela"), 0, 0, 0, 0, 512, 512, backward);

I'm calling this statement in gameLoop () after the buffer.update ();

Where "tela" is the image of credits that were in the game robombs egon (Just for testing, congratulations on very nice game)

tm.addTexture ("screen", new Texture ("example / credits.png"));

Thanks in advance

24
Support / Re: How load "images" in the window?
« on: August 31, 2010, 03:25:18 pm »
I tried to insert a picture in the advanced example of JPCT that exists on the site. But I can not upload any images. I also noticed that in that case I do not have a frame starts before, but the framebuffer. He wanted to know how to load an image in advanced example of the site.

Thank you in advance.

25
Support / Re: How load "images" in the window?
« on: August 31, 2010, 02:46:30 pm »
How do I load images in my FrameBuffer to show by example the image of my character in my application?

26
Support / How load "images" in the window?
« on: August 27, 2010, 02:40:59 pm »
Hi guys, i'm begginer in JPCT so....

how i load images in window of my application? The images are load with my application 3D for the user interact with the images for my application response this interact.

thx

27
Support / Re: Sound with JMF
« on: August 20, 2010, 02:16:44 pm »
I have move the archives natives of the lwjgl for the jdk/lib past. Remove the VM options e the music are playing. =)

Thx for the help. Paul o/

28
Support / Re: Sound with JMF
« on: August 19, 2010, 03:42:55 pm »
I have make this, the both options that you say
but i don't listen any music.
The error continue:

Unable to handle format: mpeglayer3, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 24000.0 frame rate, FrameSize=32768 bits
Failed to realize: com.sun.media.PlaybackEngine@df6ccd
Error: Unable to realize com.sun.media.PlaybackEngine@df6ccd
19/08/2010 10:38:04 exemplo4jpct.PlayMedia <init>
SEVERE: null

=(

29
Support / Sound with JMF
« on: August 18, 2010, 03:01:44 pm »
Hell guys,
first i'm brazilian so sorry for the bad english.

I'm trying use the jmf in my aplicattion using jpct.

For execute my aplication with jpct i have change the VM options : -Djava.library.path="C:\Documents and Settings\Roxas\Meus documentos\NetBeansProjects\jpct\lib\lwjgl-2.4.2\native\windows"

When i change the VM options show the error: Unable to handle format: mpeglayer3, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 24000.0 frame rate, FrameSize=32768 bits
Failed to realize: com.sun.media.PlaybackEngine@df6ccd
Error: Unable to realize com.sun.media.PlaybackEngine@df6ccd
18/08/2010 09:54:14 exemplo4jpct.PlayMedia <init>

But when i don't change the VM options, i listen my music clear.

Thanks in advance.

Pages: 1 [2]