dop2000's Forum Posts

  • Try removing quotation marks from the language variable.

    language=en-US

  • It's not possible to unload individual animations.

    If you have animations for 10 different fighters all in one sprite, but only 2 fighters can be on the layout at the same time - then you are wasting 80% of image memory. In this case yes, you need to split this sprite into 10 different sprites.

    You can use the same approach to split animations by fighting style, but only if one style can be active at a time. Otherwise, loading a sprite with the required animation during the fight may cause a noticeable lag.

  • Yeah, for continuous actions you can remove "Trigger once" for "Compare axis", and you need to use "Is button down" events for gamepad buttons.

  • JGblkshot After importing C2 project to Construct 3, try to save it with a new filename. Then restart the editor and try opening the C3 project.

    Maybe saving it in C3 format will rebuild the broken events which you had in the original C2 file.

  • I imagine you map the buttons using a bunch of variables? For example:

    Set FIRE_BUTTON=8
    Set JUMP_BUTTON=10
    

    And you probably have events like these:

    Gamepad On button index FIRE_BUTTON pressed : Spawn bullet
    
    Gamepad On button index JUMP_BUTTON pressed : Player simulate jump
    
    ...
    

    You can move these actions into functions and then you will be able to call these functions when either a button or a stick is pressed:

    Gamepad On button index FIRE_BUTTON pressed : call FireFunction
    
    Gamepad On button index JUMP_BUTTON pressed : call JumpFunction
    
    Gamepad Left X Axis <-30 : call FireFunction
    Trigger once
    
    Gamepad Left X Axis >30 : call JumpFunction
    Trigger once
    
    
    
    On FireFunction : Spawn bullet
    
    On JumpFunction : Player simulate jump
    
  • In that other post you wrote "Alright, it's worked flawlessly. I don't regret getting the upgrade." So did you manage to fix this problem or not?

  • Most likely it's an issue with one of the plugins.

    Press F12 when you see this error and check messages in the console log.

  • It's difficult to tell without the project file. What object are you using for the rope? If it's a sprite, check origin point position in it.

  • It depends on what platform you are developing the game for. 300MB or even 500MB should be ok these days, but it may run slow or even crash on some old phones.

  • Most likely you used "On button pressed" events instead of "Is button down". "On pressed" is a trigger and it only happens once.

    There are lots of official templates in C3 with gamepad support, you can check how they are made.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you tried "Array Load from JSON" action with this string received from the server?

    If it doesn't work, you should use urlencode() and urldecode() expressions. Urlencode the data before sending, and urldecode after you receive it.

  • If you can reproduce this bug in a small demo project, you need to report it:

    github.com/Scirra/Construct-3-bugs/issues

  • If you want to save it to a variable simply do "Set var to SaveStateJSON"

  • You don't need Local Storage.

    On Save Complete: Browser Invoke Download of a string SaveStateJSON

  • So you're talking about the System Save/Load system?

    After performing "System Save" you can access save state JSON using expression SaveStateJSON, inside "On Save Complete" event.

    Then you can save it in a web game using "Browser - Invoke download" action, or in NWJS game using Write File action.