GamerGon's Forum Posts

  • Sprite fonts are... sprites, so, it renders just like any other sprite. It works perfect.

    The only "issue" is to set the right space between characters because the space between an "i" and an "l" is not the same between a "w" and an "m". You can adjust it in an event sheet, character by character. You'll just need to test your character space configuration with several diferent text.

  • First, read and then put the theme of your question/problem in the title of the thread in order to receive help. "I need help" is not "helping" LOL.

    • What HTML5 mobile wrapper are you using to export?
    • What mobile device (model) are you using to test it?
  • Just a thing:

    • The "Every tickt" from line 13 is not necesary. The upper condition is an "every tick" condition, so if you use the action "Move 5 pixels..." without the "Every tick" but in the same line 13 or 11, it should work the same way. It's weird to use "Every tick" inside an "every tick" condition, it can produce non expected results.
  • I have to do this in a few days. Thank you!

  • I can add: keep track of the image resolutions. They can't be too large... just that.

  • On collision with another object (family objects of interest to collide) -> "Prevent Rotation" to "No".

  • I don't whink you need some kind of special behavior to do it... I did something similar in our very first game: http://lucho.octetostudios.com/

    Maybe you will not understand the instructions because it's in spanish, but the idea of police patrolling is what I think you are looking for.

    Basically what we did was that every police has an instance variable called "name" (police01, police02, etc). The patrol between points (A and B) have an instance variable called "forPoliceName" (police01, police02, etc). So, this way the patrolling points belongs only to one police instance. Then you patrolling method has to evaluate if the patrolling point belongs to the police you are moving or not and then move to it or another if the condition matches or not.

    In that game, we have several police instances and every police has several patrolling points and it works perfect. Even the patrolling path changes to you if you get caught entering to a house. The police starts following you for a limited period of time and then it gets back to its original patrolling path. Take a look at it a tell me if it helps <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • I've just added two bullets behavior to the same family, but... is there a problem with this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • IT IS possible to use bullet behavior more than once for the same object. C2 allows it with the only condition of naming them differently. The question is, if this can cause some kinds of problems like the ones with "Platform + physics" behavior (not good friends together).

  • That problem is server side, not a C2 bug.

    Check the network tab with Firebug when loading the game from server and you will see what I mean.

  • But what if I want the button to be on the Canvas inside GUI?

    I did it like Ashley said and the like button is out of the game, so for fullscreen games (viewing in IPAD for example) I can't see the button because the browser centers the view on the game.

  • It seems like this plugin is not compatible with Safari or I'm doing something wrong.

    When I try "Prompt to share a story" or "Javascript login", Safari console throws this:

    ReferenceError: Can't find variable: FB

    Safari version: 5.1.7 (Windows)

    :(

  • JohnnySheffield so nice of you! That's more than enough :D :D :D I will try it and tell you the results. Hope it works. Thank you very much... very very clear.

  • Hello guys,

    I know how to use the Facebook plugin very well. I used it in one of our games and it worked perfect. Facebook login, ranking, etc.

    The thing is that I need the same basic functionalities plus facebook user email. No more else, that's why I don't want to try the advanced Facebook third party plugins. The one that comes with C2 works pretty well.

    Does anybody know how to do this?

    I've read that user email needs special permissions, so I think it's not that simple as adding the var email in the plugin code and I don't have experience creating or modifying plugins.

    Thank you in advance :)

  • Just tried it with v152 of C2 and it still works perfectly :)

    Thank you very much Kyatric

    I've made some successful tests with this plugin sending hash results to php backend file through ajax plugin and comparing results between the hash generated by CBHash and the one generated by PHP functions.

    AWESOME.

    Thank you again.