oosyrag's Forum Posts

  • What isn't exact - the position, or the time?

    Frame updates do not necessarily happen in sync with seconds.

    The position should be accurate, unless you have other events or behaviors affecting the object besides what you mentioned.

    + System: Every 1 seconds

    -> Sprite: Set X to Sprite.X+90

  • construct3.ideas.aha.io/ideas/C3-I-107

    construct3.ideas.aha.io/ideas/C3-I-15

    Basically there are existing third party tools you can use to check in/out your project file that should work fine as long as you're not making changes simultaneously. Source control for a single file should be very straightforward.

    You can try to do it with your project saved as a folder, but the chances of things breaking catastrophically are much higher, considering how many features in Construct reference each other.

  • The linked post should still be accurate. Apply the effect to each layer you need it on. See if you can combine or reduce unnecessary layers if you have a lot.

  • Functions will not make your project file size noticeably smaller except possibly in extreme cases. They can save space in terms of number of events on your event sheet. If your 6 events are replaced with a function that also has 6 events, you will have the same number of events. However, if you use those 6 same events in 10 different places on your event sheet, you would only need to call the function once for each.

    Note that additional actions do not constitute additional events - you can have as many actions per event as you want. The main benefit of functions is when making changes, you can make the change once and have it applied to all instances where the function is called, rather than having to change it in every instance separately.

    As far as efficiency and system resources, functions have negligible impact in most cases.

    To make your project smaller in terms of file size, the first thing to look at and reduce would be the number and resolution of your sprite textures and animations.

  • Possibly loading all your sprites into memory for the first layout, if your first layout is heavy (not just the loading screen). Try loading into a blank layout, and then switching to your actual first layout on trigger and see if it makes a difference.

  • This won't work with the built in platform behavior. You can either use physics or set up your own platforming events.

    You could also possibly use a helper solid object. Upon collision, move the upper block up a pixel, and place a temporary invisible helper object of the same width below it, so that the fallen block is resting on this helper object rather than the moving box. When the moving box no longer overlaps the helper object, delete the helper object and the upper box should fall down. Haven't tested this myself though.

  • From my past experience with pong, I found "perfect" bounces happened because of the limited resolution of the collision box (octagonal). You can tweak it a bit manually rotating the collision box points slightly so that they are not perfectly in line with any 90 degree angle.

    I had meant to try making an ball out of several separate objects to increase the resolution of the circle but never got around to trying it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You probably wouldn't notice any performance difference either way. There will definitely be an organizational difference for your workflow though.

    First thing that comes to mind is that if you decide to use a single object only and later you find you want to remove some frames from each animation to improve performance (or lengthen certain ones), it would be a nightmare to find and re-reference all the correct frames in your event sheet.

  • CSS pseudo selectors are not a thing in Construct.

    There are workarounds though. You can use a substitute sprite font or text object to display what gets typed in your text input box, which can be set to invisible. The first character in sprite font or text objects can then be accessed with the .left(1) expression and replaced with a suitable BBcode tag.

  • Construct really isn't the greatest for text heavy applications, but it should work fine. From my experience with text based applications, the key is to not update every text object every frame (say, to display an array) and only change them on demand as necessary. If you do that, filling the screen with text objects should be no problem at all.

  • You can check for collisions between picked objects only, so yes. This could take some work depending on your application though, because the solid behavior and the behaviors that interact with the solid behavior (if you're using them) do not support filtering groups of objects.

  • I was wondering about this too. There used to be a link that let me see all the threads I had participated in, sorted by last reply chronologically. Neither of the links under the avatar do quite the same thing.

  • First thing that comes to mind would be to put a "cookie" in localstorage. But localstorage isn't really accessible or shareable to begin with so I don't see why this would be a problem?

  • AJAX is simply a method to get data from an outside source, like a text file.

    The tool mrtumbles is referring to would be something that generates or edits that text file. You can make it yourself, or it could be done with something existing like notepad or excel. The format is up to you.

    (Modding Tool) creates (Data/Configuration File) loaded into (Game)

    By changing your file, you change your game.

  • There are a few ways to go about this, depending on the scope of whatever you are trying to achieve.

    A straightforward way would be to build your game engine around external files or project files loaded by AJAX. They would contain the values for moddable variables in your game. If you change the project file, then different values would get loaded.

    From there, a more advanced option would be to load sprite assets from URL, again either from project files or external files. You can have an xml document to provide a list of links to all assets that need to be loaded, and change that file if you want different assets.