christina's Recent Forum Activity

  • Ashley gillenew

    Ditto. It makes no sense

    here's my CAPX

    Fixed the CAPX to work: as Ashley suggested, adding an "erase tile if array value is -1" action works like a charm. Still, I'd love to see this fixed.

  • you're absolutely right, apologies.

    The capx link above should work now.

    And yes, I think the drag and drop behavior is working as expected. It is just not useful for what I need it :)

  • I had fun!

    Tell aquilicoco I loved the art!

    And expertly coded, thank you so much for the CAPX!

  • While dragging a sprite with the drag and drop behavior, if I try to scroll the layout (with the WASD keys for example), the sprite doesn't update its position.

    Is this a bug report?

    The sprite *does* update its position when you move your mouse even a tiny bit, so it looks like the Drag and Drop behavior is only working for absolute mouse.X, is that right?

    CAPX

  • By the Gods, keepee

    You completely solved this for me <3

    And thank you for the math as well, this will make my code so much more readable.

    <3

  • It seems that with every layoutScale change, Construct assigns a different X,Y to what was formerly X=0 , Y = 0

    So there's an offset, but I can't connect the numbers.

    These are the experimental data I got from zooming out, and keeping the mouse cursor in the same X = 0

    layoutscale 1.0 viewport 320   offset =   0

    layoutscale 0.9 viewport 355.5 offset = -19.75

    layoutscale 0,8 viewport 400   offset = -50

    layoutscale 0.5 viewport 640   offset = -320

    layoutscale 0.4 viewport 800   offset = -600

    layoutscale 0.2 viewport 1600 offset = -3200

    And that's probably on top of scaling each tile.

    tulamide any thoughts?

  • Hi all: I'm making a simple level editor.

    While left mouse clicked = place tile

    Mouse wheel to zoom in/out

    The problem is, when I zoom in/out, the windows mouse cursor gets offset, and I don't understand how LayoutScale works.

    For example,

    at 100% layoutscale, I get ViewportRight =300 and layoutWidth = 300

    at 50% layoutscale I get viewportRight = 451 and (as expected) layoutWidth = 300

    Why 451px?

    tulamide seems to have solved it once before here in

    's code:

    scirra.com/forum/zoom-problem-cap-added_topic42021_page2.html

    but the .cap isn't there so I can't check.

    Here's my CAPX, I'm sure I'm missing something simple..

    CAPX

  • Works fine for me, moxBorealis :/

    I don't use any 3rd party plugins

  • Yeah, all graphics and animation are mine. A year and a half of work!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • retrodude tx so much, I've only tried some of those. As always, if Kotaku or Rock Paper Shotgun don't feature an indie game, it's very hard to make it work!

  • <img src="https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-frc3/1417603_751086154905121_502072932_o.png" border="0">

    You guys hi. I haven't been around lately because of this huge project I've been working on with my tiny team.

    It's a turn-based strategy game called PAWS (Prime Alien Watch Squad) and it's basically an indie XCOM with teddy bears. We're already a Kickstarter Staff Pick, but we're so new to promoting our game that funding isn't going well.

    If you'd like to contribute, our kickstarter page is right here:

    PAWS KICKSTARTER

    Thank you so much,

    Christina

christina's avatar

christina

Member since 21 Aug, 2012

Twitter
christina has 3 followers

Connect with christina

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies