afgho's Recent Forum Activity

  • <center></center>

    <center><font size="5">Play the game</font></center>

    <center><font size="1">Official entry thread</font></center>

    <center><font size="1">Project file (.capx) ~80mb</font></center>

    Star Conquest is a space shooter game done for the HBGames competition, the goal is to conquer the entire 'galaxy' (reach and conquer the last star) which is generated at startup, each stars have a set of planets that the player have to 'conquer', on startup the player is limited to one star, for each planets conquered the territory will expand, the game have a shop, highscores, 4 levels of difficulty (with various degree of random).

    This game is made using the free version of C2, the number of events used is 100.

    Enemies/Player and some fx graphics are from the free sprite bundle included in C2, some sfx too, the rest is custom altough aided by some software like Space Engine, sfxr and cooltext.

    <img src="http://hapshack.com/images/1s0d.png" border="0">

    <img src="http://hapshack.com/images/3QBm.png" border="0">

    Work best in Chrome/Chromium altough Firefox seem ok on most machines.

  • nah, it is the same problem as built-in array and i use it too

  • Bumping because i encountered this bug, this seem to be not only for array, i actually use rex_hash and a custom advanced array plugin and this bug prevent them to have properties and to work correctly too.

  • Ok tried it in firefox and it failed, don't know if it is related to your problem but i solved it by replacing this (in "runtime.js" of the plugin):

    if(!!WebSocket)
                  ?socket = new WebSocket(uri);
              else
                  ?socket = new MozWebSocket(uri);

    by this:

              if ("WebSocket" in window || "MozWebSocket" in window)
              {
                  ?var webSocketObject = "MozWebSocket" in window ? MozWebSocket : WebSocket;
                  ?socket = new webSocketObject(uri);
              }
    
  • does it work in local? the browser log output some strange errors on that page

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank for the plugin.

    I made a client using the "socket-websockets" version but i got this error when running it:

    Uncaught TypeError: Can't add property socket, object is not extensible"

    solved by adding this line inside the "runtime.js" after the line "this.lastPort = 80;":

    his.socket = undefined;

    Here is a working simple client+server example:

    Client: http://www.mediafire.com/?qvadyqwqwx692ya

    Server: http://www.mediafire.com/?2soipgu5ug6s3wv

    The server is done in ruby with em-websocket so you will need them in order to run it.

afgho's avatar

afgho

Member since 13 Feb, 2012

None one is following afgho yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies