tecbug's Recent Forum Activity

  • Thanks for answer, but F11 triggers browsers fullscreen. I was asking about games fullscreen.

  • Can fullscreen be triggered via code?

  • Can I somehow check if object2 can be seen by object1?

    I could do something like this:

    every 0.1s spawn sensor from object1, rotate it towards object2 and set sesor.speed to high value, then check if sensor overlaps object2.

    But it's very expensive (for 10 objects there will be spawned 100 objects per second, after 10 secs there will be 1000 objects and so on...)

  • I would second that request. "Overlaps at offset" was very handy in Construct Classic. Can it be ported to Construct 2?

  • That's exactly what I needed. Thank You very much.

  • Thank you.

  • Is tere any development timetable for Construct 2?

    I know that now you're working on families, but what after that?

    What faetures are planned in full release?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Good idea. It would be very useful.

  • Yann, thanks. It works perfectly.

    Kyatric, I sure will.

  • Is it possible to "code" A star (A*) algorithm in Construct 2?

    I know there is PathFinder behavior, but i'd like to kode it in construct events to show in school that contsruct also can do it (not only programming language).

  • It compares only Y axis, and works only if rocket goes right. If it goes down, up, left (or at any other angles) this doesn't work.

    Launch this (i used Your code) and wait o moment: http://tecbug.pl/pub/c2/avoidingballs2/

  • I'd like to do something like this:

    There's many soldiers on the map. They all moves randomly. All of them has its own crosshair (aim). If soldier sees another soldier in his crosshair he shoots.

    There's my pseudo-code for this:

    <font size="2">events:

    • Start of level
    • for every soldier

    Action:

    • create crosshair
    • pin crosshair to soldier

    event:

    • crosshair collides with soldier

    action:

    • soldier fire

    </font>

    But wrong soldier is firing (not shooter-soldier but target-soldier is shooting).

    I think it should be done like this:

    <font size="2">events:

    • Start of level
    • for every soldier

    Action:

    • create crosshair
    • pin crosshair to soldier
    • for that crosshair set this soldier as parent

    event:

    • crosshair collides with soldier

    action:

    • parent soldier fire

    </font>

    Is there any action similar to parenting?

tecbug's avatar

tecbug

Member since 30 Oct, 2008

Twitter
tecbug has 3 followers

Trophy Case

  • 16-Year Club
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies