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

Pages: [1]
1
Support / Re: attach/add mouse listener
« on: January 05, 2016, 10:52:59 pm »
switched drivers no success - standard linux drivers even made it worse

installed several windows/desktop environments

got it working under

- Cinnamon - but only in software mode
- Gnome flashback Metacity
- Gnome flashback Compiz

Are there any other Linux users that can confirm that behaviour - still not sure if it is the desktopn environment or the gfx drivers.

Regards

2
Support / Re: attach/add mouse listener
« on: January 05, 2016, 09:57:55 pm »
Hi Egon,

used the time to check out the robombs source for building an ingame menu/gui.
The movement of the blit textures with mouse mapper is pretty forward and already working for me.

However I was especially interested in the text editing/ text input. If I click the TextField the cursor image appears,
but I am unable to edit the text. It seems I do not receive any key events...

For that I have checked (also I was interested in the input/edit performance) the robombs game itself.
I am running ubuntu 15.10 gnome shell / oracle 8 jdk

Fullscreen is not working properly on gnome shell - which I meanwhile found out is a bug of the gnome shell.
(The window is somehow shifted on the screen).
Then I switched to Unity , where full screen is working correctly.

But in both cases the keyboard input did not work. I was unable to add or edit text in any way - eg Player Name field.

Just to be sure , I started windows , and there everything is working properly - including the text input/edit.

enclosed shell start stuff

//bin  botnames.txt  data  lib  Robombs.cmd  Robombs.sh
wired@wired-notebook:~/Downloads/robombs$ sh ./Robombs.sh
Loading Texture...from Image
Loading Texture...from Image
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/wired/Downloads/robombs/lib/lwjgl-2.7.1/native/linux/liblwjgl.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
NVIDIA Corporation-NVS 5200M/PCIe/SSE2/true/false/true/true/true
[5200]
Loading configuration...
Saving configuration...
Loading Texture...from InputStream
Loading Texture...from InputStream

....

Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
OpenAL initialized.

Java version is: 1.8.0_60
-> support for BufferedImage
Version helper for 1.5+ initialized!
-> using BufferedImage
Software renderer (OpenGL mode) initialized
Software renderer disposed
Current mode:640 x 480 x 24 @58Hz
Driver is: unknown OpenGL driver on NVIDIA Corporation / NVS 5200M/PCIe/SSE2
GL_ARB_texture_env_combine supported and used!
FBO supported and used!
VBO supported and used!
OpenGL renderer initialized (using 4 texture stages)
Loading Texture...from InputStream

 ...

Loading Texture...from InputStream
[ Tue Jan 05 21:52:46 CET 2016 ] - WARNING: Unsupported Texture width (200)...resizing to a width of 256 pixels!
Loading Texture...from InputStream
Loading Texture...from Image
Loading Texture...from Image

SoundSystem shutting down...
    Author: Paul Lamb, www.paulscode.com

Visibility lists disposed!
Game terminated!

///

I ll check out gfx drivers as well as alternative desktop managers.

Thanks for any help on that.

Regards


3
Support / Re: attach/add mouse listener
« on: January 03, 2016, 03:09:22 pm »
Thanks Egon - makes sense anyway - however just was wondering because the engine already provides so many useful helper classes (including MouseMapper, etc)... thought maybe I missed something.

So with an eye on productivity, it probably makes sense using and customizing the existing awt components?

I will check out the source samples now.

So far thanks for you help!

 

4
Support / attach/add mouse listener
« on: January 03, 2016, 02:30:52 pm »
Hello there,

I am trying to work on a simple gui with buttons (for that I use blit).
I am working with AWTRenderer.

My question:
How can I attach/add a mouse listener to the image(s) of the blit texture(s) ?

Thanks in advance for any help on that issue.

Regards


 

Pages: [1]