Kyatric's Forum Posts

  • Nice video.

    Some of the (basic) stuff can be found in examples in the how do I FAQ.

    And I believe the rest of the system can be implemented in C2 building upon those examples (in the section "Scrolling/camera").

  • You can check the communities page and try to gather/regroup with other spanish-speaking people on the external forums perhaps ?

  • From the moment you want to make a commercial use of the games you are making with C2, you need at least a personal license.

    If you make 5000$ of income out of your games, consider switching to a business license.

  • I guess it's an error into the line you copied into this post, but it should be sprite.Y

    Also, the 0,0 coordinate you give first is the top left corner of the layout. Not sure why you want to measure the distance between this point of the screen and a Sprite that possibly is your ship.

    Perhaps instead of the 0's you should put the planet coordinates.

    Try posting your capx, or a capx that reproduce the issue, detailing more precisely what you'd expect.

    Check also the how do I FAQ there is at least one element listed treating about gravitation, possibly it could help.

  • IronRick: thanks for the notice, corrected in the first post.

    All: Thanks for the nice words.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Kyatric - CocoonJS (and directCanvas) support multi-touch even on Android 2.x, which is one of the nice things about them. (It is only the browser software in 2.x which does not support multitouch, the phone hardware supports it fine.)

    Ashley : thanks for the clarification.

  • CreatedorMade: The email adress the license was sent to should be the same one that is registered on your paypal account.

    Be sure to check the "Spam" or "Junk" mails too.

    Also check if the email doesn't contain a code that you could redeem on this page.

  • ArcadEd: you might want to check the manual entry about how events work as well as most of the events entries.

    Let us know if reading the manual helps.

  • Have you checked the 3rd part plugins ?

    Rexrainbow released a Timeline plugin months ago.

    Have a look at others plugins and behavior, they might be just what you need.

  • 7Soul : If you cut a global variable from an event sheet, it will indeed delete the events where the variable was used.

    But you paste it in the destination event sheet in the same project, all the events come right back.

    aridale : There is a "code checker" going in the background as you are making your events. It is to ensure that the program (your game) will execute safely no matter what you coded (from a low-level perspective, the one that C2 obfuscate from you to let you focus on your game's logic instead on technical aspects of rendering, etc...).

    Removing this "feature" is not a good idea. It would probably end in more bug reports and confusion for new users.

    Just be logical and plan a bit ahead the order of your events and all should go well.

  • Not sure the file you linked in your last post is the correct one.

    It's no more a Tower Defense, it is a shooter.

    Perhaps you should upload your capx to dropbox it's easy as managing its own hard drive.

    As for your issue, you mention again that all instances of an object disappear when you use an action "Destroy".

    I guess it is once again a picking problem.

    You don't use conditions such that only the "current" instance gets picked and destroyed.

    That's a guess without having seen the code though.

    If I follow your logic correctly, once a TOWER is built, its BUILDSPOT is destroyed, so, logically, there should never be a TOWER overlapping a BUILDSPOT.

    You can then use a subevent "BUILDSPOT is overlapping TOWER" and an action BUILDSPOT: Destroy

    This will destroy any BUILDSPOT that has a TOWER over itself.

    Have a close look at the topics listed in the how do I FAQ at the section "Picking/selecting instance(s)".

    The subject is treated in many ways and with different approaches.

    Hope it might help you.

  • Project files might be what you are looking for.

    But direct access with JavaScript is not yet possible and is restricted (imagine a fraudulent HTML5 add having access to your hard drive, copying/pasting/deleting files there without you even being aware of it).

    You might also want to check latest additions like Sprite: load from URL, AJAX request allowing arrays/dictionaries to load/save datas as JSON, etc... (you might want to check the changelogs of the latest releases of C2)

  • CocoonJS is middleware, as you said, and acts as a wrapper. It takes your exported project's code and turns it into an .apk (I believe) that will be executed on android devices natively (no need to add anything more).

    To execute on iOS phone, for now you can use appMobi and its DirectCanvas, and in a (hopefully soon) future, cocoonJS will also be able to export to iOS.

    Vidi's link is also an interesting read and links to ways to use the current wrappers available.

    HTML5 is executed directly into a browser, on recent desktop computer, all goes fine, for mobiles, the current hardware and browsers are a little weak and that's why exporting/wrapping to "native" format appears as the way to go.

    All this technology is still in development and evolving with each release of browsers and middleware.

  • You probably rather want your green box to be in a different layer than the blue/black boxes and set the parallax property to this layer to "0,0", like instructed for the HUD in the page 7 of the beginner's guide for C2.

  • What are you trying to do exactly ?

    The anchor object makes sure that whatever the size of the project is, the object with the behaviour will be specifically positioned (ex: top left corner).

    The tiled background plugin repeats the setted texture on all its size.

    And finally the scroll to behaviour makes it so that in a bigger layout than the window's size, the object with the behaviour will always appear in the centre of the window (the "view" will adapt/move to the object's position).

    I'm not sure what you mean/expect when you say "I have a anchored titled background that doesn't keep up with a object with scrollto behavior"