christina's Forum Posts

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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!

  • 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

  • thehorseman007 thank you for your kind words. Yes, it's my game, a very early stage of it at least

  • It's very frustrating. It forgets window position every time I open a new palette. Closing Construct all the way doesn't help, it's already forgotten the moment I've clicked on a different palette (e.g. from color palette to bounding box). All palettes appear dead center now

  • Doesn't fix it. Thank you so much though

  • Paradox it totally fixed the sliders! Thank you!

    The start position of each panel is still right above the drawing. Shouldn't it remember the last position or at least be out of the way?

  • Does anyone else get this?

    Whenever I open the Image Editor in Construct 2, two annoying things happen:

    <img src="https://dl.dropboxusercontent.com/u/28087823/Construct%20Examples/recursionBug/annoying%20panel.jpg" border="0" />

    1. every palette I open (image hotspot, color palette and bounding box), appears right on top of my image, so I have to move it out of the way before I can draw anything

    2. the color palette is missing its sliders

    Ashley is this a known glitch? I'm using the latest drivers for my card, on Windows 7. Both the latest beta and the latest stable release do this, so it might be my system, but what on my system?

  • you're welcome! We learn stuff from helping; the organization of your CAPX for one. Flawless! I'm stealing it :)

    You should still use multiples of 16, it's good practice, and from what I've read it's good memory-wise.

    The stitches didn't disappear because of the odd height number. My guess is, the engine is trying to wrap half a pixel from the top into the space that is half a pixel from the bottom. By taking away that pixel, it has nowhere to draw the wrap-around bit.