bigpappapuck's Forum Posts

  • Thanks guys. This is perfect.

  • All,

    Since updating to r143, my FPS has dropped from 60 to 10 on one of my layouts.

    I realize this is not enough to troubleshoot, but my question is has anyone else seen a decrease in performance as a result of updating from r142 to r143?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If possible, it would nice to be able to right-click an object to toggle the no save behavior on and off. It would be a few clicks faster and save a lot of time as our projects expand.

  • I am still curious about how to do this. If anyone has ideas, I am open to them.

    Would it be possible to add action that says,

    On "insert trigger", delete save state "your saved game" ??

    That would be helpful. Thanks,

  • I can't exactly figure out how to reproduce this, but it seems whenever I play around with the image editor, and then close C2, I get an error message on exit.

    "Construct 2 game creator has stopped working"

    "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."

    "close program"

    I use Windows 8.

    Does anyone else get this?

  • I don't know how you fixed this, but for future reference:

    create global variable: Toggle_Daylight (set initial value to 0)

    On SHIFT key pressed: -> set Toggle_Daylight to 1-Toggle_Daylight

    Toggle_Daylight = 1 -> Set Daylight to Day

    Toggle_Daylight = 0 -> Set Daylight to Night

    This should work for any "toggle" type situation

    Cheers

  • Instead of lerping to character, use the scroll to behavior. This will eliminate the scrolling while changing layout position issue.

    As for saving the character's position, create two globals

    playerX

    playerY

    At end of layout, set playerX to player.X and set playerY to player.Y. When character reenters layout, set position to playerX, playerY

    good luck

  • Thanks guys.

    I ended up just using the globals as: min(G1, G2, G3, G4, G5). This worked fine.

    Never used the dictionary before, so that was confusing.

    I did try with an array, but wasn't successful. I have the globals being saved in the array, yet I couldn't find the correct way to get the action to return the min value.

    I tried min(array.CurX), but that didnt work.

    Any thoughts?

  • Quick question, how do I select the lowest value from a group of global variables?

    For instance, I have three globals:

    G1= 100

    G2= 200

    G3= 500

    They change occasionally.

    On button clicked, I would like the lowest value returned.

    How would I do this?

    (Please keep scale in mind.... how would I compare 100 globals? 1000?)

    Thanks

  • Create global variable = HiveAlive and set equal to 1

    change

    1. (<system> every 3 seconds) = (<system> create object <creature>)

    2. (<player> on collision with <hive> + Y < 820) = (<hive> destroy)

    to

    1. (<system> every 3 seconds)

       (HiveAlive = 1)

    = (<system> create object <creature>)

    2. (<player> on collision with <hive> + Y < 820)

                            = (<hive> destroy)

                              (set HiveAlive to 0)

  • You guys have a sample capx that solved this problem?

    Thanks

  • What if you use the new save system? How would we check in that case?

  • When you load the game, you can select new game or continue. New game starts the game anew. Continue takes you to a layout with game slot 1 and game slot 2. Clicking game slot 1 or game slot 2 loads the corresponding saved game.

    What I can't figure out is how to make the game slots show information from the previously saved games so you know what game you are loading. Does anyone know how to fix this?

    I can post a capx later if need be. Thanks!

  • zatyka your example is tight!

    Why doesn't the Scroll To behavior have an action to disable it?

  • All,

    With the new save system available, how do we use events to delete previously saved games. I realize I can save over an existing save, but how do I delete it completely?

    Thanks!