PerrySteven wrote:I'm wondering how you can create an action that allows the player to change to fullscreen mode while in-game?
PerrySteven wrote:And I would also like to know how to move an actor to a set of coordinates in an instant, without using the MoveTo function?
myActor.x = 150;
myActor.y = -320;
lcl wrote:Hello!PerrySteven wrote:I'm wondering how you can create an action that allows the player to change to fullscreen mode while in-game?
Currently the only way to do this is to export your game in both, full screen and window mode, and then use LoadGame(); to load the desired version. But when Game Editor 1.4.1 comes, there'll be a very easy way to quickly change between window mode and full screen mode in-game.PerrySteven wrote:And I would also like to know how to move an actor to a set of coordinates in an instant, without using the MoveTo function?
This is actually really simple. You have to do it through code, though. Let's say that you'd want to move an actor called "myActor" to the position (150, -320) when it's clicked with a mouse. Here's how you'd do it:
myActor -> Mouse Button Down: Left -> Script Editor:
- Code: Select all
myActor.x = 150;
myActor.y = -320;
I hope this helps!
nightFall16 wrote:hey lcl how r u ? u said in 1.4.1 this could be done easily ?? now i have 1.4.1 version can u please show us how ?
and thanks
Users browsing this forum: No registered users and 1 guest