Kyatric's Forum Posts

  • Rasputin: I think in English it is "I tip my hat to you", or something like that, but I get the idea nonetheless, we have a close enough expression in French as well.

    C2 allows to do a lot of manipulations quite easily.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The link to your capx raises an error in my browser.

    Consider hosting your file on another file hosting provider.

    As it stands it sounds like you may be trying to do some phishing.

    And if you are legit, we can't safely access your capx to check it out and help further.

  • Example Capx

  • Actually, fog of war is strictly a visual artifact/effect for the player.

    Use the Line Of Sight behavior for your units, and be sure to add the walls as obstacles.

    Out of their range, they won't "see"/perceive.

    And the fog of war has to cover/be drawn out of their range of perception.

    Spheres seems relatively OK for fog of war "border" details, otherwise it is overall a big dark rectangle.

    Consider using those spheres with appropriate blending modes like "destination out" to use them as display masks.

  • A function, like a loop will be executed on a single tick.

    Do you need your loop to go through all the elements.

    If for example you are looping through each instances of an object type and want to do a specific action on a specific instance, once you found it, use the stop loop action, it will prevent from looping through the rest of instances which we know are wrong/not the one you are looking for and can allow you to freeze your application less.

    If you want to not freeze the execution, yet still, each tick analyse through a bunch of the instances (but enough that you don't feel the freeze), it depends in great part on your project's code, but you could increment the value of a global variable each tick, and use this value to pick an instance (through its IID possibly ?) and analyse only this instance through a specific event.

    Still a "loop", but which execution goes over several frames of execution.

  • As it is indicated in the wonderful manual, and the specific manual article about the Video plugin it depends on the browser.

    In most browsers the video object is part of the canvas, so you can send it to top and bottom of the layer and set its depth as with any other element of Construct2.

    On Safari though, the video is creating on top of C2's canvas, and so sprites cannot be placed on top of it.

  • julianlee: As mentioned in the topic itself (2nd page)

    [quote:3bg36sr8]It's over 3 years ago. The old Arcade is no longer with us.

    It is likely it wouldn't work very well anyway with the latest C2 because of breaking changes and improvements.

    The example from scaciga still works and may be helpful: https://dl.dropbox.com/u/7312517/isometrico04.capx

    I'm not responsible for the maintenance of downloads within the topics.

    If no available example is available in the topic and you report it to me, I'll remove the link from the list.

    Otherwise, do post within the topics itself, and make sure to read it completely first in order to find working examples.

    Report within the topics about missing downloads and hope the original poster is still active in the forums.

    Thanks for the report nonetheless.

  • luckyrawatlucky: Please, stop multiplying posts and topics about the same issue. Stick to a single topic on a specific subject.

    Do some searching in the forums and using a search engine (like google for example) as well to educate yourself.

    You may find informations in your own language which might be easier for you to compute.

  • : Thanks for elaborating, although I believe there is more to coding than just using the appropriate syntax/punctuation depending on the language itself.

  • Construct 2 will not teach other programming essentials like double checking syntax obsessively, clean code, and memory management among other things. It is very forgiving in that sense. How much someone relies on behaviors and pre-made examples without attempting to understand how or why certain code works could also limit how much is learned.

    I don't really agree with that part.

    Syntax and organizing matters in the name of functions you use, the global variables you use, the abstraction making of an array, and most of all the parts a lot of people complain about when dealing with "making big games" with C2.

    On that level, no programming languages "teaches" you those concepts either (apart perhaps syntax stuff, although it is often one of the main issue with signs used in ends of lines and stuff like that), it is up to you, the user/progreammer to be organized and make "clean" and elegant code.

    You can have messy C++ code as well, using too much memory, not clean/elegant and so on. The language itself doesn't teach you anything about that, it is just your own experience using it that does the trick, same goes with C2.

    Also, it's actually an abuse (even on my part) to compare C2 with C++ since C2 is based on JavaScript, as such a lot of your complains/remarks are the same that "true coders" of low-level languages like C++ will have towards scripts/modern languages like JavaScript.

    It's kind of a dead debate all along since it is mostly a matter of perception/point of view/comparing two things that are not really comparable (low level vs high level).

    Yes it is "forgiving" to a certain point (it was designed to allow "complete noobs" to get in) and for a small project you can use too big textures and ruin your memory, nonetheless, the overview of the manual ends with the best practices recommendations, the performance tips and memory usage tips that talk about memory management.

    You don't have to manage memory assignment like you do in C++, but once again, C2 is closer to JavaScript than C++, and in that, JavaScript memory assignment works about the same. Also, game engine. Go use an engine like Unity or UE4, do you have "so much" memory management control as well ?

    I'm being picky on words, but when I learned C++ on my own, quite some years ago now, it did not teach me so much fundamentals as well.

    I have experienced also the fact of understand better some of the OOP concepts better once I encountered Construct (Classic at the time) and abstract data structures like arrays became clearer to me through the use of Construct as well.

    But it is not the goal of a language or of C2 to "teach" anything.

    By its design it will lead you in certain ways, sure, but as long as you are left on your own, you can teach yourself bad ways, I don't think it is specific to C2.

    Also, where C++ documentation was hectic, and no two tutorials would start at the same point (which was the worst imo), C2 has a clear starting point (the manual and the beginner's guide) and quite clear and available documentation to help you along.

  • C2 is very simplified that it skips the other important fundamentals in programming

    Could you elaborate on what fundamentals your are talking about ?

  • Proxymity: I've just downloaded the plugin, placed it in the "construct2\exporters\html5\plugins\cbhash" folder as required and tried the example capx.

    All worked as intended.

    Make sure you are placing the plugin in the correct folder, it does not require an update on my part normally and is working as intended as far as I can tell.

    If you encounter an error message, copy it here.

  • 8 Billions of gigabytes necessary RAM. Nice...

    It just doesn't make sense getting this to work honestly, you should serioulsy revise your base design otherwise you won't be able to make your project work except on a specific dev machine.

    You don't want people to comment, but at the same time you are requiring help, so please, take that comment as another help feature.

    Now for your issue.

    To get back to "On animation ended", you can simply not make the animation loop and use the action "Animation - Start from beginning" to make it play again (be sure that the animation is not set to loop). That's how you manually handle a looping animation.

    I must admit otherwise that I have no idea what your issue actually is.

    What do you expect your project to do and what is effectively happening ?

    According to what I can gather from the code, this is working as programmed. So I don't get where you are having an issue.