question

HamzaElashry-MSFT avatar image
0 Votes"
HamzaElashry-MSFT asked HamzaElashry-MSFT commented

How I Make Save System In My Game

How I Make Save System In My DirectX Game. It's Very Very Important.

windows-uwpc++
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RoyLi-MSFT avatar image
1 Vote"
RoyLi-MSFT answered HamzaElashry-MSFT commented

Hello,

Welcome to Microsoft Q&A!

How I Make Save System In My DirectX Game

To save your data in your Directx Game, you will need to handle the suspending event - CoreApplication::Suspending. This event is raised when your app is moved to a suspended state by a user or system action. You could save simple application data synchronously using the LocalSettings storage API.

For more information, please refer to this document: How to suspend an app (DirectX and C++)


Thank you.


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks Thanks Thanks.

0 Votes 0 ·