artheads's Forum Posts

  • Hi everyone! I'm wondering how to create such a cool laser/blaster beam effect? It is unlikely done with tiled background or 9-patch as I did laser beams before. Any ideas, colleagues?

    Tagged:

  • Check your array in debug mode, maybe your events are changing the width of the array.

  • Thanks for this idea. It can be done easier:

    However it only erases just a "white square" around a player. Is there a way to make it more like a "pixelated" circle, like the one below?

  • Hi, thanks for response, but I barely understand you. How do you imagine this: [emptyTile]+1 this will return just another tile e.g. my empty tile is 1, so 1+1=2 (2 is non-existent tile).

    UPD: Your idea will work if modified, however it makes a square but not a circle as I'm trying to implement.:

    https://i.postimg.cc/8cg6X7KL/tilemap-fow.png[/img]

  • I'm trying to set "fog of war" made from tilemap (single black tile 8x8), then erase these tiles around player when he moves to reveal the visited area. I found an example by R0J0hound that uses 1px tilemap, but can't figure out how to increase the tile size to 8x8?

    dropbox.com/s/4sv6lztqwvtxbl5/destroy%20terrain.capx

  • Am I the only one? )

  • Hi everyone! How to access a remote preview on Android? The problem is that I only see "joined session" and then just "disconnected" after 1-2 minutes.

  • R0J0hound Thanks mate!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you! Will check it now.

  • Hi, some time ago R0J0hound posted a great thing:

    https://www.dropbox.com/s/29oqa2k7o1c6x ... .capx?dl=0

    A test to keep multiple moving sprites from overlapping each other or overlapping the walls. The wall collision resolution is done with the separating axis theorem (SAT) which has the benefit of allowing the sprites to smoothly slide accross the walls. The motion is done with verlet intergration which when used with a way to push out of obsticles provides for decent boncing.

    Will this work with Tilemap? And if so, how to get BBoxRight/Left/Top/Bottom from each tile?

    Tagged:

  • If you are on the same domain, I would go with:

    Parent window with iframe

    <input type="text" id="meh" value="nada">

    page in iframe

    window.parent.document.getElementById('meh').value= "zoinks";

    (changes nada to zoinks)

    Hi, sorry I don't know JS really. I only have a regular web page (not an iFrame) and this page shows the game inside the iFrame. I need to somehow send a variable (if the player won or lost) to the parent page from the game. How will it look in C3 events?

  • Hi everyone, how to send a variable from C3 (game in iframe) to the parent webpage using window.postMessage()? What to do in C3 for that?

  • Hi everyone, I would like to invite you to discuss such things like game popularity.

    For example let's take such a brilliant like Tower 57. So far it has only 300 reviews on the Steam which is "mixed". WTF?

    It is very dissapoint me, while Enter the Gungeon has over 2000 "overhelmingly positive" reviews... Let's take The Binding of Isaac: Rebirth - oh my god what is that?! (I feel sorry for my eyes from what I saw) But it has 78,669 overwhelmingly Positive reviews. WTF? Where is the secret of such a success?

    Are the gamers don't need anymore a good story with a good graphics that you want to play more and more and want to know what the end? Do we need to create crap to be popular and have a sales? Everyone is talking about indie bubble crisis but what is that? Seems like gamers are satisfied with that!...

    What do you think about? May be I'm wrong. Please share you thoughts.

  • Browser.QueryParam

    Thanks, but can you explain it in more details?

  • Hi, I need to load my global variable from url (e.g. file on same server) on start of the layout. Is there anyway to do that?

    Tagged: