Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

MewnBase

Space-cat crafting/survival game with base building. · By Cairn4

Issue with mouse not responding.

A topic by Bosniarat created Aug 23, 2017 Views: 1,861 Replies: 28
Viewing posts 1 to 20

Hello Sir, 

              Found an issue that stops my gameplay. The Right and left Mouse button do not work inside the game itself.  The Left mouse works on the splash screen and the options, but does not work for the actual game itself. Not sure what is going on. I downloaded the WIN, Win x32 and the Java version and they all do the same thing. To ensure it was not an out of date version of Java, I installed the latest version of Java, and for the mouse. Is there somewhere else I need to look?

Looked in the Settings.JSON file under the \game folder and I only found this:

{
LANGUAGE: en
FULL_SCREEN: false
DISPLAY_MODE: 0
DISPLAY_MODE_DETAILS: "1920x1080, bpp: 32, hz: 60"
SOUNDFX_VOLUME: 1
MUSIC_VOLUME: 1
KEYS_UP: W
KEYS_DOWN: S
KEYS_LEFT: A
KEYS_RIGHT: D
KEYS_INVENTORY: Tab
KEYS_DROP_ITEM: Q
KEYS_FLASHLIGHT: F
KEYS_MAP: M
KEYS_ROTATE_TILE: R
KEYS_MENU_BACK: Escape
KEYS_CONSOLE: F1
KEYS_ENTER_VEHICLE: Enter
KEYS_VEHICLE_DRIFT: Space
KEYS_FULLSCREEN: F11
}

Not sure if there should be Controls for the Mouse in there or not.

Computer information:

OS Name Microsoft Windows 10 Pro
Version 10.0.15063 Build 15063

Installed Physical Memory (RAM) 8.00 GB

GPU: NVIDIA GeForce GTS 250

Let me know if i need to send anymore information

I have the same problem... 

Developer

Hey @Bosniarat and @sparxef - thanks for the report, first I've ever heard of this type of issue.  Sorry that it's not working correctly :(

You're correct in that there aren't any options / settings for mapping the mouse buttons - but it's really weird that they wouldn't be working just during gameplay (but do work on the Main Menu?)  Looks like you're running the game in windowed-mode, correct? I'm assuming you can at least see the mouse moving around during gameplay, just that clicking doesn't do anything?

Apologies for the slew of questions here...

Do the keyboard controls all seem to work?
Can you click on the flashlight icon up in the top left of the HUD, does that do anything?
If you walk up right next to a big rock or plant, and hover the mouse over the rock/plant, does the mouse cursor turn orange/yellow instead of gray?

I'll have to look into this more.

Developer

Something else that would be interesting to try (assuming the keyboard input works)...

Start a new game, hit F1, type in "debug" without quotes, hit enter.

Bottom right of the screen should be some info, does the bottom line for "Interaction" have numbers in the ballpark of 500, 500 ?  (and does it change when you move your mouse around the screen?)

Good Afternoon!

                                  After doing what you said I have done a snippet of what you asked for:

1 the Light works on the screen

2 These are the codes that I got when I went past them.

The Cursor changes color when looking at the Rocks, Ice or the cargo boxes. Just no details on the items hit box.

Thanks for the quick response!

Developer(+1)

And thanks for trying all that out! Well at least the game seems to know where your mouse is supposed to be in the world.  Really bizarre...

One thing that the game doesn't mention, that I just thought I'd throw out there... is that if you are moving around (WASD) that'll cancel out any mouse input. So that you can't punch tiles and walk around at the same time. 

But if you're standing still, THEN click on the cargo containers... they should get collected with a little progress bar. (takes about 1 sec)

I'm def going to keep thinking about it more this evening after work... see if I can find ways of reproducing it.

Thanks!

@cairn4 I will try the debug thing this weekend. I'm not at home now because I'm in the hospital. Yes I had the mouse on screen and saw it turn orange if I hovered it over an object but I couldn't interact with it. The options worked with the cursor. I'm using a sharkoon skiller smg1 mouse. @bosnairat do you use the same mouse? 

Developer

Oy, sorry to hear that @sparxef, hospital trips are never fun. 

I realized at least one thing that is different about the way menu buttons are handled vs in-game world stuff that might be where the game is having trouble.  Wont' be able to check until tonight though.

Crazy follow-up question for anyone with this issue: if you happen to have a different mouse available to try out... does switching mice work (different manufacturer)?  Or using the trackpad if you're on a laptop?  Using any special software for button mapping / customization?

@Cairn4 I tried with another mouse a standart alienware mouse from ages ago and it still doesn't work...

I have an older Award Bios, could that be causing an issue?

Hey Guys! I have the same issue. Funny thing is, I installed the game Yesterday at home on my desktop and everything works perfectly on it. Today, I also installed it on my laptop and now, I seem to have the problem. I used a new download off the site as well as multiple different ones (32bit & java) but still no luck. I will play around a bit to see if I can figure it out as I don't think the coding would be the issue as the product works on another device.

Developer

Plot thickens!  I'm going to try and make a test app later this evening for anyone that wants to to test - something that'll just print out what buttons are being pushed on your mice/touchpads.  Whatever LWJGL+ libGDX thinks is your "left" and "right" mouse buttons is clearly incorrect, but more general "is the screen being touched / clicked" is working (menus). 

Developer

Here's a very quick app I threw together that anyone with this issue can try out. (Requires Java)

All it does is print out the incoming mouse clicks, done in a similar way that I'm handling them in MewnBase for gameplay stuff. Would be curious to know if it works/doesn't work - and whether they seem mapped correctly for you.

https://drive.google.com/file/d/0B5QWRGJ_8C5rY2pMN1hrYXBhUkE/view?usp=sharing

@Cairn4, I just wanted to point out something that might help with the troubleshooting. The mouse seems to be working fine within the game (when the problem is experienced) due to the fact that objects on the screen are still detectable. The reason why I say this, is during gameplay, the mouse cursor is normally white. This will change to Yellow when it moves over an object like ORE/ICE or FRUIT. This tells me that the game recognizes objects but the click function just isn't operable. Hope this helps a little...

@Cairn4, with regards to your "mouse app", I ran it on both my machines and on the machine with the problem, there aren't any responses to mouse clicks. On the other machine where the app is working, I get a lot of feedback from the mouse app.

Developer

Hey @JacketyJack, thank you for testing that out.  Still baffled as to why it wouldn't be working - are there any common/shared hardware features between your two machines that it *doesn't* work on that you can think of?  Like manufacturer, motherboard brand, some specific mouse/input driver maybe? 

Hey @Cairn4! So the two machines that I have issues on are both Gigabyte machines. One a laptop and the other a desktop. What I also found was that the JAVA download works on the laptop, but not on the desktop. All apps open on desktop (java, win 32bit, win 64bit) but the mouse issue occurs on all. On the laptop, the JAVA app is the ONLY one that works. All the other apps don't even open at all.... which is even stranger than the initial issue... I'll see if I can look into the possible "Gigabyte" issue... Maybe it's worth finding out from other people if they are using the same brand or not. Just a final thought... I think that the reason for this problem might be due to the following. My Gaming PC at home is the one that has no mouse issues and all forms of the game work well on it. This (as I said) has many games and gaming platforms etc installed on it. The other "bad" desktop is used for work. This one doesn't have any (maybe just a little) games installed on it and is problematic. The laptop has a few games and STEAM installed but on this one, only the JAVA app works. Can the problem be related to gaming installs? Things like DirectX, certain DLL's,  stuff like .Net etc etc. I have checked .Net and all seem to be on par with that... I will return with more info!

Developer

Hey JacketyJack, thanks for the additional info!

Some Win10 machines definitely seem to have an issue with the win64 and win32 versions of the game (where the game doesn't even launch) - but if Java has been installed, the .jar files will at least run.  There's probably a problem/conflict with the bundled version of Java I'm using with those versions. 

As for the mouse issues, I'll post a sticky thread to mention that Gigabyte machines might be problematic, so that maybe some other people could add their 2cents in case that's the source of the issue.  Still going to keep trying to figure this out.

(1 edit)

it's true I also  have a gigabyte mobo and gpu. 

I have an older ASUS  board

when I get home I will post the exact type

Developer

I uploaded a win64-experimental and linux64-experimental build yesterday that use LWJGL3 and a newer version of OpenJDK... would love to know if the mouse click issues still exist in those. Not getting my hopes up though haha.

 My mouse is working in the expirimental!!!  

Developer

Woah! Great news! :D

To insure it worked I tried about 3 games. To report back, its Working! Thanks!

Not sure how to close this but let me know and I will close the thread!

Thanks again!

Its a lot of fun!

Developer

Yay! Glad you're liking it. Really appreciate your patience and testing this stuff out for me. Thanks!

Definitely seems likely that I'll be going with the LWJGL3 version for the next release then :)