Kyatric's Forum Posts

  • You do not have permission to view this post

  • If they are instances of the same Sprite object type and you are not picking any specific instance, yes.

  • gyan333, nikosurfing, Ribis

    Guys you can also check out for existing implementation examples listed in the How do I FAQ.

    There is a dedicated section to "Scrolling / Camera" that contains several examples.

    Also latest stable version is r221 and you should all upgrade to use it.

  • Save the displayed animation frame in a key of the local storage.

    On start of layout, set the animation frame displayed to be equal to the value stored in the local storage key.

    The first time you execute your game, the key does not exist, so the default value will be 0.

    Be sure to then create a key using the default value.

    This mechanic is explained in my Asteroid in less than 100 events tutorial, dealing with the scores.

  • Always remember, functions when called do not use the picked instance from the events that call them, you have to do the picking directly in the function itself.

    It means that in your case, you could pass the enemies.UID value as parameter of the function and as sub-event/other condition from the function event, pick enemies by UID where the value is Function.param(0) (the first parameter passed).

  • Most developers using social medias and Construct 2 should be found as following @Scirra on twitter, the official facebook page and the subreddit.

    Moreover in the profile of each forum user there is a dedicated part to fill in the social medias they can be found on that is displayed on their profile page (when you click the name of the user).

    You can find mine by clicking my username and checking for the displayed social media icons under my avatar on my profile page.

  • Upload to a file hosting service like dropbox or google drive and put the link in a message.

    Since you still have low reputation, consider posting the link as text, possibly into "quote" tag.

  • You do not have permission to view this post

  • On second reading of your issue :

    Make sure you are providing the correct audio format for your music and sound files (m4a for safari).

    What is the actual size of your sound/music files ?

    Perhaps it's not loading because the files are too huge and use all the memory of the phone.

    During your preview over LAN you can still look for errors your browser, and see what the console is returning as an error and provide it in this topic to give clues at what's happening.

    Finally, possibly consider to share your capx, have other people testing out the issue on their own device to see if it reproduces.

  • I'm afraid you will have to program the parsing for the "algorithm" yourself in events.

    It depends on the content of the XML file itself and what it is supposed to do.

  • In the C2 academy there is a serie of videos on how to make a weapon system that sounds like something you could learn from.

    Look for the videos about dynamic projectile system.

    There is also

    Subscribe to Construct videos now

    dedicated to fire rate and using instance variables for it.

  • Your file contains a "CocoonJS Back Button" which doesn't seem to be the one found in the Addons forums, so I cannot open it.

    Consider removing the plugin from your capx if you want more people to be able to open it.

    Moreover, please don't spread/bump older topics with your issue when you already have one topic on the subject.

  • You can also simply modify the collision box of the C4 so that all points are 1 pixel within the object.

    This means that the top left point position becomes 1,1 instead of 0,0, the top right point position becomes 5,1 instead of 6,0, and so on.

    Physics is tricky, and using such a small graphic adds to the trickiness.

  • Consider posting your capx as it sounds like a tricky project setup and your issue is totally specific to it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads