AlfonsoMartinez's Forum Posts

  • 11 posts
  • Hello Matt, I am trying to send you my new game in Construct 2 but in the process I find a few problems:

    1) Export my Game as html5 web normal mode (you request an embedded iframe?, so i have to use embedded with the fixed sizes of the game?

    2) Since I don't have my own server at the moment I use GoogleDrive. But the method explained in C2 tutorial doesn't work since I cannot edit the URL (and I don't see the FOLDERID thing mentioned in the tutorial...Since the exported project generates a bunch of files: a) first i share the whole folder of the game (but what i understand is that the shared link must be directly that of the indexhtml file and from this file its reads the whole game project??

    3) Since you ask no to implement adds in the sended game I havent use the pluggin inside the game yet

    4) When I send to myself the public link of the file index.html it opens the file in script view

    (i think because it reads from the file in drive instead of the http address)

    Thanks,

    Alfonso Martinez

    PD: solved-->Kristy? russian method works, you can get the public link of your index.html file clicking in More Options-->See Details-->public link...eureka!

  • ok zenox98 it works fine...I have a new laptop and the zip folder shows almost exactle as a normal folder and I did not realize the files werent unzipped...thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I have c2 version 184 (64bits in one laptop and 32 in the other laptop). I've downloaded the html5sdk-latest (24-11-2014) and when triyng to drag&drop the file fglsdk.c2addon to my Construct 2 project it doesn't allow it (not even in a new project). Also if I put the c2addon file into the install path/exporters/html5/pluggins and restart Construct 2 it doesn't update/get the plugggin...What should I do or what is wrong with the official pugglin for Construct 2?

    Thank you,

    Alfonso Martinez.

  • Thanks Ashley for your quick answer,

    I've read first 3 tutorials (I forgot about changing any global variable in the chat example to avoid that problem)

    I also solved the problem with passing a global from host to peer. I would recommend to specify explicitly in the tutorial that broadcasted messages must be with variables of string type (if the global is a number you can do str(var)...)

    Is it neccesary to put Sync and add client input value before connecting to signalling server (as in the pong example)?

    Thanks a lot in advance,

    Alfonso Martinez

  • Hello,

    i am making an stratego game, i have finished the one player mode vs the computer-AI and now i want to add an online mode. I've tried the pong example with my two pc's and works but when trying the chat example it connects for a momment but then both pc's get kicked off (and also when the host writes a messages it only shows it in its own pc and viceversa for the peer).

    The stratego is different from the pong example because it doen's use a common screen (layout) but 2 differents screens (layouts) with the same event sheet. The peer layout mirrors the host board...BUT for the moment I cannot even pass a global value from the host to the peer throught the (broadcast/ on message "" received) like a timer for player 1 (host) that I want to pass to the timer for player 2 (peer) so the peer has the same value as the host (i did it already for a timer for each one and the peer pc (oldest) lasts like 2 more minutes in a 10 mins countdown with respect to the host). SO the thing is: is the problem with the server? or something with pc/scirra config? (chat example doesn't work) or i am not following right the tutorial examples?...also another question: it is neccesary to put the sync/ client input values before the connection to the server...or you can do it along the game...

    Thanks,

    Alfonso Martinez

  • I guess i'll have to redesign the project. My DELL labtop has 2Gb of RAM.

    Thank you for your attention and advice.

  • I am not a profesional programmer. I had some previous experience in visual basic and I've been learning some other languages (medium level). I'm and learning while I make my third app with Construct 2 (already made a game similar to the classic Arkanoid called Tronidoid is in Google Chrome and a pilot app for mobiles similar to a Wine "right" price Calculator).

    Think of games like Chess and all the algoritms it may need. My game is a version of Stratego and yes it uses functions, variables and arrays.

    Maybe I could try to even made more efficient the code but I don't think I could reduce by more than half and the state of the programming of the game is sure less than 30%.

    I'm waiting for a solution so I can continue the progrmmimng!

    Pura vida

  • Sorry Is actually the first time I use GoogleDrive, now they should be public.

    Actually I was already with almost 21000 events...(that Function was completed & I still haven't lost that work, is in another capx) and the game will need quite a lot more..

  • Link to .capx file (required!):

    docs.google.com/file/d/0B0OuUjq-K_bnSmRmX1lNNE9hc3c/edit

    docs.google.com/file/d/0B0OuUjq-K_bnVDZYMlJ0eXB6Vms/edit

    Steps to reproduce:

    1. There are 2 capx files (1 with 9999 events that loads fine & 1 with 10002 events that doesn't load properly). The difference is on line 5803 of the Event Sheet 2.

    Observed result:

    DESCRIPTION OF PROBLEM:

    The game doesn't load when the number of events is greater than 10,000 (even when the majority of these events are on a function not called On-Start-Of-Layout). At least the logo and loading bar appear.

    When the number of events is 9,999 it loads the game properly.

    Expected result:

    Browsers affected:

    Chrome: yes

    Operating system & service pack:

    Windows Xp SP3

    Construct 2 version:

    r132

    Type of Game: Board Game (It needs lots of events...)

    Is there a limit on the commercial version of Construct 2??

    I think the browser or something get messed up when the events reaches 5 digits. Is there a way to solve this.

    Thank you in advance.

  • Link to .capx file (required!):

    http://

    Type of Game: Board Game (It needs lots of events...)

    DESCRIPTION OF PROBLEM:

    The game doesn't load when the number of events is greater than 10,000 (even when the majority of these events are on a function not called On-Start-Of-Layout). At least the logo and loading bar appear.

    When the number of events is 9,999 it loads the game properly.

    Is there a limit on the commercial version of Construct 2??

    I think the browser or something get messed up when the events reaches 5 digits. Is there a way to solve this.

    Thank you in advance.

    Browsers affected:

    Chrome: yes

    Operating system & service pack:

    Windows XP SP3

    Construct 2 version:

    r132

  • I am also having this problem. My capx/project doesn't work anymore. My project (memory use:32.4Mb I don't know why so much, maybe the arrays?? & Events #: around 21000 for the moment). The backups also don't save and freezes construct2 and then when running the game doesn't load and gives these messages (I been able to run the game ok just yesterday after saving as new project folder but then I add a few more events and save and does not work again):

    1)Javascrip error!

    Uncaught Syntax error: Unexpected end of input

    192.168.1.11/data.js, line 3701327 (col undefined)

    2)Assertion failure: Unable to load project: no JSON model available.

    etc etc etc Stack trace: etc etc....

    I could send an email with the Screen impresions of the 3 errors to whoever is a Scirra's.

    Any solutions so I don't have to waste all the work??

    PD: I don't know how to send a capx file (i don't have a server, and I have dropbox but don't want to make it public). I'm also concerned about the confidenciality of the code...

  • 11 posts