Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop5:interface:preview [2020/06/28 16:17]
4ian [Apply your changes to your live preview]
gdevelop5:interface:preview [2020/12/26 13:56] (current)
Line 21: Line 21:
  
 ### Apply your changes to your live preview ### Apply your changes to your live preview
- 
-<note important>This feature is an upcoming feature that will be available in a future version of GDevelop.</note> 
  
 When the preview of your game is running, you can click again the Play button to apply any changes that you made in the editor to your preview. This is very useful for example to design the level of your game while playing to it, allowing you to quickly see and test the result without having to restart from the beginning of the level after each change. When the preview of your game is running, you can click again the Play button to apply any changes that you made in the editor to your preview. This is very useful for example to design the level of your game while playing to it, allowing you to quickly see and test the result without having to restart from the beginning of the level after each change.
Line 35: Line 33:
  
 <note tip>This is especially useful when you want to do some tweaks to your game, like changing the parameters of effects or the properties of the behavior of an object, and see the result directly. It's also useful to check how your events are working without restarting your preview from the beginning.</note> <note tip>This is especially useful when you want to do some tweaks to your game, like changing the parameters of effects or the properties of the behavior of an object, and see the result directly. It's also useful to check how your events are working without restarting your preview from the beginning.</note>
 +
 +Some editors also include a button allowing you to start a preview or apply changes that you made directly from the editor:
 +
 +{{ :gdevelop5:interface:preview:pasted:20200628-162346.png?nolink }}
 +
 +When clicked, changes that you've made in the current editor will be applied to your preview(s).
  
 Note that in certain rare cases, GDevelop will be unable to apply your changes to the preview. In this case, a dialog will invite you to close the preview and launch a new one from scratch. If you also need to restart from the beginning, because for example you destroyed an enemy and want to try it again, just close the window and click the "Play" button again. Note that in certain rare cases, GDevelop will be unable to apply your changes to the preview. In this case, a dialog will invite you to close the preview and launch a new one from scratch. If you also need to restart from the beginning, because for example you destroyed an enemy and want to try it again, just close the window and click the "Play" button again.
Line 71: Line 75:
 {{ :gdevelop5:interface/preview-wifi-running.png?nolink |}} {{ :gdevelop5:interface/preview-wifi-running.png?nolink |}}
  
-<note tip>You can close the pop-up window in the editor and continue to edit your game. If you launch a new preview, the mobile devices and any connected computer will automatically refresh the game to show the changes made!</note>+You can now close the pop-up window in the editor and continue to edit your game. When you click on the button to apply the changes to the preview, all the previews running on your computer, other computers or tablet/phones will be updated. 
 + 
 +You can also hit the "Reload" button of your device browser to restart the preview from scratch. 
  
 ## Launch a preview with the Debugger and the Profiler ## Launch a preview with the Debugger and the Profiler