blackhornet's Forum Posts

  • You also need the extra Set RandomPlace or you will always get a value at index zero.

  • You can use Array.Delete after you've retrieved your value.

  • Use Touch.X("Controls") & Touch.Y("Controls") with parallax set to 0,0.

  • Should work. The exception is that you also need to set RandomPlace BEFORE the while loop, otherwise your first default index is always 0.

    Coin5Times.capx

    Edit: and be sure your array is large enough in the first place.

  • Very cool. I like the effect when you place a light ON a shape!

  • The second tutorial listed on the tutorial page deals with animations (How to make a Platform game). You should definately do at least the top three tutorials.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1 to 9 in 10

  • You need a For Each to pick one instance at a time to test with. Put it at the top of Follow and make sure everything is underneath it.

    ForEachSample.capx

  • You've got Paralax set to 0,0. This overrides ScrollTo.

  • Probably not playing just once - playing every tick. Check your logic.

  • You said you wanted the speed at 100. Set acceleration to 0. Is that the result you actually want?

  • You've got acceleration set at 50, so the ball will constantly be getting faster, which it is. Flying through the solid can be explained because the drawing moves the ball by so many pixels per tick that it draws it on the other side of the wall in one tick, thereby missing the collision condition all together.

  • FAQ

    Look for: Continuous scrolling background

  • Link to .capx file (required!):

    blackhornettechnologies.com/C2bugs/GridCrash/SF_crash_wonkygrid.capx

    Steps to reproduce:

    1. Scroll with mouse-scroll-wheel

    or

    2. Edit the alignment properties of the spritefont object

    or

    3. Resize C2 window

    Observed result:

    Varies:

    <img src="http://blackhornettechnologies.com/C2bugs/GridCrash/SF_crash.jpg" border="0" />

    <img src="http://blackhornettechnologies.com/C2bugs/GridCrash/SF_crash_scrollwheel.jpg" border="0" />

    Note: grid is turned on, but not drawing when SF is on screen:

    <img src="http://blackhornettechnologies.com/C2bugs/GridCrash/SF_crash_nogrid_crp.jpg" border="0" />

    Note: just above and just below SF, (but with handles showing still) grid is drawing again:

    <img src="http://blackhornettechnologies.com/C2bugs/GridCrash/SF_crash_nogrid_topgrid_crp.jpg" border="0" />

    <img src="http://blackhornettechnologies.com/C2bugs/GridCrash/SF_crash_nogrid_botgrid_crp.jpg" border="0" />

    If you turn off the grid, the crash doesn't occur. I can reproduce this within a minute of loading the project and just altering anything that causes the main window to redraw. Rebooting workstation doesn't fix it. This has been here for a while but I couldn't reproduce like I can with this example.

    Expected result:

    Browsers affected:

    Chrome: yes/no

    Firefox: yes/no

    Internet Explorer: yes/no

    Operating system & service pack:

    Win 7 Pro 64

    Construct 2 version:

        142, 139, previous versions too.

  • The problem is you've just destroyed the object! You can't keep using it. Just replace your destroy call with the animation call. Do a destroy when the "destroyed" animation ends.