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

Take automatic game screenshots in Quick Customization #7116

Merged
merged 6 commits into from
Oct 31, 2024

Conversation

ClementPasteau
Copy link
Collaborator

@ClementPasteau ClementPasteau commented Oct 29, 2024

todo:

  • solution for browser preview close
  • solution for mobile app

GDJS/GDJS/IDE/ExporterHelper.cpp Outdated Show resolved Hide resolved
Core/GDCore/IDE/CaptureOptions.h Outdated Show resolved Hide resolved
GDJS/GDJS/IDE/ExporterHelper.h Outdated Show resolved Hide resolved
GDJS/GDJS/IDE/ExporterHelper.h Outdated Show resolved Hide resolved
GDJS/Runtime/capturemanager.ts Outdated Show resolved Hide resolved
captureOptions,
});

ipcRenderer.removeAllListeners('preview-window-closed');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if I launch two or 3 or more previews?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works for the final preview launched indeed, I think that's fine?

newIDE/app/src/MainFrame/EditorContainers/BaseEditor.js Outdated Show resolved Hide resolved
newIDE/app/src/MainFrame/index.js Outdated Show resolved Hide resolved
newIDE/app/src/MainFrame/index.js Outdated Show resolved Hide resolved
@@ -0,0 +1,18 @@
/*
* GDevelop Core
* Copyright 2008-2016 Florian Rival ([email protected]). All rights
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Copyright 2008-2016 Florian Rival ([email protected]). All rights
* Copyright 2008-2024 Florian Rival ([email protected]). All rights

GDJS/Runtime/runtimegame.ts Outdated Show resolved Hide resolved
@ClementPasteau ClementPasteau merged commit c620ed7 into master Oct 31, 2024
5 of 6 checks passed
@ClementPasteau ClementPasteau deleted the preview-screenshot branch October 31, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants