Kyatric's Forum Posts

  • 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.

  • 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.

  • It is fixed.

  • Nope, not a typo, promised.

    The display message was :

    "Set <b>{0}</b> as support for the board" where {0} is an object from an object parameter. (The picked object that had the check failure was a Sprite).

    It seems like the output of the object parameter already is formated like: <b>Name of the object</b>. Then using "<b>{0}</b>" gives the check failure once you setted up the action in C2 during edit time.

  • You're gonna drive Ashley crazy.

    Please take a screenshot of what you see exactly in C2, how things are displaying themselves.

    You said you managed in seeing the sprite in image editor but not on the layout at some point. Maybe it is a different problem then what he's been chasing lately.

  • r52, FF 6.0

    I get an object parameter. In the display string I display it between

    <b></b>

    .

    In C2, when validating the settings of my action, at the moment of creation of the new action in the sheet I get a check failure.

    It appears that objects are already returned in this format (bold):

    ---------------------------
    Construct 2 Check failure
    ---------------------------
    Check failure!  This is probably a bug:
    
    Encountered second <b> before first was closed with </b>
    
    Condition: bold_flag == false
    File: Controls\EventString.cpp
    Line: 203
    Function: void __thiscall EventString::FragmentString(void)
    Build: release 52 (32-bit) checked
    Component: Construct 2 IDE
    (Last Win32 error: 0)
    
    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way.  Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports!  Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
    ---------------------------
    Abandonner   Recommencer   Ignorer   
    ---------------------------
    

    Ignoring launches a serie of errors about bold marks not being opened, or being already opened.

    It is not really a bug, and concerns plugin dev rather than end users. Just reporting to see if it desserves its own alert or something.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can check this tutorial about using a pivot point for rotating objects if you haven't already, and apply the method to every object of your layer in a loop.

    The layer itself won't rotate, but you can move/rotate every object on it.

  • You should also add outter source, like articles on gamasutra or TIGsource that refers/talk about C2.

    I noticed some articles like "CC vs GM", but C2 is only mentionned generaly as "a project to come".

    It hasn't been media covered enough yet to be used as constructive reference in a wikipedia article.

    Save system. It's really needed for longer games and those with scoreboard and such.

    You already have the webstorage plugin for that explained here.

  • Nice music !

    Was it made for the game itself ?

  • Sorry my previous post sounded maybe more dry than it was intended.

    It's true that digging in construct often helps finding the solution, but the forum is also a really valuable ressource, and never be afraid to ask a question when you're stuck.