Dru's Recent Forum Activity

  • Do you mean something like this?

    http://ncase.me/sight-and-light/

    Wouldn't this also fix the problems when a light source is too near a shadow caster? Plus when light appears to pass between the seam of two adjacent sprites?

  • Ah forget about this it's working fine now.

    Not sure why I was getting inconsistent results.

  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/671857/TintTest.capx

    Steps to reproduce:

    1. Run the capex. The green square should appear brown with the Tint effect applied correctly.

    2. Works fine on Firefox v21

    3. Doesn't work on Chrome v27 or IE 10

    I'm pretty sure this was working one or two versions ago

    Observed result:

    Green square

    Expected result:

    Brown square

    Browsers affected:

    Chrome: yes

    Firefox: no

    Internet Explorer: yes

    Operating system & service pack:

    Win 7

    Construct 2 version:

    137

  • Ah thanks ramones that looks to work fine.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I?ve got a question about copying objects as if they were variables.

    I?m making a turn based card game with 4 players (hotseat game). Each player is represented as an Object with a number of attributes (CardsInHand, Score etc.).

    When Events happen in the game I need to update one of the players attributes depending on whose turn it is. So something like this

    Player1

    Player2

    Player3

    Player4

    <turn 1>

    CurrentPlayer = Player1

    <then play the turn>

    Add 1 to CurrentPlayer score

    Add a card to the CurrentPlayer hand

    Etc.

    <turn 2>

    CurrentPlayer = Player2

    What?s the best way to accomplish this while keeping the code as simple as possible?

Dru's avatar

Dru

Member since 14 Jul, 2012

None one is following Dru yet!

Trophy Case

  • 13-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies