Nimtrix's Forum Posts

  • Hmm, a perfectly laid out problem with a .capx included, why hasn't this been solved yet!? <img src="smileys/smiley17.gif" border="0" align="middle">

    Anyways, I think this should do it, let me know if I broke anything and I'll try again:

    SpaceInvaders_Edited.capx (r95)

  • Ah, sorry I meant to make it in r95 as there is a nasty include bug in r96. My mistake, give me a shout if you want a r95 version instead.

    What I did was just create a new "Enemy dead" object and use a random expression for the animation. Nothing fancy.

  • The enemy is destroyed when dead in my example.

  • You don't really need an array for that, just use an object with several animations:

    Example: RandomDeathAnimation.capx (r96)

  • haroonjoblo

    This is a very old thread. If you have questions, you should make a post in the "How do I?" section of the forums. There are usually plenty of people who can offer help without us having to bother the only developer of the software.

    As for your question, if you have a look at the "Example of realistic rope" thread in the FAQ, I think you'll find the solution to your problem.

  • I couldn't really pin-point the problem, but you should probably add the animations as different animations in an object instead of as different sprites. (if there's no reason I missed)

    Anyway, did some editing, does it work now?

    Schoening_Animation.capx

    About the "Exported games" thing, did you try and run your game from the HDD? You've always had to upload to somewhere afaik.

  • All the layouts I made are set to use "Event sheet 1". Your layout 5 is set to use "Event Sheet 2".

    Check the event sheets entry in the manual if that makes no sense.

  • Custom key mapping would be great, although there is already a plugin for it:

    (Plugin) Keycode - Scirra Forums

    by Wastrel

  • You've been using C2 for a while, haven't you? Have you always had these problems with animations, or did it happen after a recent update?

    Also, if you could share a .capx, that would help.

  • Oh, I might have been wrong here, "A maximum of 4 layers in any layout" could mean you can't make more than 4 layouts. Let me check.

    Edit: No, I can make as many layouts as I want without my license file. Where/when do you encounter this problem?

  • Ah, I see what you mean now. Your problem here is that when the "Collision" objects collide with each other, the "Collision" objects are the ones being picked.

    You want to pick the "Main" object and apply events only to that.

    In order to solve your problem you'll need to track which "Collision" object is connected to which "Main" object.

    One way would be an instance variable to store the collision UID:

    PickingCollision.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, you can make a layout to use as a meny layout. It's common to do menus that way.

  • What do you mean by "stopped acting like an instance"?

  • I really don?t use the Event ribbon, but I tought it would be useful ;]

    Heh, me neither really, except for the grid. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • If your mazes are complex and you lay them out by hand in C2, it would probably be easier and better to just use several different layouts.

    If the mechanics of the game don't change from level to level, you can set all your layouts to use the same event sheet.

    - A maximum of 100 events in a project

    - A maximum of 4 layers in any layout

    The free version only has a limit on layers and events, not layouts.

    Here is a quick .capx illustrating changing layouts:

    MazeDemo.capx (r95)

    Creating and destroying the maze in the first layout would probably require more events, so you might hit the 100 event limit.