Kcpunk666's Forum Posts

  • player is destroyed

       -system-restart layout

  • Hey all. I've been working on a roguelike. I've been trying to make the largest map possible. The issue is. When I create all the tiles, i use "(array)for each X,Y element"-create object. That works fine for anything around 25,000 elements(tiles), but anymore then that just crashes the browser window. I tested creating the same sprites every tick or even repeat loop(20) each tick and i can get 65,000 tiles before i get bored. lol. so I think what is obviously crashing the browser is creating them all at once. Basically, anyone have any ideas as to how to parse out the tile creation in a "(array)for each X,Y"?? Thanks!

  • That was good, tricky getting up some of those platforms!

  • Give it go!

    Here!!

  • First game release. Super simple, but I figure every 2 weeks, try and release a new game. So I can find a genre I want to spend more time with instead of spending a few weeks on something I'm embarrassed I spent a few weeks on. As well as to keep learning. Since I'm at it, I've learned a lot from creeping around these forums the last couple months. So thanks all!

    http://fleethecave.clay.io/

    If ya like it, rate it, share it. That'd be awesome. Peace!

  • TheNewGuy If you could better explain what you are wanting to do? Wifi only passes data. It doesn't do any computation. I'm not sure of your level of understanding, but a logic gate decides if something is true or false, on or off. If you could explain better, I can try and help. I was thinking of trying something in that direction (circuits) for my next project.

  • I'm not sure what you are trying to achieve, but using an array might be easier to do and keep track of. here is a good place to start if you haven't already seen.        scirra.com/tutorials/360/generating-a-random-tile-map

  • awesome

  • awesome info!

  • cmilian you can use the turret behavior with your enemy. set the player as a target. Is it a top down game? if it is I think that would work fine. If it is not, you can still you turret behavior, make a sprite, set turret behavior and set it to the position of the enemy. set it to be invisible (so you don't see it rotate). haven't tested it but i imagine it would work.

  • i'd set a global variable to the max health, lets say for 3 lives, 400 health. then compare global variable. less then or equal to 300, 200, 100 and 0. subtract 1 from your lives variable at each increment. think that'll work. if that is what you are asking?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • cool

  • yea... after that most recent scirra blog post, I took my current project's memory usage down 2 thirds. I think it is just best to use a tiled background when ever possible.

  • to the first question, make sure the bottom of the collision polygon of the player is flat. As well as the ground tiles are lined up even. also, try and keep the player collision polygon as square as possible. I've found that helps.