dcrew's Forum Posts

  • Did you do anything like rename or delete to the files of your project before you opened your project in C2?

  • Sorry dcrew, it doesn't count if you delete or rename files manually in Windows Explorer while Construct 2 is using them! Of course that will break it. I don't expect anyone who is encountering the bug is doing that. I think it is something in the editor which causes it, not modifying files outside of C2.

    You could be right, but I'd consider asking people if they did anything to there files first before that, you never know! People may decide to rename/delete files for reasons I don't quite understand, Sorry if I couldn't help <img src="smileys/smiley18.gif" border="0" align="middle" /> <img src="smileys/smiley18.gif" border="0" align="middle" /> I tried <img src="smileys/smiley9.gif" border="0" align="middle" /> But failed <img src="smileys/smiley11.gif" border="0" align="middle" />

  • OMG, I REPRODUCED IT!!

    <img src="http://screensnapr.com/e/gwKmhy.png" border="0" />

    I saved my project as a project (Not a single file) and then closed C2, Wen't into the project animations folder and into one of my sprite folders, then renamed the folder of one of the animation names. Then opened the project in C2 and got it!

  • Found something similar!

    <img src="http://screensnapr.com/e/BZhgei.png" border="0" />

    I deleted the Temp folder in "AppData\Local" whilst my project was open. And then debugged my project and got that.

    I have a heavy feeling people have automated thing which deletes the Temp folder every so often.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cross off this one move the images they imported to a new directory, Just tried and that isn't the problem.

    Closer to reproducing it, let me try the others.

    EDIT

    This isn't it: rename the file of the image

    EDIT

    None of these:

    rename the sprite

    rename the animation

  • This has never happened to me, but I'm pretty sure that the problem is when people move the images they imported to a new directory OR they rename the file of the image OR they rename the sprite OR they rename the animation.

    Either way, I've never had it happen to me.

  • Um even if they add a way to add multiple comparisons to or, that wont work with picking using the system compare. Also you have the possibility of triggering the action more than once.

    Block.AnimationName = "Block1" | Block.AnimationName = "Block3" | Block.AnimationName = "Block13" | Block.AnimationName = "Block14"

    Will return a value of 1 if any of those are correct.

  • tulamide

    Sorry, I misunderstood. Now I understand, thanks! And I don't mind waiting <img src="smileys/smiley17.gif" border="0" align="middle" />

  • You sure you don't want to use the in-built platform behavior?

    I need to design custom movement, Since built-in one when it collides with Block it would stop, and I want it to only stop if the block animation is equal to certain values. Plus this is my first ever attempt in game-creation at custom movement, so it's interesting and exciting! <img src="smileys/smiley17.gif" border="0" align="middle" /> <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Well:

    <img src="http://screensnapr.com/e/sYWMPy.png" border="0" />

    It seems to be now glitch free :D

    It just needs some more work to make it better, thank-you guys/girls!!

  • Remind me of a custom platform movement I did before the corresponding behavior was created.

    Did you do that as an exercise?

    You should use dt to ensure smooth and non fps-dependant movement.

    add 50*dt to xSpeed will add 50 per seconds but bit by bits every tick ('cause dt is the time between two ticks)

    And then set X to player.X + xSpeed*dt you will go at xSpeed px/seconds

    Also as Weishaupt said it's better if you provide the capx, there's some other information we need to judge your work or at least to try it.

    Thanks gonna try that now, The thing is the capx is my major game that I would not like to get released publicly.

  • It would be alot easier for the others to "check" you code, if you'd post the CAPX

    That IS ALL the code in that image.

    EDIT: Of the player, the other code is all GUI stuff etc.

  • Anyone?

  • Ashley

    Confirmed. The expression editor won't take an expression like

    "red"="red"

    It says "type mismatch, = does not work with 'integer' and 'string' (use & to build strings)"

    dcrew

    You can use a private variable to combine picking across events to do an "or".

    http://dl.dropbox.com/u/5426011/examples%208/or_example.capx

    Does no one understand what I asked for? I don't want multiple events, for example: take your capx and the event "Is animation 'Red' Playing?" rather than having it seperate I want: "Is animation 'Red' or 'Blue' or 'Green' or 'Purple' Playing?" for reasons I do not feel the need to explain. I'm happy to wait till Tom and Ashley fix this <img src="smileys/smiley1.gif" border="0" align="middle">

  • I just created some custom platform movement:

    <img src="http://screensnapr.com/e/Nb3huw.png" border="0" />

    And I wondered if anybody has any ideas for improvement?

    There seems to be some glitches like: I can slowly walk through the side of the "Block" object and when I'm fully in it then it slowly falls down.

    I know this is possible to do custom movement, I'm pretty damn sure (99%) that people do it in there 2D games all the time.

    Thanks!