Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange problems when resizing game window or changing resolution when we are doing mission #339

Closed
tomangelo2 opened this issue Oct 21, 2014 · 11 comments

Comments

@tomangelo2
Copy link
Member

@tomangelo2 tomangelo2 commented Oct 21, 2014

There is separate problem with Nvidia and AMD/ATI GPUs.
Radeon: models and textures disappear. When texture is refreshed (like power cells) they are visible again. When we create new bot (like produce(); for example) an old models/textures are overwritten by new. examples: http://prntscr.com/4y30l6 (TrackedOrgaShooter was created by produce();, that's when SpaceShip (yup, these flying objects is SpaceShip with disappeared and somehow overwritten textures) become visible) http://i.imgur.com/sbDhbgy.png (this is Me, when flying) http://i.imgur.com/ItOrYEI.png (produced NuclearCell, then invisible nozzle of WingedGrabber started looking like NuclearCell), https://www.dropbox.com/s/dlkppw0fdk4u641/VIDEO0010.3gp (video, when i'm running around SpaceShip).
Nvidia: after resizing window a game just crash. Log from IRC discussion http://wklej.org/hash/8318d8c3e72/
Linux users doesn't have this problem, it looks like Windows only problem.

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Oct 21, 2014

Temporairly disabled active resizing until this is fixed in 1ab5746

@ghost ghost removed this from the alpha-0.1.4 (Diversity 2015) milestone Oct 21, 2014
@krzys-h krzys-h removed their assignment Oct 25, 2014
@ghost ghost added this to the alpha-0.1.4 (Diversity 2015) milestone Oct 25, 2014
@ghost
Copy link

@ghost ghost commented Oct 25, 2014

I think the game should automatically restarting when resolution has changed in Windows builds for now. "Apply changes" button should work only, when player isn't in any mission.

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Oct 25, 2014

That could be a fix, or we could just ask user to restart manually

@MrSimbax
Copy link
Member

@MrSimbax MrSimbax commented Oct 25, 2014

Some games just restart the window itself, but it keeps running when it stopped. For example, when I change resolution during a mission, it "restarts", but I can continue the mission.

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Oct 25, 2014

@MrSimbax: That's what the current code should do currently, and it works correctly under Linux.

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Oct 25, 2014

I've disabled changing resolution while in mission
182d520

@krzys-h krzys-h self-assigned this Oct 25, 2014
krzys-h added a commit that referenced this issue Oct 25, 2014
krzys-h added a commit that referenced this issue Oct 25, 2014
@krzys-h
Copy link
Member

@krzys-h krzys-h commented Oct 25, 2014

For now, I've added code to restart the game on pressing the "Apply changes" button. We'll need better solution later.

@krzys-h krzys-h removed their assignment Oct 25, 2014
krzys-h added a commit that referenced this issue Oct 25, 2014
@krzys-h krzys-h closed this in 26376c6 Nov 1, 2014
@krzys-h krzys-h reopened this Jun 5, 2015
@krzys-h
Copy link
Member

@krzys-h krzys-h commented Jun 5, 2015

Why was this even closed?

@ghost
Copy link

@ghost ghost commented Jun 5, 2015

@krzys-h Because we disabled possibility to change screen resolution in Windows builds to not allow frequent crashes of the game in 0.1.4. Possibly we thought that in future we will open another issue to change that after graphic or texture reloading refactoring.

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Jun 6, 2015

Yeah, this issue was supposed to stay open for the issue with texture reloading

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Jun 26, 2015

Actually, this is now a duplicate of #449

@krzys-h krzys-h closed this Jun 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants