Chadori's Forum Posts

  • Look at this marvelous tweet gif: https://twitter.com/TijmenTio/status/684148919299891200

    Such smooth and awesome animations, the guy said it's all procedurally animated, it's all physics driven. I've been trying to conceptualize how this can work, is this possible in Construct 2?

    I always thought that it was possible in Construct 2 but you need to combine many behaviors for this one or create/program your own behavior or plugin. But another way is using fast animations by setting animation speeds higher and adding more frames in your character but performance is bad for mobile though.

  • I'm thinking about how I would achieve a rather decent... maybe cool looking transition effect between layouts and was wondering if any of the talented C2 developers have any ideas OR examples they've created/used in their own projects. Also, will anybody admit to creating false loading screens? Everyone loads so quickly in C2 that it's jarring and they feel necessary sometimes.

    About the Layout Transitions made plugins for this. One plugin he made is the v1.2 LayoutTransition.

    Also, about the false loading screen. Some game dev give time to make their game a branding loading screen in the beginning to show their company name. It is

    quite common actually and almost everyone do it.

  • Hi, i have Arrow set to change angle exactly 90 degree when touched, but when you touch again before the tween ended, it will rotate again but will not keep the 90 degree angle anymore. How to fix this please

    I suggest disabling the button touch(in other words locking) while rotating using a globalvariable or localvariable

    for example:

    On Touched Button1 & Variable = 0 then

    ---->"Rotate to 90 degrees"(The one you worked at)

    ---->Set Variable to 1

    If Arrow is equal to 90 degrees then set Variable to 0

  • You can find what you need here https://www.scirra.com/tutorials/237/ho ... -web-fonts

  • That's exactly how it is, except in my case, I have the bullet to fade out upon colliding with the tilemap, which causes all fireballs on the screen to fade out. Any ideas?

    (it gets destroyed after fade-out in the behavior settings)

    I really don't know what you mean by that, usually collisions do the trick. Can you provide more details or better yet a sample of .capx file.

  • First, Sorry for my english, i'm brazilian.

    So, I need to spawn a random text during my loading screen. Showing random hints of the game.

    How can i do this?

    Follow the steps

    1) Make a layout of Loading Screen

    2) Make a sprite that contains hints per animation and name the animations - "Hint1" , "Hint2" , "Hint3" .

    3)Put the sprite anywhere in the loading screen.

    3)Put this event in the event sheet.

    On start of layout...

    ----->Sprite set animation to [choose("Hint1", "Hint2", "Hint3") 4) There you have it. It will choose animation at random... There are many ways to do this if this doesn't fit your idea then tell me the about the design and I'll work on it.

  • I've been adding 'every 1/5' or 'every 1/10' etc. to conditions that need to be updated constantly but not necessarily every single tick, in the hopes that it will improve performance by giving the computer fewer things to think about at once.

    However, could it actually be harming performance because it requires lots of timers to be kept track of?

    Based in my experience, It really does ease up the performance a bit . But it only happens if you use the time interval (0.3 ~ 1.0) but it is really not noticeable if you ask me. It is only based on the difference of working time and free time to give the system a rest. So don't waste your time on that and improve your game-play like ashley said. XD

  • Hello everyone, I want to ask. Previously I would like to apologize if I use the English language is fairly bad, because I am from outside the UK. Well just, I wanted to make a game, but in the game I created specifically for users of the gadgets (smartphone, tablet, etc.). The question is, how to keep the look of the game that I made to fit automatically in a variety of devices or the term responsive? For example, I make a game with the windows size of 500 x 500, then there is play my games on a smartphone that has a size of 600 x 700, then there is also a play my games on a tablet with a size of 700 x 900, then that both devices are able to play games I without any problems?

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

    I think it is much better if I give you a link to where I learned how to overcome this problem.

    https://www.scirra.com/tutorials/73/sup ... reen-sizes

  • > HI everyone. i want to make hand drawn art for my game. what is the best size for images to not harm memory performence of the game?

    > bat not harm the quallity of the images (sorry for the bad english )

    >

    It depends in your layout size and window size in which size of your graphics will match. But it really depends in the number of instances you are gonna create. For example...

    If I were to make a HD Game of 1280x720 px(Windows Size) in landscape orientation and every Tile is sized 128x128px. It will be okay if I create a layout that is small like (3000, 3000) or (6000, 6000) max and object count is limited to 200 to 100 or below (mostly tiled backgrounds) but If I were to use Tilemaps then it will be another story(It will be a lot lesser). I know that by looks of it, it looks so many but if you include everything that your game needs for an Open World Platformer game then it is already enough and can be optimized. I know cause I tested it in my phones, if they are WebGl supported then it will surely run 50 to 60fps Crosswalk.

    My point is, that if you have bigger images then limit the object count but if you have smaller images you can have a little bit more instances.

    Mobile Game Screen Ration 16:9 HD - Windows size (1280, 720) and make tiles(repeatable images) according to the size you want to be seen in your game.

    Examples:

    *(32x32)

    *(64x64)

    *(128x128)

    *(256x256)

    Windows size (1280, 720) 16:9 is also HD and retains very good quality even in Desktops.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • HI everyone. i want to make hand drawn art for my game. what is the best size for images to not harm memory performence of the game?

    bat not harm the quallity of the images (sorry for the bad english )

    It depends in your layout size and window size in which size of your graphics will match. But it really depends in the number of instances you are gonna create. For example...

    If I were to make a HD Game of 1280x720 px(Windows Size) in landscape orientation and every Tile is sized 128x128px. It will be okay if I create a layout that is small like (3000, 3000) or (6000, 6000) max and object count is limited to 200 to 100 or below (mostly tiled backgrounds) but If I were to use Tilemaps then it will be another story(It will be a lot lesser). I know that by looks of it, it looks so many but if you include everything that your game needs for an Open World Platformer game then it is already enough and can be optimized. I know cause I tested it in my phones, if they are WebGl supported then it will surely run 50 to 60fps Crosswalk.

    My point is, that if you have bigger images then limit the object count but if you have smaller images you can have a little bit more instances.

    Mobile Game Screen Ration 16:9 HD - Windows size (1280, 720) and make tiles(repeatable images) according to the size you want to be seen in your game.

    Examples:

    *(32x32)

    *(64x64)

    *(128x128)

    *(256x256)

  • My problem is, on the new layout, Its not working properly. The player isn't centered, and isn't moving, the fps seems really slow and everything is glitchy in general. I don't see why, I changed all objects over to match the GR layout layers, Seeing I decided to make that layout after the actual game layout. Everything should hypothetically work properly. Everything is on the correct layers, and I just included the event sheet for the GR layout. GR layout is working just fine. Any help would be appreciated.

    I had a quick glance so this is based on my quick observation. Correct me if I am wrong but, I saw some big flaws in your game that caused your game to slow down. Don't get me wrong, I like your game graphics and all but you missed out the essential optimizations that was necessary in your game.

    1) Don't assign random solid behavior. It is only necessary if that object and your player will collide in someways but if not then don't add them.

    For instance: The reason your Player (Dragon if I am correct) was not moving is because the field in your game had a (SOLID) behavior on it and

    also your dragon. The field shouldn't have that for it is only for designs.

    2) For Designs in your game (For example Trees) should have their collisions "DISABLED" so that CPU will not be making unnecessary calculations.

    3) Use TiledBackgrounds, TIlemaps for Trees or Designs that you put in the game repeatedly. Because using sprites takes longer in graphic rendering unlike Tiled objects(Tilemaps or TiledBackgrounds). Good job in making your flowers and logs in this using Tilemaps but I suggest using TiledBackgrounds for the trees.

    4) If possible use On Collision rather than Is Overlapping if possible (For Checking for overlaps checks every 0. something seconds - let's just say it risks performance. But you can use this for some events. I am not saying to not use this.

    For more info: https://www.scirra.com/blog/83/optimisa ... -your-time

    https://www.scirra.com/blog/112/remembe ... our-memory

    Read Ashley's tutorials, they helped me a lot in realizing that my past games failed because of lack of optimization. XD

  • I'm in the process of making an rpg. I have two different layouts that I'm working on right now. One is for the works of the game, controls, health, inventory, ect. When making a level or new area of the game, I include the first layout, the one named GR (Game Rules), and then work from there, adding events as needed for plot.

    My problem is, on the new layout, Its not working properly. The player isn't centered, and isn't moving, the fps seems really slow and everything is glitchy in general. I don't see why, I changed all objects over to match the GR layout layers, Seeing I decided to make that layout after the actual game layout. Everything should hypothetically work properly. Everything is on the correct layers, and I just included the event sheet for the GR layout. GR layout is working just fine. Any help would be appreciated.

    Game Controls-

    WASD-8 direction

    Left click- melee attack

    Middle mouse button- Hold for beta options (select element & tips, I don't suggest messing with)

    Spacebar- Fly

    I also don't suggest going to the other layouts in the game or clicking the menu button. They aren't fully working

    https : / /www . dropbox.com /s/v6g91z1cj131aa1/Project.capx?dl=0

    CAPX is above ^^

    Here is the fixed .capx file

    https://onedrive.live.com/redir?resid=A ... ile%2ccapx

  • Nevermind, doesn't work. My bad : P

    Do not use the Pick furthest condition in this situation for it is not a certain that it will be destroyed in the right place and in the right time.

    Use the on collision condition and destroy it..

    On collision of object Bullet to Tilemap1 then

    ----> Destroy Bullet

    :This will ensure success in timing and location:

  • how do I create an event where an object is overlapping another object on a specific point, for example left, right, top, botton etc.?

    I made a sample .capx file for you below:

    https://onedrive.live.com/redir?resid=A ... ile%2ccapx

  • how do I create an event where an object is overlapping another object on a specific point, for example left, right, top, botton etc.?

    Well, there are many ways but you can create an imagepoint of a sprite and check if it is overlapping.

    I'll make a .capx in just a moment.