nimos100's Recent Forum Activity

  • [quote:1cmp8bho]yes

    and if thats like you said better add condition to collisions script

    for example like i said

    if object A (player) is on collisions with object B (ennemy)

    and if object B is on screen

    this will tel to construct engine to calculate colissions only if object B is on screen

    ??? am i logic ?

    I would still say no, I don't see any evidence that it should matter in regards to collision checks. As you can test it pretty easy. Make 2 sprites and put them on the layout.

    In the code you write "On collision object 1 with object 2" that would give you 60 collisions checks, if you move one of the objects out of the layout you get 0 collision checks. So to check if its on layout doesn't matter.

  • [quote:1ubmx79n]Getting rid of objects outside layout will help (they normally are collision checked, and even if not because of collision cells, it still helps a little),

    What do you mean with that they are normally checked if outside layout, its standard that they are excluded if outside layout, or do you mean something else?

  • if we destroy object ... outside layout ... may this will reduce collisions calculations ? no ?

    Objects outside layout are not included in collision detections so it wouldn't change anything in this regard.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [quote:svzk0u2n]What is the real difference with overlaping and collision? and how comes overlapping uses less resources? Are they using different algorithms? or only about collision plygones?

    I don't think there are any difference in the code. If you look at this example:

    If you compare the basic "On collision" with "Is overlapping" you get the same amount of collisions. However if you modify the "Is overlapping" and it has to be done exactly like this, with a For each and the distance check as second condition you can reduce the amount of collisions which makes it more effective. You cant do that with the "On collision" it will check all objects on the map constantly.

  • I get about 60 fps on mobile but it reduces slightly when the collision checks happen, i was wondering if creating objects would take up more resources for a mobile device.

    As stated collision checking can be rough, be sure to use "is Overlapping" rather than "On collision" if you don't already it requires less resources.

  • Its always a good idea to clean up objects that are not needed, so in that regard I would suggest doing that. However if you only have a few objects in your game, I doubt you will notice any improvement.

    How many objects are you talking about? and have you tried to use the debugger to get an estimate of how many resources your game is using?

  • But how would you do it otherwise?

  • Isn't possible to stop depending from List as DOM object?

    Not sure I know what you mean?

    The idea was simply to link a list to spritefonts so you can use the functionality of a list through spritefonts. But feel free to change it to what you need.

  • But the excitement of them was dimmed by the darkness and boredom of making a friggin tutorial! Why didn't I just make a pdf and inlcuded it as a manual! GRRR!

    Yeah this is not going to happen for me either, might make a manual otherwise it will be learn by doing and some in game help

  • Update:

    Working a bit with creating a character sheet and made it so it can now be opened from anywhere in the game, and at the same time replaced the skill lists with sprite list which is a nice improvement I think as it gives it a more consistent look. However the character sheet took a bit longer than expected as some of the old code needed to be updated and there are still lacking some features.

  • Not sure how you made it, but you can add strings together.

    So if you have 3 parts (Strings), you can do Combined_text = Part_1 & " " & Part_2 & " " Part_3 and then you store the combined text.

    Another way is to use a list and you just store all the parts there as elements and then you use that to add them all together like above and then store the result in a Dictionary. Then you can just use the key in the dictionary to get the page of text when you need it.

  • Was wondering what people hate the most when working on a game, its not related to C2 in particular, but more in general, like making graphic, sound and so on?

    For me its definitely making game menus absolutely hate it, take Suuuu....ch a long time and is so boring

nimos100's avatar

nimos100

Member since 23 Sep, 2012

None one is following nimos100 yet!

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies