Joao Daniel 2022's Forum Posts

  • I made this 7 years ago 😮, maybe you could adapt it.

    https://www.construct.net/en/tutorials/snake-events-1005

    Hi, thank you very much, it will be very helpful, I tested it and had a little fun, I think creating a snake like the one I mentioned in the image with different dimensions from the head to the tail must be very complex.

  • Hi people, I will develop a snake game, I realized that in the construct there is a snake totorial but it is the old ones with just dots, I want to develop one in the style of this image below, I would like to know if there is this possibility for the snake to make these curves and keeping their size from head to tail, is that too much work? Where could I start to understand the mechanics? thanks in advance

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I remembered that in Construct Classic there was a plugin called System in which I could get almost all information about the operating system, in C3 I didn't find a plugin about that maybe you have to use the script to get this information

  • I think all this happened because the scirra team rushed this version to release the export for the new requirements of Google Play and it ended up being full of bugs but soon they fix it ^_^

  • Here the animation editor is bugging when I open the editor and change some sprite when I close the editor and press ctrl +z it gives a fatal error

  • You do not have permission to view this post

  • You do not have permission to view this post

  • In my game, travelling distances are important. They are stored in an array names ArrayDistances like this :

    At some points of the game, I have to retrieve the values in the table but instead of using numbers for coordinates (I know how to do that), I need to use places names (chateau, village, etc).

    So my code won't be :

    Value = ArrayDistances.At(2,3)

    but

    Value = ArrayDistances.At(cell X coordinate where value ="tour", cell Y coordinate where value="village")

    Any idea on how to do that ?

    try this

    + Array: For each XYZ element + Array: Contains "village" value -> Array: Set value in (Array.CurX, Array.CurY) to 0

  • Google asks if my game has one. An answer is required for publishing.

    look at this article support.google.com/googleplay/android-developer/answer/6048248

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Local variables are reset each loop, so once you are done with your event that data is lost.

    The object has instance variables, these will be wiped as soon as the object is destroyed.

    Global variables can withstand this - but they are not designed to hold an objects stats since you can have many objects all looking for different values at the same time.

    Here is how I worked with destroying enemies in my last project.

    Enemies have a variable Boolean I set when they are killed and then I destroy them.

    In a new condition if an enemy is destroyed and also has killed true (This eliminates 2 swords killing the same enemy during the same tick) I can call my loot function while still having that enemies position and name stored. I then pass these into a function so I can use them after my enemy loses that information lose the information.

    (Mine is done with Families - but it should hold true with multiple of a single enemy as well)

    Thanks for your support and patience ^_^

  • hi guys, i have a doubt about firebase i'm recently creating a game and the data will be saved in array, json and i would like to know if it's possible to send and receive this data in firebase database, since i can't at the moment pay a private server to save and receive this data

  • Ya call of that info before you destroy the other object.

    Or call a function and send in all the details you need as parameters before you kill the object. Every time I do this it just ends up being messy though.

    I created local variables to receive the variables of the enemies that were destroyed so that when using "OnCreate" nothing seems to work