Schoening's Recent Forum Activity

  • Yeah Np, ill add that to the next thing

  • that looks awesome :)

    Thanks :P

    Gonna to some top down game with it next, and enemy damage.

    Aaand then I have to learn how to do an OctQuadtree.......

  • I read in a programming blog that a lot of coders work late, because their brain is slower at that point and they can force it through a lot of their work without being distracted.

    I usually work best at 9am-1pm and then again at 6pm.

    For me, creating something that works keeps me going!

    But I havent been using C2 for a very long time, perhaps it's different if you create games in a text editor.

  • I haz done good <img src="smileys/smiley17.gif" border="0" align="middle"> ?

    Finally sat down and learned how to do Collision Detection!

    https://dl.dropboxusercontent.com/u/53738503/AT/index.html

  • Do you feel my pain?

    What would be a good approach? Objects in this game move, so how would I keep them in the right order?

    Right now I am thinking of some hackish, loop that checks all objecs Y position.

    <img src="http://i1294.photobucket.com/albums/b603/oliverschoening/overlap_zps82fd21a7.png" border="0" />

  • FIXED.

    Didn't realize the FOR loop was Zero Based

  • Okay.. this time I am missing one line of Tiles..

    <img src="http://i1294.photobucket.com/albums/b603/oliverschoening/hundeparkenmissingarrayc2_zps9a17ff28.png" border="0">

    Supposed to be 18x18

    The obj count shows the right amount of tiles though, and you can see one tile in the top.

    I don't think the problem is on the serverside, so check out the capx if u want:

    https://dl.dropboxusercontent.com/u/53738503/HP.capx

  • Cheers, Ill try that out in the morning.

    I might be able to reverse it.

    It's going to get information from my Server. And i don't want the server grid to be "mirrored".

    At the start of the layout the server sends the entire 2D grid to the player.

    I think I can solve this by sending the 2D grid in reverse. That way it would be spawned in the right overlap order.

    Assuming the UID value is set at that point

  • Because the sprites are overlapping in the wrong order I need to select each one of them.

    This test does not work. The sprites are unaffected...

    <img src="http://i1294.photobucket.com/albums/b603/oliverschoening/scirra_UID_zpsbb0183f5.png" border="0" />

  • Cheers :)

  • Alright.. I am trying to do this:

    code:

    var array = [];

    for(var x = 0; x < 18; x++){

        array[x] = [];

        for(var y = 0; y < 18; y++){

            array[x][y] = ["Data"];

        }

    }

    But I am having trouble with this in Construct2!

    I am trying to do a FOR LOOP inside another FOR LOOP, y'know.. Like when you spawn a grid of tiles.

    But the trouble right now is that I need to declare X, Y and Z positions to set the Data of an Array. But putting the loop names does not do the trick.

    <img src="http://i1294.photobucket.com/albums/b603/oliverschoening/arrayC2_zpsf0b9be27.png" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Because one of the plugins didnt work as I wanted it to, I actually started to program from scratch!

    Arg! Construct2 is the starter drug for programming!

    Small start of my Game

Schoening's avatar

Schoening

Member since 24 Jan, 2012

None one is following Schoening yet!

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies