Kyatric's Recent Forum Activity

  • You missed the 1945 port..

  • Yes.

    The preview window accords to the size of the first frame. But the content is blank.

  • Yeah, same here

    C2 r53; Windows XP SP3; FireFox 6.0.1; ATI Radeon HD 4870

    Telepathic debuging, huh ^^

  • Ah, I see, got it. Thanks, fixed for next build. It would have waited for you to "finish" the current frame (i.e. switch to another frame or close and reopen) before the preview updated - now the preview is always up to date.

    In the current version, switching through different frames doesn't help.

    Also importing frames, closing the image editor, reopening it and trying to get a preview still doesn't display the preview.

    I just wanted to point that out, in case.

  • Same as counterfeit.

    Plus if I move the window on screen, and my mouse cursor is over the layout (not the animations, animation frame or image editor window) the greyed background just goes "fuzzy" and displays moving lines of "ungreyed".

    Hard to described, and I can't seem to be able to screenshot it.

    On XP sp3 too.

    I'll move to 7 in the upcoming days.

  • Same here.

    Plus if I move the window, the grayed background (layer/layout) just blinks/have strange lighter rectangles going on.

    I never really used the preview, so I couldn't say if it worked in previous versions.

    To me it's not a big deal, I don't really use the preview function in C2. Just tried to see at some point a few days ago and noticed it wouldn't work.

  • NICE !

    I liked the effect go down from the menu to the area game.

    Nice work already.

    I don't know if it is normal, but I hadn't sounds at all.

    FF 6.0 on XP sp3

    Good job keep it up !

  • Agreed about the case insensitive search.

    Concerning the casing in expressions, at first I was a little surprised that expressions wouldn't change automaticly the case of variables or object names.

    When eye-scanning the code, it is easier to pair objects and variables through lines if they all use the same casing (the one of their definition).

    It's not a big deal though, as long as the expression works and pick the right object/var.

    Jayjay your example probably works for seasoned developpers who take naturaly into account that Player is not PLayer. It is less user friendly though when you have to look for hours in your code trying to find out why there is an error and that the player object is affected instead of the layer.

    "OH myyyyyyyyy I just made a typo and haven't seen it before."

    This happens often ^^

    Insensitive casing prevents that case.

  • I just saw that, and they have some games on the catalog already, a free/open source based SDK and specs that are pretty impressive.

    For the price (10 to 20$) it could be a nice market/medium to keep an eye on.

  • Try Construct 3

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

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

    if this info is generic, as far as placing a c2 element into a web page, then it might make a good tutorial. yes?

    Pretty much.

    Honestly, I just copied 3 lines from the html file of the exported project.

    But yes, I could make a tutorial/explanation later during this week. That could be useful.

  • Because:

    -It's unstable

    Far more than CC even now though.

    -It's not fully featured

    Not yet indeed, but will be, and even have more 3rd party plugins than CC in the long term I think.

    I'd like to use construct wiki,but links in the wiki are broken ...so ill try this one

    Check the link in my signature there's an explanation in the tutorial about how to get to all the documentation and the old links for CC.

  • I ask for embed in my website, not for hosting

    It depends on the structure of your website.

    If it is a CMS or some sort of software of the like you should check its documentation and see how to add html pages.

    When you export your C2 project, it creates:

    • index.html
    • c2runtime.js
    • folder images (if you chose so)
    • folder medias (if you chose so)

    Anyway, all the files should be copied to your website (put them all in a specific folder. "Spielen" for example).

    index.html acts as an entry point to the game. either make a link from your site to this page or modify some of your pages so that:

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
    <script type="text/javascript" src="c2runtime.js"></script>
    
    <script type="text/javascript">
          // Start the Construct 2 project running on window load.
          jQuery(document).ready(function ()
          {
                // Create new runtime based on the preview canvas element
                var project = new cr.runtime(document.getElementById("c2canvas"));
    
                // Load and start running
                project.load();
                project.go();
          });
    </script>

    appears in the header (between <head></head>).

    In the <body></body> part of your page add:

    <canvas id="c2canvas" width="X" height="Y" oncontextmenu="return false;">

    where X and Y are the width and height of your application.

    This canvas will be the "body" of your game, the frame in which it will be displayed.

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,402 followers

Connect with Kyatric

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x15
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x27
    Coach One of your tutorials has over 1,000 readers
  • x10
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

23/44
How to earn trophies

Blogs