Velojet's Recent Forum Activity

  •           

            var socket = io.connect('http://localhost:8080');    

    LimonSpace

    Unfortunately, this won't work in the way you want it to. localhost references the server residing on the user's machine (if s/he has one), not your server (unless you happen to be the user).

  • The main point here is that construct 2 should be object oriented instead of procedural. case can certainly be made for C2 already being object oriented. It gives us objects with state and behaviour. The various constructive (!) suggestions being made don't require a change in C2's fundamental paradigm.

  • LimonSpace

    Have you port forwarded?

    Hmm. LimonSpace said on 3 Sep that he had: "i just do port forwarding and exections in firewall ecc but nothing."

    Wink's advice is spot on. I've used his linked free PFPortCheck Program very successfully on a number of occasions (but don't be misled into shelling out for PFConfig!).

  • LimonSpace

    Is your own server publicly available through the DNS? Assuming it is, then in your index.html you simply reference the appropriate URL to access your server. (But I hope you're taking all the necessary security precautions!)

  • Meh, writing a plugin is far more complicated than just looking for a work around ...

    accidentallyc ... Writing plugins is not that complicated ...

    accidentallyc

    juantar is quite right. If you can handle the logic of gaming, then you shouldn't find writing plugins all that difficult - particularly if you start with my tutorial <img src="smileys/smiley2.gif" border="0" align="middle">

    And IMO it adds another level to the fun of Construct 2.

    (As for Prompt Mode/Basic Mode, try inserting a URL in your post in each mode and you'll see the difference.)

  • f141998

    A free website with webs.com won't give you what you need to put your C2 created games on a website. For that you need FTP access to the hosting server and webs.com say "FTP is a Premium service available only to users in the HTML-only mode".

  • Great example graphics, too! 'Idle animation for Mercenary Kings boss' is specially awesome!

    Thanks for sharing, Rory!

  • ... Actually I am locking for methods that directly record c2 game from HTML5 canvas..

    I need it because of testing for games...

    hoanganh17

    So do we understand that you're wanting some sort of playback facility i.e. where every player move + resulting action is recorded for later playback?

  • How do I make a platformer action game using Construct 2??

    smilinglunatic: Start with the platform tutorials. There's mine here and there's Ashley's here

  • Twinsonian

    Welcome to this awesome Construct 2 community! Thanks for sharing your backstory and your very positive opinion of the power of C2 - which just gets more and more powerful and capable, thanks to its committed and expert development team!

    Happy Constructing!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • awesome8x

    A server can access the client username through an environment variable. You'd need to do this on the server side i.e. externally to C2. But you could write a plugin to pull it into C2.

  • Laurent

    Well, not exactly sure what you mean by "a construct 2 html5 module", but the index.html that's exported by C2 is (of course) a web page that embeds the C2 runtime. Take a look at it. Here are the relevant LOC:

         
    // Start the Construct 2 project running on window load.
    jQuery(document).ready(function ()
    {
      // Create new runtime using the c2canvas
      cr.createRuntime("c2canvas");
    });
    
Velojet's avatar

Velojet

Member since 22 Nov, 2011

Twitter
Velojet has 1 followers

Trophy Case

  • 13-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

16/44
How to earn trophies