NoticEmpire's Forum Posts

  • R0J0hound

    The size shouldn't really be an issue, but updating the tileset each time the tiles changed seemed tedious, so I tried looking for a border effect of some kind.

    I ended up trying to use your outline effect instead!

    The effect is really nice, I've made it so the outline size would be consistent with the zooming of the map.

    However, the effect isn't pixel perfect.

    I have no experience with effects but tried to have a crack at editing it and managed to get this.

    However, when zoomed in or out a certain amount It will occasionally get a single tiny pixel off, and given I have no experience with effects I don't know what the cause is or what to change.

    As the original creator of the effect, might you know what to do? Thanks for all your help so far and for creating the effect in the first place :)

  • I'm aware that its possible to check every single tile in a tilemap via a loop and then compare it to its surroundings, but at a larger scale this gives quite a performance hit. Is there a better way to go about this?

    Also is it possible to determine the number of tiles in a tilemap as well?

    Games like territorial.io are able to keep an accurate size of hundreds of players's territory and have borders on a by-tile basis on maps with hundreds of thousands of tiles that can be occupied. Maybe there's some super efficient method I just don't know about?

    Any help is appreciated :)

    Tagged:

  • Nevermind, turns out this was redundant and I could have just used the dictionary object, which honestly works better for my needs anyways. Thanks for the help and have a nice Christmas!

  • I really wanted to avoid having to manually check each variable, but I guess I have no choice.

    Still though, I saw a response on of the posts you linked that mentioned using js and the eval function, but unfortunately that didn't work when I used variables instead of regular numbers.

    Is using javascript not a possibility to solve my issue, or will I HAVE to do what you did in your parser example and check if a string is a variable name for each variable I might use?

  • This is going to sound kind of weird, but my dialogue system has the dialogue stored in text files which is then read through ajax and gets used in game. The dialogue currently supports branching paths, neat dialogue effects, etc.

    This is what it looks like at the moment.

    What if I want to check variables to see if dialogue is available? Let's say certain dialogue should only play if a quest is completed. This is easy to do from within Construct itself, but as all the dialogue is stored in these texts, I was hoping I could write the check within the file itself.

    Within the dialogue file it would have something like testingvar=1 or testingvar=true. My testing file uses the example testvar=1 While the screenshot shows the check testvar=1 as part of the branch name, in my game it is properly separated after being read. However, after isolating this expression from the rest of the text from within Construct, it is still represented as a string. It isn't an expression that Construct can actually check.

    Is there a way to convert a string to a readable expression? If so, how do I do it?

    Any help is appreciated :)

    (I apologize if this is hard to understand or read, it's kinda difficult to explain what I'm doing here.)

  • It's not on phone, it's running on Windows 10.

  • Object count remains the same, I probably should've mentioned that as well.

  • Leaving the game open for a while makes it use more CPU and makes it drop frames. Yet I don't believe I'm the cause of it because in the Profile tab in the Debugger, Event usage remains the same. Frames don't drop over time unless the game is left alone with no inputs, and spamming left click brings the FPS up and lowers CPU usage.

    The only section that gradually increases over time if the game is left idle is the Engine's CPU usage.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've requested access to the google drive.

  • Most threads I could find on the subject were years old and all had dead links.

    Does anyone have the GamesWarp Normal Map FX? The links they've provided before all go to a dead website and I was hoping someone might be able to link it over to me.

    Any other Normal Map FX would be appreciated, but preferably they'd allow multiple different light sources.

    Tagged: