Dayjay's Recent Forum Activity

  • Is setting a session web storage variable a option for you? Just check it's content every now and then..

  • Other side of the country :*Other side of the planet :(

  • The getusermedia API is your friend: dev.w3.org/2011/webrtc/editor/getusermedia.html

    It is afaik only supported by Chrome, Safari and Android Browsers atm. Implementation isn't really that hard if you know some js. If I would have time to study the Construct 2 SDK docs I could implement it. Maybe the next week...

  • How did they made the networking? I mean, what do they use for the backend (nods.js?) and how do they let the clients communicate with it? It does run very flawless.

  • Yes, it's possible but you need a server backend. Construct alone is not enough.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'd say it is possible (don't know about the monetization issue) but just like in Flash you would need the implement many, many things server side and using ajax to retrieve the data.

    Edit: Social Games aren't real time usually, or?

  • Just search for 'ajax multiplayer', 'turn based multiplayer' or something.

    Depending on how good your programming knowledge is, it's pretty simple.

    Very simplified Example for a chess game:

    After a player finishes his turn he sends the move he made to the server. Then you would set the player state to "listen".

    The second player (or the player who does "listen") does ask every X seconds if the other player has finished his turn. If yes, get his turn he made and set the state of the second player to "playing".

    Of course you would need some anti cheating measures and you need to validate the move you received.

    It would be better if WebSocket would support UDP or we had something like webRTC, CU-RTC .

  • Of course you could make a online chess game (or any turn based game). You wouldn't even need websockets, ajax would be enough.

    Edit:

    Joannesalfa

    Are they planning to make a webRTC plugin for Construct 2?

  • Using my language flags inside the title tag (i. e. <div class="lang:english">Home</div><div class="lang:german">Startseite</div>) further decreased my rating, unfortunately.

    Which bares the question: Why is there no legit way to have a multilingual title tag yet?

    Why don't you use PHP, ASP.NET or whatever and detect the browser language / user location if you have a website where you need to care about multilingualism?

  • Hi,

    I am currently working on a isometric strategy game. While creating the map background (terrain, rivers, ...) I was thinking if it is better to make a (very) large image as background (X000px x X000 px) instead of placing object for object separate.

    I may hit the limit of my english knowledge but I try to explain my problems:

    A river or a rock do still need a collsion box.

    If I use a huge image as background I would need a image as invinsible hitbox for each object I need collisions for (I do this already for all my units) .

    If I would set every stone, tree and a single river as a object I would still need a hitbox for each object which would double the amount of objects.

    What would you do? What is the best way to make a RTS Map with the least perfomance hit?

    The amount of work is nearly the same so that is not a problem.

    Some informations that may be relevant:

    • the player can't create new objects (buildings, units).
    • I have basically the following layers now (down to top): background (see above), units, other objects (buildings, usually objects the player can interact with), HUD.

    Thanks :)

  • There is already a Tiled Background object.

  • Well, I decided to store the settings made into web storage (session storage) and to load it from there.

Dayjay's avatar

Dayjay

Member since 9 Nov, 2011

None one is following Dayjay yet!

Connect with Dayjay

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies