Kyatric's Recent Forum Activity

  • This plugin doesn't exist yet in C2.

    Also, I'm not sure it will be, as Javascript is not supposed to give you access to the files of the user.

    This might be workedaround using the webstorage plugin somehow, but files wouldn't be .ini format.

    You also have the opportunity of using ajax, meaning your datas would be stored in a webhosted database, and your application calls a script through ajax that would return all the infos you need (and that are stored in the database).

  • 1. Collisions; What's the way to make flag an object to collide? The Solid behavior seems turned off when combined to another behavior, like say Bullet.

    You can see in my .cap, I tried a lot of different ways (bullet speed, custom movement, asin, acos...) all unsuccesul. Basically I want the little baddie that's following my character to collide and slide along walls so I can use walls to stop its course (like in Earthbound).

    Unfortunately you provided the .caproj file, without providing the other files.

    Either you put a zip containing the full folder, or save your project as a single .capx file for this purpose.

    2. Timers; In Construct classic you could create a Wait object that you would use to count milliseconds. Now it's nowhere to be found in Construct 2 and I'm sure there is a easy way to manage delays...

    3. There are no Box objects anymore? Trigger box has to be sprites? The bunch of basic sprite drawing tools also seem to have dissapeared. How do you position hotspots/pivot points now? Just wanted to know if that stuff just moved somewhere else.

    Other than that I miss the Ctrl+P shortcut... but that's it. :)

    My cap file;

    http://dl.dropbox.com/u/38319441/RPGtest.caproj

    Infinite thanks

    For 2. and 3. C2 has been and is still in developpement.

    Most of the plugins of CC haven't been ported yet to C2. In the future they probably will.

    For now, yes you have to use sprites to "emulate" box/trigger plugins and there is no image/point/hotspot editor for C2. You have to do your images out of C2 and the hotspot is nothing but the center point of your image.

    For the wait, you may workaround using the "every X sec" event combined with group. (The group is only enabled when you need it, and contain only a "every 0.1 sec" event for example, disabling the group as last action).

    C2 is yet to "grow" and being build up. I guess your needs might get fulfilled in the next monthes/years of developpement.

  • I don't wear glasses...

    Oh gasp... I can't no longer consider myself a developper...

    I'm just going to sit in that corner and cry.

  • Salut � toi Matthieu.

    Wow, a professional from Canada (Qu�bec) around, that's cool.

    Is your current (solo) project developped in Construct (2 ? classic ?) ?

    Do you have a blog (like Pascal Luban or Dan Cook) ?

    Welcome here.

  • If you have incorrect javacript (syntax error probably) in your plugin's code, you might get the plugin ID error.

    Be sure to go through The MDN guide for javascript. The basics can be learnt in a couple of days if not less.

    Also be sure that the string defined in "id" field in edittime.js is the same when defining the plugin class.

    Example:

    edittime:

      "id": "loL",

    runtime:

    /////////////////////////////////////
    // Plugin class
    cr.plugins.loL = function(runtime)
    {
         this.runtime = runtime;
    };
    
    (function ()
    {
         var pluginProto = cr.plugins.loL.prototype;
    
  • I've looked to both your threads and it seems to me that you have an idea, a particular vision in your mind and you don't know how to "translate" it to Construct. By your messages, I think it is because of a lack of (deep) understanding of how Construct works.

    I know you have a big project planned with your team, nevertheless you should take the time to do individual small projects to learn and get confident with Construct.

    CC is more documented (because older), but most of its design and system is the same in C2.

    So I suggest you to go through the documentation of CC starting with the the ghost shooter beginners tutorial for CC (hosted by zenox98).

    It might give you the basics of CC.

    Tutorial: Platform school

    Advanced platformer example

    Here are others tutorials you might wanna follow and that will surely help you out.

    Don't hesitate to check out Jame's X collection list of all useful tutorials for CC, you basicaly will have all the answers you're looking for.

    The more you will practice and learn through tutorials, the more it will come clearer to you how to actually make games, effects and whatever you are vizualising in Construct.

    Check also Construct-Classic Wiki.

  • Scidave, this is a very nice example of HTML5 game indeed !

    HTML5 is still a young technology, and will keep growing. What lacks the most, as of now, is projects with some maturity, to really display the potential of HTML5 and C2.

    I would add to scidave's point that bugs in C2 are handled even quicker than CC's as Ashley is actively coding and scruting the forum, especially the bugs report section.

    The more peoples (teams) use C2 now and actively report bugs, the more robust and stable Construct2 will be. And the more reports, the sooner the software improves and is validated as stable.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you Ashley. Hopefully more devs will look into making plugins and behaviors for C2.

    I have a suggestion here, adding a "version" field to the plugin settings. This might help for future iterations over existing plugins.

  • I'm still being outvoted though :)

    Well, as the question is asked, yes.

    I mean, Tom is working on the theme for scirra's website. This means, this is your image, what you want to reflect to the user. When we (members of the community) arrive on your site the theme makes us feel this and that way, because of the colors you choose, the arrangement, etc...

    As mentionned earlier in the discussion, you could provide different themes/variations of colors, and let the user pick the CSS he likes best. Maybe even customize his own css for his own account (is that possible ?).

    If you have but just one theme, you won't be able to obtain a 100% approval by the community, because of all the tastes and the number of users. In this combination there will be at least one person that won't like the color, the way things are arranged, etc...

    That's life.

    So either propose different versions, or just propose one, which is the one version you picked, because, in your tastes and opinion, it represents the image you want to give out from Scirra.

    On a personnal note, I like the blue version, but I like also the green current one. The "greener" Lucid's theme is even more harmonious, hence better, so it might be a good alternative too.

    In the end the multiple choices option would be cool, and could allow me to switch the theme of the site when I grow tired of the current theme (a bit like I'm changing my desktop's wallpaper every 6 months or so ^^).

  • It depend, you have several ways of doing.

    Let's take this way were the tutSprite is made of 3 frames (the actual 3 images you're depicting). They are all part of the same sprite tutSprite.

    Make also a global variable "isTut" a number.

    We will test "isTut" to check if you are in the tutorial or not during the execution of our app.

    Event - System Compare global variable - "isTut" = 1

    ..Sub Event - Keyboard - On any key pressed

    Other condition of this subevent^ - tutSprite - Compare animation frame - Frame is equal 1

    ....Action tutSprite - Set animation frame to 2

    ..Sub Event - Keyboard - On any key pressed

    Other condition of this subevent^ - tutSprite - Compare animation frame - Frame is equal 2

    ....Action tutSprite - Set animation frame to 3

    ..Sub Event - Keyboard - On any key pressed

    Other condition of this subevent^ - tutSprite - Compare animation frame - Frame is equal 3

    ....Action System - set global variable "isTut" to 0

    ....Action hide tutSprite, or destroy it, or whatever...

    When you make tutSprite appear, and display its frame 1, remember to set "isTut" to 1 to indicate "Tutorial is on".

    It is a way of doing, but not the only one.

    In the end, it all depends on the specifics of your project, and the effect you want to apply.

  • 4 posts above yours is a link to the old forum's post containing the file as attachment.

  • About the fading message problem, finally I found a way to do it by chance(which is actually really simple)

    When player collide with the "Panel", I then create the condition "System---> Create object"(which is the message sprite I want), instead of adjusting with visible or opacity as I did in previous time.

    and it now work perfectly, also with proper fade behavior! <img src="smileys/smiley4.gif" border="0" align="middle">

    Indeed that works and work well, cool workaround.

    P.S. For some reason, I found that sometimes some event is not properly triggered, but after I delete that event and create the new one with the same event and condition, it happened to work just fine!

    (maybe a bug in Construct?)

    It's possible that it's a bug.

    If you can reproduce the bugging events in a .capx and report it in the bug section with the informations required in this post, I'm sure Ashley will take a close look into it.

    Finaly concerning your game : You have an image moving in the background in peculiar which has a green background. And it is possible to see a "low flickering" between this green background and the white background of the layout. Either change the color of the background, or make this image's background transparent for more continuity.

    Keep up the good work.

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,403 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