Tokinsom's Forum Posts

  • Didn't think this would be so difficult..

    Each of my game's levels has coins you can collect. I want to save which coins are collected to a dictionary so they don't re-spawn when you die or load the game.

    I got it somewhat working by looping through the coins at the start and giving them an ID, saving the ID of the coins collected to a dictionary, then looping through the dictionary and destroying the coins with the same ID. It was something like that at least -w-;

    Problem is I've got a bunch of different levels so I have to factor that in, else Coin #1 you collected in 1-1 will also be destroyed in 1-2 and so on. I attempted this but it ended in a mess of loops and substrings and str/int conversion and so on. Ugh.

    Any ideas?

  • Everyone has been getting this crash for well over a year. Started around the time the image editor was added but no one can figure it out.

  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/105711543/SolidsBug.capx

    Steps to reproduce:

    Wait 2 seconds.

    Observed result:

    Player does not fall through platform when floor's solid attribute is disabled. Instead it floats & thinks it's falling when it isn't.

    Expected result:

    Player should fall through the platform as it did before r140

    Construct 2 version:

    r140

  • Well I still get the error when opening it via the object window. Tried resetting the dialogs too, didn't help.

    I think it's clearly a bug else that error message wouldn't pop up..

  • I just make sure all layouts are closed, then right-click an object in the hierarchy (project window, not object window) and choose "Edit Animation".

    Error message says:

    ---------------------------

    Construct 2

    ---------------------------

    Please open a layout before editing an object's texture.

    ---------------------------

    OK   

    ---------------------------

    Afterwards half the image editor opens and when I close it C2 crashes.

    It's happened in every .capx in every C2 build for as long as I can remember. Just never got around to reporting it.

  • If you open the image editor without any layouts opened you'll get an error message. After clicking OK only the animation & frame windows appear but they are blank. If you attempt to close either one C2 will crash.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • -w-; You guys and your behaviors.

    +Player overlaps platform at offset 0,1

    +Platform.Variable = 0

    -Set Platform.Variable to 1

    +Platform.Variable = 1

    +Platform.Y > [Y destination]

    -Set Platform.Y To Platform.Y - [speed] * dt

  • Please check your PM's; I'd like to talk to you more about Ghost Song!

  • I had a feeling something big was in the works o.o It's been about 3 weeks! Anyway, take your time. Haste makes waste etc. etc.

  • You don't want the physics behavior for your player or anywhere in your game from the looks of it. It's meant for like...angry birds. Use the platform behavior. C2's built-in behaviors, unlike many other programs, are actually pretty good and reliable.

    As for your world, look into the TMX Importer, AJAX, and project files. You'll have to load your rooms dynamically using data from a pre-existing minimap that you can also create in Tiled or your own editor.

    Start small man, you've got a long way to go.

    (Great graphics btw. Also looks like a really cool MMX/Metroid hybrid.)

  • Probably never. Letterbox integer scale isn't meant for mobile devices..looks bad.

  • You can make your own in 10 minutes.

  • Actually we are forced to use CocoonJS; we have not been provided any better options. We've been waiting for YEARS, man. Every update fixes one thing and breaks 50 others. Now the vast majority get nothing but a black screen.

    Considering some users have paid upwards of $500 this is unacceptable and they have every right to bitch all they want.

    I've given up on it entirely and no, it's not a problem with my "logic". I've been using MMF, CC, and C2 for over 8 years.

    I love working with Construct 2 and I will continue to support Scirra for a long time but the mobile side of it is a complete bust.

  • "Trigger once" limits the action to one instance. Not sure why. Real pain to work around sometimes.

  • Submit a bug report with a .capx.