granpa's Recent Forum Activity

  • [quote:2inp4o5p]If a condition picks one object in a container, every other associated object in its container is also picked.

    [quote:2inp4o5p]It is essential to be familiar with how events work in order to understand how containers work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • set your period to 0.5 and your action to Text >set font size to clamp(text.sine.value,12,32)

    I'm not sure of what you want exactly , hope it's close .

  • This might help you , you will have to fine tune it to meet your needs , I have used this on "Game Over" text display's .

    Since you are using sine behavior on text , add this action where it's appropriate for you .

    Text >set font size to text.sine.value

    It might not suit you but maybe give you an idea .

  • [quote:2dnlo44b]abs(x) Absolute value of x e.g. abs(-5) = 5

  • I suppose you already checked this out .

  • Far too many people depend on behaviors , anytime you can do with events what you need then I recommend avoiding behaviors , too me I prefer more control with events .

  • When ever I test a new Engine , I replicate something from my Engine that I'm using and then note the differences . Personal preference plays a large role and everyone has things that encourage and nags at them , Construct 2 is not perfect but improving all the time..........try it , you might like it...

  • for ""=0 to array.width...>array.set at((loopindex),loopindex)

  • granpa's code (almost) does it (brackets were in the wrong place):

    x=(square1.x+square2.x)/2

    y=(square1.y+square2.y)/2

    oops.....I wrote that at 7 am my time on memorial day morning with one eye shut......

  • go to the store page and look under downloads , your file should be there

  • Don't forget that cc allows you to make custom collision masks for your sprites and use that mask on all animation frames .

  • I remember something for two square objects.....x=(square1.x+square2.x/2)...y=(square1.y+square2.y/2) , could be usefull

granpa's avatar

granpa

Member since 29 Apr, 2013

None one is following granpa yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies