oosyrag's Forum Posts

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • For starters, if an object is created, it is already automatically picked for actions immediately following the creation of the object.

    Otherwise, if you need to pick an already created object, you can do it by IID or UID, which are values that can be passed as parameters.

  • That depends on how you set up your inventory in the first place, there are many different ways to do an inventory.

    If you have two instances inventory arrays, assuming you can already add and remove items, it would be as simple as removing from one and adding to the other. To pick the correct inventory to manipulate, you can utilize containers. This way your inventory array will be attached to a sprite or other object you can pick by mouse or touch.

  • agent11 is correct.

    In the event you need non-identical tiling or collisions, you should utilize a tilemap instead.

  • Free version workaround:

    Utilize a separate helper sprite with the same properties as your tiled background. Spawn the helper sprite as you would your grass - if it doesn't overlap a grass, place the actual grass tiled background object. If it is overlapping, then skip that step and move on to the next. Delete the helper sprite afterwards (or just move it to the next position).

  • You need to change the game name and/or instance name to be unique. The signalling server has nothing to do with that.

  • You'll want to utilize families.

    Put your tiled background into a family. Then you can use If tiledbackground overlaps family, destroy tiledbackground and it should only destroy tiledbackgrounds that are overlapping.

  • + On Start Layout

    + For "loopx" from 0 to layoutwidth/32

    + For "loopy" from 0 to layoutheight/32

    • Create sprite at loopindex("loopx")*32,loopindex("loopy")*32

    Assuming your origin is top left of sprite. If you want it center, you'll need to add sprite.width/2 and sprite.height/2 to offset the respective x and y values