zbaker94's Forum Posts

  • 3 posts
  • Hello all, I am wondering how to create a level from an array.

    I have my code set up as such:

    http://imgur.com/uo7FiXJ

    I have an array of numbers and other characters set up in a 20x15 array. The values are added using the CSV to Array extension so I have to wait for the signal to start generating the level. My layout is 1280x960 and my wall tile is 64x64. This makes a 20x15 grid to place my wall. walls are indicated in the array by '1' and empty space by '0'. However with the code above, I am getting no results. If anyone can shed some light on this issue I would be very grateful.

    Zack

  • Hello forum!

    I am using this tutorial to experiment with random (procedural) generation http://www.vlambeer.com/2013/04/02/random-level-generation-in-wasteland-kings/

    I have got as far as you can see in the gif. the brown areas are ground, the grey are "wall".

    my only issue is how to keep the player from moving past the edges of room they are currently in. I am attempting to add a wall object that will box the player in, but I do not know how to add the wall at the edge of the room.

    Thanks!

    http://imgur.com/bGtISRm

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hello all, I am working on developing a top down 2d shooter. I have just recently implemented enemies who will chase and attack the player whenever he pulls out his gun. I am currently focussing on getting the enemies to search for the player once they lose line of sight. also if anyone knows how to keep.the enemies from all bunching up once they start chasing the player that would be great. (ive given each one a random speed.and.they go.half.speed when.in shooting range). thanks a lot :) <img src="smileys/smiley36.gif" border="0" align="middle" />

  • 3 posts