Velojet's Forum Posts

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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!

  • 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");
    });
    
  • There's a helpful discussion here of what 'manifest="offline.appcache"' does.

    Without seeing the C2 cache manifest, we can't be sure what exactly is being cached offline.

  • Steerpike

    I see what you mean.

    ...I think you can just delete the second line in index.html if you really don't want it to:

    > <html manifest="offline.appcache">
    

    eave the 'html' though!

    <html>
    
  • nutmix

    Check this thread for a discussion of this issue and a possible solution for you.

  • If I open my Construct2 game webpage using Firefox, it always comes up with a prompt asking if I want to allow this website to store data on my computer for offline use. ... Is there any way to prevent this? I think it would quite offputting for people using the game as it looks like the website is trying to do something dodgy...

    In Firefox > Options | Advanced | Network | Uncheck 'Tell me when a website asks to store data for offline use'.

    This is a choice for the user and allowing a website to override it would indeed be dodgy.

  • Brilliant, Tom! The real clowns (funny because they're so unfunny) are the guys who penned the official replies.

  • iunkn

    <img src="smileys/smiley20.gif" border="0" align="middle"> Great work <img src="smileys/smiley20.gif" border="0" align="middle">.

    Maybe you need to change 'Metro' to 'Modern' <img src="smileys/smiley2.gif" border="0" align="middle"> :

    "Microsoft has started to notify its Windows developers that they should refrain from using the word "Metro" throughout their applications if they refer to the Windows Phone or Windows 8 interface" (ref.)