Kyatric's Recent Forum Activity

  • ul]

    Platformer behavior

    • Get player velocity? - LINK
    • Climbing a ladder - LINK
    • Character not running smoothly - LINK
    • Jumping into and destroying blocks - LINK
    • Spawn and jump over ennemies (mario-like) - LINK
    • An example of double jump - LINK
    • Grabing the edges of a platform/wall - LINK
    • Hookshot with the mouse - LINK
    • Managing speed and animation - LINK
    • Ennemy control with platformer behavior - LINK
    • Player (platform behavior) and Physic (world objects)
    • - LINK
    • Mario style: jump on top of ennemy to kill it - LINK

    From the "How do I FAQ"

    Search results for "Spawn" in "C2 general" section

    Search results for "Spawn" in "How do I" section

  • I'm aware it is complex, but take the time to read the comments, I explained the logic.

    In the event sheet "StoryIntroSheet" you have a group sFadeOut, in "LevelGeneralSheet" you have the groups FadeIn and FadeOut.

    They are commented.

  • curr for Current yes, but this is strictly a personnal convention so I remember what I use this variable for.

    Also I don't understand why you would have one bogus action that is useless in a stack of actions.

    For this little example, it's no big deal, but if you take the habit of having useless actions polluting your code, you might end up using more CPU than required on a full project.

  • Most recent version is r67.

    But yes I need to take the time to update this. Will do ASAP.

  • Try Construct 3

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

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

    You don't need boolean in that case. Simply a global.

    Also I toggled a line in the action list, since the way you setted your actions, this one is useless. You add 1 to a value, and later set the value to something.

    This is probably not what you wanted to do.

  • Ok the error is probably that there is an image missing, since now firebug refers to:

    c2runtime.js (line 5783)

    The

    this.height);

    of the function

    ctx.drawImage(cur_image,
    myx - (this.hotspotX * this.width),
    myy - (this.hotspotY * this.height),
    this.width,
    this.height); 

    that draws the textures/images in the canvas.

    The bug happens

    <img src="http://dl.dropbox.com/u/36472942/construct/forumhelp/germrunok.jpg" border="0" />

    around here and looks like :

    <img src="http://dl.dropbox.com/u/36472942/construct/forumhelp/germrunbug.jpg" border="0" />

    So a missing image/texture (on the server) around here. Check in your project what you try to display when we are close to this ladder and that is missing on dropbox.

    Maybe your chrome stored the texture in cache, but it wasn't uploaded/exported to the hosted project.

  • You can check out the capx of my C2 comp entry there are some examples of fadein/fadeout implementation.

    If someone feels like making a simpler capx only for this, go ahead, this might end useful.

    For your question about the pan a bit of the answer is there.

  • With firebug running:

    Index or size is negative or greater than the allowed amount

    c2runtime.js line 126.

    This sounds like a C2 bug.

    Please could you export a non-minified version, host it and post the link.

    I'll look into it more in depth and try to see what's buging before making a bug report.

    FireBug/Fox seems far more strict than chrome on the "correctness" of the code. It's not the first time that I notice such behavior.

  • You have a "or" condition in the system object.

    It looks also like your are going to have to use subevents.

    Checking if value is a or b or c should be one subevent, checking of value is equal a or b and c should be another one.

  • FireFox 8.0 here too on win XP.

  • List updated and stickied in the Plugins section.

  • For the HTML inputs like radio and combo box, it is possible along the way. Ashley will confirm or deny this (at worse I believe the third part dev community will tackle this someday if it is not taken care of in the meantime).

    Nothing prevents you from making your own components through events (for radio button for example, it is nothing more than a 2 frames sprite + a text object eventualy).

    For ini/files writing/reading, you already have the webstorage object, or even the AJAX object that would let you interface saving and retrieval to/from a database.

    Finally popup windows are already doable too with the browser object.

    You can also make your way with several layouts/layers and have multiple "windows" app in a single canvas.

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