Unconnected's Recent Forum Activity

  • The example is pretty neat. I am not sure exactly how it applies to what was asked though. I will hold on to it and reference it for another project at a later time. I understood what you meant by using a tile-map. Since it is the same angle I could just use a tile-map to apply the images.

  • I may be adding nodes to the map. I may be able to apply them with nodes since it is the same image tiled at the same angle. I will look at the example. Thanks

  • From my understandings if a group is activated but not in use, it checks the main event and skips it's sub events.

    If a group is deactivated is it skipped on every tick or is the main event analyzed and ignored?

    What about Functions? is it skipped on ticks unless called or analyzed as well?

    I will most likely adopt Functions because it uses less events to call than to activate/deactivate a group and they seem like they act faster when called.

  • Is there a large difference in calling a Function vs Activating/Deactivating a group?

    The only difference I have noticed is one extra event where you have to deactivate a group. I actually only used groups without any issues before knowing of Functions.

    I may be using Functions wrong as well.

    It seems they are meant for single use only. As in spawning an object.

    Will using the same function constantly(non-stop) for something long term or possibly a loop cause issues? Possibly as in a timer that restarts when hitting 0, or controlling an animation frame based off of a variable?

    All of the Capx files I have downloaded used function or nothing at all. I haven't seen anybody activating/deactivating groups as I have. Am I missing something? Is there a difference in performance?

  • Okay, now that I am able to look at the example, I can see that the Aliasing isn't as bad as I though it would be.

    You did it a different way than I was expecting.

    I was expecting object copies that moved in a single 4-way direction depending on the need, basically tiled objects.

    Thanks, Will try it out.

  • alanziy That is more like it. Was wanting to avoid objects if possible to prevent a foreseeable issue later on. I'll manage with it. Can't seem to be able to fill pixels between points without a plug in, which would have been the solution.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I already have it done. I just made two tile-maps into half of an isometric grid and put them on each other to make a whole, I removed blend and added erase tiles on contact. I'm using a large invisible object to erase on contact, this prevents visual problems. I was trying to avoid many objects since the area that needed to be a solid color is large. To prevent visual problems I would probably need to use 8 or even 16 objects, at that point I might as well just render large tiled objects for the ground instead of using tiled background and remove the black/white blend layer.

    I thought tile-maps didn't take up much CPU/ memory vs objects?

    Is it better performance wise to have 8/16 of the same objects, or 2 tile-maps that repeat the same single tile to make the black area outside of where the diamond is supposed to be?

    I'm not sure how each is processed, seems to me tile-maps uses less of everything somehow.

    Is there a huge difference or should I just tile objects for the ground and forget the black/white mask?

  • The "int(x/10)*10" Will always round down. 19/10 is 1.9 so it gets converted to 1 and then the answer is 10.

    You did answer my question though.

    "round(x/10)*10" rounds to nearest (x.5 is rounded up)

    "ceil(x/10)*10" rounds up. (1.000000000000000001 = 2)

    "floor(x/10)*10" rounds down (1.999999999999999 = 1)

    This brings up another question, What is "int()" for if "floor()" already does that?

    I saw that if there is text after the numbers it can get the numbers.

    "33xx" would = 33

    but "xx33" would = 0

    What would a reason be that letters and numbers are mixed up?

    I have never come across a reason for this.

    The only thing I can think of is X,Y coordinates, but I have always had a variable to go by.

  • Nothing that I asked in this post can be found in the Manual. I asked for a formula or for a built in expression. It wasn't in the manual so I wasn't sure. When rounding 5.5 is in the middle and can technically be rounded up or down. Was asking if Ceil and Floor was hard limit or not. 5.9 and 5.9999 are different. One has 10% missing while the other has .0001% missing.

    Int is in the manual. I didn't know the use of it at the time, so reading it and it sticking with me are two different things. I will admit I misread your post at first. I hope it didn't come across as me being a jerk.

  • I saw a "%" symbol used before and wasn't sure what it meant. I didn't know int() even existed, figured that was what ceil and floor was for.. Still a bit new. 5.5 is kind of half full half empty kind of thing. Wasn't sure if there was a built in expression or not, this answers it. Thank you.

  • Hello World, I wanted a tiny Rep Boost..

  • Lets say I need a number to be rounded to the nearest multiple of 5, 10, 32... etc

    Examples:

    Multiples of 5:

    0, 5, 10, 15, 20 ,25

    12 would = 10

    Multiples of 10:

    0, 10, 20 , 30, 40

    16 would = 20

    Multiples of 32:

    0, 32, 64, 96, 128

    89 would = 96

    What about rounding up or down and not to nearest? As in:

    Rounding down to make 14 = 10 or

    Rounding up to make 11 = 15?

    I am aware I may have to create a variable, just not sure if there is an expression for this already or if I have to take the number and put it in a formula.

    Also will Round(5.5) = 5 or 6?

    I have only read 5.4 = 5 and 5.6 = 6 in forum examples.

    I never read what would happen if it was in the exact middle.

    Does it just pick up or down randomly?

    How sensitive is Ceil and Floor?

    would floor(5.99999) still be 5?

    would ceil(5.00001) still be 5?

Unconnected's avatar

Unconnected

Member since 6 Apr, 2016

Twitter
Unconnected has 1 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies