LittleStain's Forum Posts

  • So, using blendmodes you can do this pretty easily..

    capx

  • Like this!

    Just drag and drop the light.

  • maxdilbe in construct2, when you select new project there is an example of move to mouse.

  • If I understand correctly you should just flip or rotate the sprite in the image editor, so it faces the right way.

  • Lines Capx

    I'm not sure if this is the best way to do this, but I guess it gets the desired effect. I was just testing myself if I could do it, there must be better ways though.

  • keyboard on key pressed 3 - set variable to 3

  • Like this?

    <img src="https://dl.dropboxusercontent.com/u/48563442/YouWinYouLoose.jpg" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This topic was started two years ago. I don't think Crea is still looking for the answer.

    dineshpabbi10 Why is this two year old topic back to the first page of the how do I section? Couldn't you have just made your own topic to show off your capx? (If someone else kicked this topic and later removed his or her post, I sincerely apologize)

  • You could:

    Create a sprite, call it timersprite, set it invisible and give it the timer behaviour.

    system on start of layout (or after start button pressed or whatever event you want) - timersprite : start timer duration: 30 tag: "enemyspawn"

    add another event:

    timersprite : on timer "enemyspawn - create object "robot" on layer 2 (x:12751,y:430)

                                          - timersprite: start timer duration: 30 tag: "enemyspawn"

  • No, the size a sprite takes in memory is "widthxheightx4 bytes" of the sprite in your image-editor.

  • I don't understand what it means for the layer to move out of the layer..

    maximum and minimum shouldn't be that hard to set by adding conditions

    to the touchzoom>=0 event.

    -system compare two values : InitialScale * (TouchCurrentDistance / TouchStartDistance) <= MaximumScale (you have to set this number yourself)

    -system compare two values : InitialScale * (TouchCurrentDistance / TouchStartDistance) <= MinimumScale (you have to set this number yourself as well)

  • The layout size shouldn't be a problem, but if you have a sprite that size please consider that it will take 5000x10000x4 = 200000000 bytes of memory. that's about 200 Mb if I'm correct.

  • What is wrong with the touch-zoom example shipped with Construct2? As far as I can see it has touch-pan integrated in it..

    What is it not doing correctly for your needs?

  • I could try to explain the timer behaviour, but this link will do

    Scirra Manual: Timer behaviour

    in essence you can decide, when the timer starts (and for what period of time) and what should happen when the timer ends. So if you set the timer for thirty seconds you could set the creation of enemies on timer end and restart the timer for thirty seconds and repeat and repeat....

    So every thirty seconds the enemies would be created, but you can adjust everything through events and conditions ofcourse.