Turaco's Forum Posts

  • Any way to change that?

  • I have a movement set up for my character that makes it use custom movement + path finding. Custom movement when mouse button is down, and path finding when once clicked.

    I made it work perfectly as I wanted, but there is one problem with path finding: my character lags when he stops walking and i click him to move again. The character then moves in a very slow speed towards position for like 0.5 seconds and then starts moving normal speed again. This doesn't happen every time, but very often.

    Now, how do I fix this lag? I tested different cell sizes, tried turning off custom movement. But nothing helped.

  • My goal:

    Have all sorts of character attributes (strenght, intelligence etc.) stored which can be increased by leveling up your character.

    General conditions:

    I want to have it set up the best way possible, without bugs / lags and without hundred hours of work if something is missing out.

    My question:

    I thought about using Arrays (maybe CSV plugin?), general variables, instance variables, dictionaries etc.

    I tried different things, but still can't find out how to do it the best way.

    Sorry for my bad english.

  • I know this thread is already old, but I can't find out how to add value to my csv entries.

    I tried this: CSV set value at ("Strenght", "Mage") to CSV.At("Strenght","Mage")+1

    My starting value is 10 and i want it to add +1 whenever i click a button. So it should be 11...12...13...14... and so on. But it ain't working. What's the problem?

  • Yep, it works:

    On C pressed

    • System compare two values: CharacterWindow.count < 1 --> create CharacterWindow
    • Else destroy Character Window

    Thanks for your help

  • Whoops yes I made another very common beginner mistake. Actually I recommend not using wait - it is the cause of a lot of headaches. Add ELSE to the second event.

    I forgot about that. If you use else, you might not need a variable at all.

    On C pressed, if CharacterWindow does not exist - Create CharacterWindow

    ELSE On C pressed - Destroy CharacterWindow

    Can't add "Else". Probably because I have the condition of pressing C which cannot have "else". Any ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • UPDATE: I put wait 0.1 seconds after destroying the object and it finally works

  • oosyrag

    Thank you for your help.

    Sadly it's not working. I think it is still creating and destroying the window at the same time and therefore nothing happens. If I put a wait - 0.1 seconds before changing the variable - the window apears, but i can't close it....

    Any ideas?

  • Hi. I want to make a character window to pop up when player presses C.

    So far so good:

    On keyboard C pressed -> create object Character_Window on layer HUD ...

    How do I make the window disappear when i click C again though? I tried different ways but cant figure out still. Maybe with instance variables? I thought this is a simple thing to do, so please explain me

  • Hello community.

    I'm creating an Isometric RPG game for PC (preferably for Steam). It's my first big project and I'm trying out building the basics.

    I have a small problem: I don't know what sprite sizes to use.

    At the moment i exported ~700x700 pixel sized elements (Walls) as PNG and placed them in my layout. Firstly I thought I would resize them to later in construct 2. But is it really the best method? Or would it be better to resize them in other programm like Photoshop and add the real size directly to construct2? I think it could save memory as the object would be less heavy. But I don't want to lose any graphical quality!

    Here's an example of my Wall objects:

    Also I'd like to know what would be the best resolution/window size for my layouts? At the moment I have everything set on 1200x800. I would like my game to support multiple screen resolutions.

    I'd be thankful for any kind of help.

    Turaco