Kyatric's Recent Forum Activity

  • I made a html version of the SDK

    It goes to the "tome" 8 as of now.

    i'll add the references later next week.

    If you want to download it click this link that will give you a .zip

    Written by Ashley, HTML formatting by myself.

    Enjoy.

  • I just edited the demo with my last version of the behavior.

    So the "up" bug has been corrected. The sprite seems to be "floating" a bit, compared to the straight "glued to grid" style it had previously.

    Right clicking an obstacle will delete it.

    You can make pretty elaborate mazes.

    Strange thing happens on export though. I wasn't able to minify it, directly from C2, when I tried, the output file was 85 octets, and only contained the header "// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com".

    It seems that the minifier has a file size limit, or something.

    Still not done with the behavior, but it is taking form steadily.

    EDIT: Those posts are old and were Work In Progress only.

    The actual topic for the PathFinder Behavior is one click away.

  • The problem with such algorithm is that there are lots of ways to apply it.

    Making the most common behavior possible, answering all needs will be quite hard. (and tbh is not really my concern. I needed a pathfinder for one of my project. When my own needs are fulfilled, I'll release the behavior. If you have specifics you want to add, you'll then have to add it to the code yourself). (We'll see)

    For now, I'll let you with this little demo of the behavior WIP.

    The start is the sprite in the top-left corner.

    The destination is the bottom right corner.

    Click on any case to make it an obstacle. (Avoid making Start and Destination an obstacle though)

    When you're done conceiving your maze, click the top-left sprite.

    it should show a path of arrows, and give you a message once the sprite has reached the destination square.

    As said, really work in progress.

    The heuristic formula for this example is Euclidean.

    I have more work on this before making it publicly releasable.

    This demo is based on the code Ash pointed out.

    Edit:

    Known bug:

    + The sprite doesn't move up. Instead it stays in position/stucked.

    I'll have a look into why later (can be after the r51 release though, as I'm intending to participate ludum dare this week end.

    Let's make a bit of promo for C2, join me there (jam rules allows for teams and a 72 hours deadline)

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

    EDIT2 : The PathFinder Behavior topic

  • Oh Ash, I just came to think about it:

    Could you add an action "Comment". An action that wouldn't be executed, as it is strictly a comment, within the "actions" list of an event.

    We can comment events, levels in subevents, and I use a lot comments to break and organize my code. Comments as label if you will.

    And some times, with a lot of actions of different natures (using and targeting different objects) to know where I was, I often wished to be able to put comment inside the actions.

    I hope this could be achieved before r51 release. <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Interesting.

    I've been working on such a behavior for the past few weeks (learning JS at the same time) and had found an implementation of the algorithm (with multiple heuristic formulas too, a few more than in this one) but this example uses far less code.

    My behavior already "scans" the layout and translate it to a map where obstacles are marked.

    At the moment, I'm having trouble with making the instance travelling the found path <img src="smileys/smiley4.gif" border="0" align="middle" />

    This code seems cleaner than the previous one though.

    I'll make some test to use this one instead.

    Thank you Ashley <img src="smileys/smiley2.gif" border="0" align="middle" />

  • It appears the expression atan2(y,x) isn't available in construct 2.

    var a = Math.atan2(y, x);

    I'm not sure if it is what you are looking for, but doesn't it work ?

    If it doesn't, then the EightDir behavior where this is used is bugged <img src="smileys/smiley3.gif" border="0" align="middle" />

  • Thank you Ashley, this is very helpful.

  • Great! It's fun to see the browser wars in full swing again. Competition makes better browsers for everyone.

    Firefox 6 has WebSockets support as well - a very interesting one for possibly developing multiplayer games...

    Websockets, WebM, data- class of attributes. This could be used to get parameters and infos from the webpage.

    Also Firefox 6 for developpers.

    Updated my FF, installed Firebug 1.8.1 and I was ready to rock.

    Also Ash: they seem to have done something with the audio support.

    udio API

    Firefox is changing the way media is integrated on the Web. HTML5 makes it easy for developers to use JavaScript to read and write audio data. We?ve exposed the raw audio data so you can create great sounds!

    I must admit I didn't quite get that part.

    2nd EDIT: Interesting page.

    SVG, APIs, CSS formating, CSS unit scaling, WebGL.

    *drools*

  • Hey, FF 6.0 was released early this morning (western europe time) and I must say, it's pretty pleasing.

    Let's enjoy a benchmark.

    Subscribe to Construct videos now

    .

    <img src="http://www.theasiasun.com/images/gallery/website/browser-test-firefox-6.jpg" border="0">

    Check some of the high performances features as well as the cutting edge features. (Try runfield)

    Moreover, FF 7.0 is already in the oven, as well as FF 8.0 and 9.0

    By FF 8.0 it is intended that the "loading page" time would be equal to Chrome's and that FF would use around 20% less memory. The thing is FF 7.0 is already expected/intended to use 50% less memory.

    The biggest drawbacks of Firefox to be corrected by November ?

    That's something to follow. <img src="smileys/smiley4.gif" border="0" align="middle">

  • Check at my tutorial which purpose is to guide beginners like you obtaining all the documentation they need to understand Construct.

    From this starting point, you'll have all the documents you need already written for you.

    It may take a few days, reading, understanding/letting it sink down, but it's worth the amount of time.

    Concerning the shaders Ashley are refering to here is some explanation from Construct-Classic wiki.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Warp issue is resolved, it was just that the layout was bigger than the rendering screen, without scrolling.

    On a layer the same size of the rendering screen wraping works just fine.

    Also icon fixed. It's nicer than the blank icon it displayed :)

  • Please, consider giving more infos and being more detailed about what's happening as indicated in this post. (especially the step by step to reproduce your error and your current configuration)

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