shinkan's Forum Posts

  • <img src="http://dl.dropbox.com/u/34375299/Construct%202/examples/4doors.JPG" border="0" />

    I only had to use Is overlapping with trigger once for collision detection .

    "Player On collision with Door" was giving me strange results.

  • If you are on free edition, you probably would like to keep your events count as low as possible.

    I took theubie image and remade it a little to use function object and sprite animations.

    There is only one Mob sprite with four different animations "Mob1", "Mob2", "Mob3" and "Mob4".

    As in theubie image i've used Local text "SpawnType" to choose("Mob1","Mob2","Mob3","Mob4"), but then instead of spawning Mob sprite equal to SpawnType variable I've called Function "spawn" with "SpawnTpe" variable as a parameter.

    Function: On "spawn" spawns Mob sprite and then set proper animation by name selected from function parameter.

    <img src="http://dl.dropbox.com/u/34375299/Construct%202/examples/spawn.JPG" border="0" />

    It basically do the same thing like in theubie example but using less events

  • <img src="http://dl.dropbox.com/u/34375299/Construct%202/examples/imagepoint.JPG" border="0" />

    Sprite have image point called "point"

  • 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 do that.

    if it's instance variable

    Set position to Object.ImagePointX(Object.variable), Object.ImagePointY(object.Variable)

    or global variable

    Set position to Object.ImagePointX(variable), Object.ImagePointY(Variable)

  • You do not need container for that - it's only an easy and quick way to do this.

    Other way, without using containers would be something like this.

    <img src="http://dl.dropbox.com/u/34375299/Construct%202/examples/bodyheadnocontainer.JPG" border="0" />

  • There's not much to add to Whiteclaws and sqiddster lists..

    • I like to have separate things on separate event sheets.

    Event sheet for global variables

    Event sheet for player controls

    Event sheet for game mechanics

    etc

    and include them whenever I need to, for example

    +Turn = human

    + include Human event sheet

  • <img src="http://dl.dropbox.com/u/34375299/Construct%202/examples/bodyheadcontainer.JPG" border="0" />

    Head and body are in container.

    In my example on start of layout I destroyed body sprite (head is automatically destroyed) to make sure there are no objects on layout.

    When you press left mouse button new object body is created (is in container with head so head sprite will be created as well) then i used the pin behavior on head to pin head sprite to body sprite.

  • Unfortunately yes.

    It can be done without families quite easily. It just be more events to code.

  • ...

    then use something like bullet on collision with head, destroy head.

    it will only destroy that particular head.

    Actually no. Destroying the head will destroy all elements in current container. Instead of destroy You can make it invisible or change animation.

  • Yes, the beginner tutorial was made long time ago, when C2 uses old graphic style in the editor.

  • They are black and white because that's by design.

  • I want to make you an example capx file...

    but you are using very old r108 (most of us here know why) and you won't be able to open it up

  • actually it's an issue with "wait" and timescale (global or for object).

    Looks like wait slows down with timescale

    Ashley can You confirm on this one?

  • Just wondering... did someone made a test with CC .exe and C2 .exe (node webkit or whatever). I can't run CC anymore to do it myself but i'm curious about results.