kbtbc's Forum Posts

  • Sounds like a great trick! ... For clarification, do you mean editing the resulting index.html file and change this:

    <script src="c2runtime.js"></script>

    to

    <script src="c2runtime.js?version=1.1"></script>

  • Are we out of luck with multiplayer development if corporate requires all services hosted internally or in-network?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • zenox98 -- yes - that makes some sense, since both layouts use the same event sheet I wasn't expecting that -- but that was it.

    arthology -- I love groups and just yesterday organized all my events into them -- makes it much more easy to follow and activate/deactivate sections of the project. Great advice!

  • ... except it was already set to that.

  • Awesome -- thanks.

  • Hello,

    I have two layouts, one for the game and one for setup using the same event sheet. I want the setup layout to load first, so I ordered it at the top, but if I then preview the game and enter the game layout portion, and end there - then make some edits and then re-preview, it doesn't start at my setup layout.

    So I added first thing

    system -> On start of layout -> Go to SetupLayout

    However, when I do this my AJAX calls at the beginning of the game never complete. (I may have created a circular loop). If I disable the above action, it works just fine. Here is the relevant code, with the action that causes the problem disabled:

    How can I ensure the right layout is always loaded first?

    Thanks for your help.

  • Hello ...

    I've noticed that when I publish my project to my server, even if I hit browser reload, it still uses cached game data, requiring I clear my own cache before seeing the changes I published.

    Is there any way in C2 to force the client to get the new game data?

    Many thanks!

  • No MS office, but I use Sublime2 for text edits, which I have used on files in the same directory folder that may have been opened ... I have actually moved to a separate folder now, but this is very crazy. Whatever may be causing the trouble, I wish C2 was a little more graceful in handling the problem.

  • Thanks for checking, I walked away for about 10 minutes, then killed it... it's a small project. I have good backup systems, multiple copies now in place. I've moved on...

  • Hello C2 World...

    My name is Mr. Kelly Britt and my background is owning and operating a small web hosting company for the last 18 years. I currently have 4 teenage kids.

    My profession has taught me much about server networks, basics about web construction, and I have taught myself some database programming using ColdFusion (old school) over the course of time.... I will probably be the only guy who uses .cfm instead of .php for scripting enhancements to C2.

    Originally, I ended up here just wanted to be able to make a boggle clone to practice on because I like playing Ruzzle ... instead, what I have found is a whole new world of fun (and frustration) ... so much to learn, so many ideas... I'll do my best not to get too grumpy.

    Cheers!

  • Cool! ... I appreciate your help

  • I have an html5 game that I want to be able to launch by passing it a variable in an html link.

    Basically, it a word game and I have two web servers, one that runs a word database tool, and one that runs the game.

    I want to be able to build links from one server so that depending on the letter set being used, a user can call the game with a letter key, ie: http://mygame.com/index.html?key=ABCDE and the game would initialize based on that key.

    I know I could save a file with the key and call it with AJAX at the beginning of the game, but is there away to pass a variable directly in a URL to the game (this would be very helpful in building links) ?

    Many thanks!

  • Well, yesterday after my failed 'save' experience, I ran into a new issue. (I am not running any file cleaners or other hard drive utilities).

    This time, I saved and C2 hung with the 'Saving' dialog box running perpetually. I had to use Task Manager to terminate the program. It shows 'Saving auto-backup file...' in the bottom -- this is a shot of my 'crash'....

    There are clearly problems with C2 in the saving and backup features. ... Thankfully, after yesterday's experience, I have good backup system.

    ... What will tomorrow bring?

  • More built-in token functions for delimited lists. ie. tokenfind, tokendelete, tokenappend -- yes, you can use dictionaries and arrays for this, but direct functions would be quicker and easier to deploy for short string lists.

  • Ashley, thanks -- you had me checking in my folder for more... and good news -- I was able to recover the work!! I found a file named, MyProject.capx.capx.autosave which had all my edits!

    Here is a snapshot of how my project files ended up:

    I don't know why it autosaved to .capx.capx.autosave, but it was the right file.