grumpy rObOt's Forum Posts

  • In the project properties, there is a panel labeled "Configuration Settings", change "Sampling" from linear to point, this keeps your sprites pixelated.

  • 88u, there's http://opengameart.org/ with lots of free stuff.

  • ,

    replace:

    'player: set angle toward (Mouse.X, Mouse.Y)'

    with:

    'player: rotate 360*dt degrees toward (Mouse.X, Mouse.Y)'

    Your first expression sets the angle instantly, hence the flipping.

    You can experiment with the amount of degrees to vary the speed of rotation .

    Have fun

  • ,

    you have to set 'Unbounded scrolling' to true in the layout properties panel.

    Have fun

  • You do not have permission to view this post

  • luizfbicalho

    You could put all of your different buttons into a family and assign an instance variable to the family, where you store the desired action.

    Then you check for mouseclicks like so:

    On left mouse button clicked on ButtonFamily -> call function CheckForButtonPress(ButtonFamily.UID)

    On Function "CheckForButtonPress"

    Pick ButtonFamily with UID function.param 0

    Compare ButtonFamily.Variable

    ButtonFamily.Variable = "menu" -> Call Menu

    ButtonFamily.Variable="quit" -> Quit

    etc.

    I hope it's somewhat understandable.

    But it will not work with the free version of Construct 2, because of families.

  • :

    you have to set the Color instance variable matching the current animation frame. And then you test this instance variable against the color to pick.

    Have fun

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As DuckfaceNinja already stated, you can set your objects to be global in the object type properties panel, so they don't get destroyed at the end of a layout.

    Have fun

  • It should work if you clone the object from within the layout view. -> Right click object: Clone object type

  • Right click on the particle preset you wish to export. Select Animation Properties (Ctrl+A). Click on the record icon in the lower right corner. Select export options. Have fun.

  • I'd like to be able to rename functions and the new name be updated in all occurrences. Some sort of intellisense when calling functions would be great too. I always have to lookup how I named the function...

    +1

  • Ashley

    Ive uploaded a different file that just has 7 events. Hold space bar to make the backgrounds scroll faster. About 13 seconds in (While holding space) the first background drops out, 6 seconds after that, the 2nd drops out.

    https://www.dropbox.com/s/ne0h2pn06qtse ... ndBug.capx

    bscarl88

    It's not a bug. You just constantly move the background to the left. In order to make it endless scrolling, you have to reposition it to the startposition if the background is too far off. I suggest you look in the Auto-runner template to work this out.

    Have fun

  • Basically I only want my spawn events to start when layout 2 is started, if you guys could help me out with this I would be extremely happy. Thanks much in advance!   <img src="smileys/smiley1.gif" border="0" align="middle" />

    Try this:

    <img src="http://i39.tinypic.com/255nl15.png" border="0" />

    It's not so different from your approach.

    Have fun.

  • Tekniko,

    I had the same question, thank you for the hint.

    Works perfectly.

    Cheers

  • Hi, I have a problem where when I tell something to rotate toward angle instead of rotating it will just snap to the angle instantly. What am i doing wrong? thanks for any help people.

    Did you multiply the angle in the degrees field with dt(deltatime)?

    This should make a smooth rotation measured in degrees per second.

    It looks something like so:

    Sprite->Rotate 180*dt degrees toward OtherSprite.Angle

    HF