Couple of issues after hour of playtime

Started by jaworeq, September 14, 2016, 04:56:07 PM

Previous topic - Next topic

jaworeq

1. Selecting a ship while having ADD
So when I'm selecting a ship to build, if my click ends split second too late, the ship is not selected.
First I noticed it watching youtube vids (https://youtu.be/VWw9X7Ql4iA?t=10m30s), I thought it's just a guy playing has issues with his mouse. But then I experienced it and it feels just a little... clunky? unreliable maybe.
2. General menu
I played 3 Inception maps so far, every time I finish game and click to return, game shows me map+2:
I finished map 1, back in menu the carousel was centered on map 3. Finished map 2 - centered on map 4.
3. Sound when minimized
I alt+tabed to write this post, went to youtube to find click footage and since video is quite quiet, I had to go back to game, mute game, go back to youtube to find exact moment I wanted to show.

Fireball14

QuoteSo when I'm selecting a ship to build, if my click ends split second too late, the ship is not selected.
Unity generic bug. Fixed by using Input.GetMouseButtonUp in FixedUpdate insted of OnMouseUpAsButton event.


knucracker

Yeah, those are unity UI buttons and by default they have an on click handler.  Click being defined as mouse down followed by mouse up while over the control that experienced the mouse down. So if you mouse down, move the mouse away, then mouse up... the mouse click event doesn't fire.  The definition of a mouse click isn't buggy, but that doesn't mean it is necessarily the desired behavior in this case (some buttons on in desktop apps work the same way).

As FB14 said, I can change it fairly trivially to be a mouse down rather than a mouse click event... so I'll do that.  I don't think there are any major issues that could happen from that change (Ha ha. Can't believe I just said that).


knucracker

As for the sound thing.  What I think you are asking for is an auto-mute when the game doesn't have focus.  By design, PF is allowed to run when it doesn't have focus.  I play in a window a lot, and half the time I might let things run while I'm doing something else.  In that case, I actually want the game sounds even though the game might be on another monitor, minimized, etc.

So an option to auto mute when the game loses focus might be one solution.  The other would be to very special case the instance where you play full screen and then the game loses focus, and auto mute then.  Of course you might also want the same option (or special case full screen behavior) for pausing the game as well.

I'll add an item to the list, but it likely won't be addressed till after the nighmare of work I have leading up to the 29th (No joke... I'm in about as deep a work hole as I think I have ever been in over 20 years of professional development.  I'm kinda curious what is going to happen actually :) )

Nicant

I have also found a bug in the editor! When i was moving my ships, sometimes they would teleport really close to where i told them to move even though they shouldn't be there yet. I don't know if it is only me because my test map was very laggy and so there could be some bugs due to lag. Hopefully this makes makes sense! :D
CW4 hype!!

knucracker

If you are playing a mission while in the editor be careful.  When in edit mode you can actually mouse down a ship and drag it somewhere where you want it.  You can also select a ship from the build bar and hold down "B" when when placing it to build.  That will insta-build it.

These two features are so you can design a map and put prebuilt ships on it where you like.  If you really want to play while in edit mode you have to either be mindful of this.  You could also quickly finalize the map then jump out of the editor and play in the finalized list, to avoid accidentally dragging ships around.

jaworeq

Yeah, I guess option to auto-mute music would be good. Game pausing not necesarilly, but again - if it's an option, some people would probably be happy with it.

jaworeq

Oh, one thing I forgot to write about!
Where the heck is "archived transmissions" button? :o

Karsten75

Quote from: jaworeq on September 15, 2016, 10:46:00 AM
Oh, one thing I forgot to write about!
Where the heck is "archived transmissions" button? :o

Doesn't exist (yet?)

chwooly

Also found out the hard way, The game doesn't autosave on exit from a map.
I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I alone am morally responsible for everything I do."
― Robert A. Heinlein

Karsten75

Quote from: chwooly on September 15, 2016, 12:09:28 PM
Also found out the hard way, The game doesn't autosave on exit from a map.

Strange how attached to that feature I've become... :(

Sorrontis

I like the lack of autosave. It doesn't override my last save, when I rage quit.
"If you want others to be happy, practice compassion. If you want to be happy, practice compassion."

knucracker

If I add autosave, I'll make it save to a file called "autosave" or something like that.  There is already a quick save function (ctrl-c by default) and quick load (ctrl-v by default) that writes to a file called "quicksave" (I think). 

The only real holdup on autosave is that I would need to add an option in the settings to turn it on/off.  That, and it is in a queue of things either more important, more trivial to implement, or both.

Laithaldien

Speaking of autosave:
An option to autosave every x minutes (different slot than autosave on map exit:) - there's nothing like playing for "hours" without saving, then the power goes out/ system hangs up/ a critical
player error occurs ...

Karsten75

Quote from: Laithaldien on September 15, 2016, 03:14:24 PM
Speaking of autosave:
An option to autosave every x minutes (different slot than autosave on map exit:) - there's nothing like playing for "hours" without saving, then the power goes out/ system hangs up/ a critical
player error occurs ...

However, just as many complain about the number of files created, running out of disk space, slow cloud sync...