Je Fawk's Forum Posts

  • I like organizing my work in sections that I can expand and retract. In C# I was overusing regions, here I find it that I overuse the groups.

    However when I changed to another Layout and wanted to create a group with a name I've already used in a different layout it gave me an error stating that you cannot have groups with the same name.

    What gives? It's a different layout.

    How could I bypass this?

    Thank you.

  • when event 27 is executed, event 28 is automatically true and will be executed (C2 reads from top to bottom)

    One option would be making the is animation playing a subevent and putting event 28 as an else to that subevent..

    Thank you very much, an elegant solution that works

    Good idea with the wait thing, although I did not test it.

  • Thank you LittleStain ; I was aware how C2 reads the events and I thought that it would have a delay between the two touches so that they don't trigger at the same time.

    I will try what you suggested and will post an update.

  • Greetings

    I have a problem with a pause button having 2 animations.

    Whenever I use the events 1 by 1 the animations trigger, however when I put them together, nothing works, it's like they cancel each other.

    Thanks for your time!

  • ah ok you want to optimize at maximum performance on mobile phone , since and specially because you have a lot of sprites ??? thats true ?

    Exactly, between 100 and 1k and the same number of images as background (for example leaf beds)

  • My project starts with a menu, when the user presses Play it then randomly generates a huge, i mean huge map, 35k x 35k, which then it populates it with objects.

    In the menu layer it gets some variables saying how the map will be like, it then should go into a loading layout which creates everything since it freezes on mobiles if you do it on the start of the layout. The loading layout then goes into the said map.

    What i was trying to do was to pass the variable from the main menu to the loading layout, the loading layout would create objects on the map layout and would update the loading bar after each object.

    So that is why I needed the ability to create objects on one layout from another.

    I found a workaround with another opaque layer however as stated above.

  • Thank you for the example, however for it to work as I described you would need to put Create object on Event sheet 1, not Event sheet 2 so that you really create the object from a different layout.

  • I didn't have much faith in this option, to create on a different layout and it definitely decreased now.

    Thank you for the answers, I shall make a new layer and make a loading bar there, when the loading bar disappears the layout turns transparent and all the objects can be seen behind.

  • I don't want to change layouts until the object has been created. I'm making a loading screen between levels.

  • Greetings,

    I'm currently on Layout 1, however I would like to create objects on Layout 2, Layer 3.

    Is it possible to do so? The Create object command doesn't work as I write the layer there only, obviously the program doesn't get the layers of other layouts so my command does nothing.

    Thank you very much

  • Thank you very much for the replies. I shall try what you suggested tomorrow. About the mouse moves following the cursor, that cannot work I'm sorry as I am using Touch

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Greetings

    I have been trying to make my player move towards the touch coords with the car movement but have been unbelievable unsuccessful. I tried a while loop to make the player rotate using car simulate control towards the angle of player.x, player.y, touch.x, touch.y and that basically broke my game as it got unresponsive.

    Any help greatly appreciated,

    Thanks!

  • To be honest I wouldn't install such a game, let alone buy it. The game has no purpose, the AI is basic, no collision, almost no animations, the boom is odd as nothing explodes.

    Enough about my personal opinion.

    I managed to open up every level. The first 2 "unlocked" ones i opened them up even twice.

    I do not know when my trial expires.

    You have some problems, I'll highlight a few:

    1. the menu cannot be accessed unless you die

    2. the joystick activates car (?) movement while WASD has 8 directions, it should be the same

    3. no error message when i try to buy a skin, no output whatsoever which makes me think i'm clicking an image

    4. the maps are higher resolution than the sprites which makes them look like they're levitating quite high

    Hope I didn't disappoint you with my critics.

  • Aphrodite thanks for the explanation

  • I've read this tutorial: https://www.scirra.com/tutorials/67/del ... dependence

    Am I using dt correctly here:

    ?

    Thanks <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">