dop2000's Forum Posts

  • I posted a suggestion, please vote:

    construct3-21h2.ideas.aha.io/ideas/C321H2-I-297

  • The reason is likely a different collision polygon or origin point position in the "attack" animation. When animation is changed, the polygon appears slightly overlapping the JumpThru platform, and the enemy falls through it.

    The solution is to make sure all origin points and polygons are the same in all animations. Or use an invisible base sprite with platform behavior, and pin the enemy sprite with animations to it.

  • Value: PartSel

    Lower bound: 0

    Upper: 4

  • On UP Key pressed: Set PartSel to max(0, PartSel-1)
    
    
    On Down Key pressed: Set PartSel to min(4, PartSel+1)
    
    
    System PartSel is between values 0 and 4 : Set font color ....
    Else : set font color ....
    
  • You need to use System conditions "compare two values" and "is within angle" and check touch speed and angle to recognize a swipe gesture.

  • This is the important part:

    I would suggest removing addons one by one and trying to build the app. (make a backup copy of the project of course). Once you find which addon is causing the problem, you can contact Chadori on discord and ask for help.

  • 1. Create a new layout Assets, move it to be the top layout in the list. And place your default "clean" instance of the tilemap on it.

    2. Yeah, it's not easy to work with multiple layered tilemaps.. If you have several objects on top of each other, you can select each of them by holding TAB key when clicking.

    Also you can resize your tilemaps like this:

  • Your question is why the animation is paused on the first frame? Try changing the actions to play animations from the current frame (not from the beginning).

  • I work in Construct on two computers with different specs, but only on one at a time, obviously.

    I also often need to switch between the stable and beta releases of Construct. And sometimes I need to test my projects in another browser like Firefox.

    The problem is that Construct logs me out constantly. Seems like it only allows two, or maybe three login sessions. So I get logged out and have to re-enter my login details many times every day.

    Ashley Is there any way to fix this? I understand that you probably want to prevent people sharing accounts, but can one login session be at least used by all C3 versions in the same browser?

  • Make sure to enable "Force own texture" on the layer.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's really difficult to understand the issue without an example. Can you share a small demo project?

  • My main concern is that construct is not a robust text editor.

    I agree, it's not. It has got much better since early versions, but still nowhere near the convenience of Excel or Google Sheets.

    If I need to add a lot of strings to the array at once, I usually prepare them in Excel and then copy over to the construct array.

  • Glad it worked!

    To make the code even shorted you can use ternary operator

    For each Room 
    ..Room set frame to (ArrayMap.at(Room.RoomNumber)=0 ? 7 : ArrayMap.at(Room.RoomNumber))
    

    This means - if the value in ArrayMap.at(Room.RoomNumber) is 0, then set frame 7, otherwise set frame to the value in the array.

  • Since you are loading/populating the dictionary only once at the start of the game, you should not worry about the performance.

    Anyway, the array thing seems good but I have already implemented the dictonary in my game on which I am working on since 2019 and it would be a pain to switch to that.

    Yeah, I also prefer working with a dictionary. But the array is much easier to manage, especially when you have many hundreds or even thousands of translations in the game. I have a template in the Asset Store which converts that 3D array into a single dictionary, extracting only the strings for the current language.

  • You can also run a loop for instances:

    For Each RoomFamily
    ...ArrayMap value at (RoomFamily.RoomNumber)=1
    ......RoomFamily set frame to 0
    ...Else
    ......RoomFamily set frame to 1