LittleStain's Recent Forum Activity

  • majikk

    My solution works perfectly well if you choose to create an object instead of spawning it.

    With System create object, there is no need to have an instance on the layout.

    With spawning there is no need to have an instance either. You just have to make sure the object that is doing the spawning is on the layout. So only if this happens to be another instance of the object is it necessary to have that instance on the layout, but because you were talking about a catapult, I would expect the spawning to happen there.

  • You could use the event:

    System pick random platform

    • create object at: platform.x,platform.y+50

    (the plus 50 mis to make sure it's above the platform.)

  • lennaert was working on the same or at least similar thing, he might be able to point you in the right direction.

  • Most of what you are asking is explained in this:

    Ghost shooter tutorial

    Following it will help you understand Construct2 better, I recommend it.

  • You probably should use a third party plugin to get something like this done.

    I guess using an Iframe to display the video should work, or maybe the video plugin would suit you better.

    Use the search or go through the plugin part of this forum to find one that works.2

  • Two words: Colission polygons

    I agree with what Aphrodite said though, if you import all as big images you might run into performance issues, so I would look into chopping things up in pieces or using tilemap to repeat certain parts.

  • CJK

    That will help spawning a random object, but I was under the impression topic-starter wanted the possibility to spawn a specific object by referencing it in an instance variable.

  • That is one way of doing it that works.

    Because the check events are subevents of the creation, only the created instance is affected.

    Picking is an important part of creating events in Construct2, you will always have to tell the program which instance to act upon. In this case it's clear it's the created one.

  • set the frame in an on created event. that way only the created instance will be picked and changed.

    your system compare event doesn't pick any instances, therefor all instances are affected.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There was another message which has now been deleted. That message was spam. Nothing to do with your question and/or my answer to it.

  • At the moment this is only possible with the third party plugin nickname.

    You could also add a variable check on destroyed and based on the variable spawn an object, but if you want to directly spawn by name, the nickname plugin it is.

  • Yes, it's possible, as long as there has been an instance on the layout.

    Just use system create object.

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies