lplayer's Forum Posts

  • 6 posts
  • Rojohound... that works. Although the above For loop did not for the alternative For each loop does. Must be my interpretation of a For loop that's in error. Thanks.

  • RangerJim Thanks, would the following (copying portion of big into small)

    For "x" 0 to 9:

    For "y" 0 to 9:

        SmallArray(x,y) = BigArray((offsetx + x), (offsety + y))

    would this equate to this:

    <img src="http://www.lesplayer.com/scirraforumimages/copyarray.png" border="0" />

    Where the Array within the For loops is smallArray

    I think I have problems with the syntax relating to arrays

  • I have two arrays BigArray is 100x100, and SmallArray is 10x10

    Can anyone suggest the best method to copy a 10x10 portion of BigArray into SmallArray.

    I have tried ForEach, For, loopindex.... and cant get anything to work.

    Suggestions would really be appreciated before i pull all my hair out

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, My name is Les Player, and I have been programming for 40+ years (yes I am 60+).

    I love C# and XNA on Xbox, (and am/was totally frustrated and angry towards Microsoft for their development halt for XNA). I looked towards HTML5 / Javascript for porting some of my software from XNA, and discovered Construct 2. The real value of this product is that it will introduce so many people into the world of programming without them realising or really trying, and at the same time have a lot of fun.

    I have been told by �real programmers� that Construct is just a toy- but I can only assume they have not looked beyond their first few clicks, and not fully understood the expandability via plugins and behaviours.

    I was the European Technical Manager (1982-1990) and helped introduce the Atari ST into Europe, and it pleases me a lot to see so many developers here who had started out on the Atari. I wish had had it so easy to learn all those years ago�. But I�m still learning!

  • Perfect! Thanks....

  • Is there a way to reverse the direction of the cursor keys in the 8 Direction behaviour? I have tried with Default controls on and off using Simulate control , but can not reverse the direction of the cursor keys.

    I can set AWSD to reverse direction using Simulate but not the cursor keys.

  • 6 posts