gomotion100's Forum Posts

  • > I've switched to a new monitor and while I have the Sprite window open (with the Animations and Frames windows open) I'm missing the Colours window, is there any way to reset them to get it back?

    >

    Does pressing 'File/Preferences/Reset dialogs' help?

    Yeah, thanks!

  • I've switched to a new monitor and while I have the Sprite window open (with the Animations and Frames windows open) I'm missing the Colours window, is there any way to reset them to get it back?

  • I am incredibly angry right now. I've spent about a month creating a game that's I've literally just finished (it's meant to release in a few hours from now), and all the saving and loading functions have worked just fine, and now I've exported it, loaded up the game, everything seems to be working fine until I close the game window to reopen it and find that I completely resets all the save game data. Is there anything I can do about this? I'm seriously regretting using this program due to issues like this that just make it impossible to share games.

  • How would I go about doing this? I don't have any released games that need fixing ATM, this is for future reference. Help is appreciated!

  • I answered an identical question to this here :

    The 'Persist' behaviour will work for allowing objects to remain in the same state they were before, including instance variables etc.

    Thank you!

  • A little confusing, but title restraints. What I want to happen is for the character to go up to an arcade machine in layout (a), press z to interact with it, and once z is pressed, the player goes to layout (b) to play an arcade-styled minigame, and once the minigame is finished, for the player to go back to layout (a) and resume gameplay from where they stood.

    I thought about saving the game file just before the player enters the minigame, but that would only reset all the data, making it pointless to go to the minigame at all, and i already have "on start of layout" conditions on layout (a), so i'm stuck on how to successfully go back to (a) from (b) without erasing any data.

  • If that's even possible? Thanks in advance!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Similar to the one used for the Five Nights at Freddy's games. If not built in, are there any plugins for it?

  • title

  • Custom icon via Resource Hacker.

    How, exactly? Can you give me a quick tutorial?

  • Also if anybody knows how to give it a custom icon, that would be great.

  • I've been searching around the internet for months, but I can only find tutorials of how to export to NW.js. This wouldn't be a problem, expect it doesn't work unless it's in a folder with the other stuff it needs to run, it's not a .exe, and it doesn't retain the information I give it in Construct 2 under the About section.

    If anybody knows how to make a .exe, then please let me know.

  • It happened out of nowhere, I tried to run a preview and it just wasn't working for some reason. Any ideas as to why?

  • As explained in the manual, Global variables are NOT reset, so without seeing your events we can only guess why your actions are not triggered..

    Restart layout

    Restart the current layout. Note that unlike Go to layout, this action resets all event groups to their initial activation state. Global variables keep their current value - they are not reset. To reset them use the system action Reset global variables.

    I've already been saying that I know that using "Restart Layout" DOESN'T reset the values of a variable. What I'm saying is this:

    When Triggered

    ->Add 1 to "Variable"

    When "Variable" = 1

    -> Flash enemy on screen

    Wait 1 second

    ->Restart Layout

    My problem is that when the Layout is Restarted, "Variable" is indeed already set to 1, but when the Layout is Restarted, it acts as if "Variable" has JUST been set to 1, triggering the flashing enemy. My problem is that I don't want this to happen. I don't think you understood my problem before. I am not trying to reset any variables, all I want is for the Flash enemy event to NOT be triggered when the Layout is Restarted.

  • Reset global variables before restarting layout?

    Or add an action to the - on layout start event to get everything te way you'd like?

    I've tried everything. I just need to reset the layout without "resetting" the values of the variables. After restarting the layout, all the values will stay the same, but will do whatever they do again.

    If Attack = 1 means that an enemy will flash on screen for X seconds, then "Restart Layout" won't alter the actual value, but will act as if Attack has just been set to 1, therefore flashing the enemy. I need to find a way to stop the "Restart Layout" event from "redoing" the current values of some variables.