User Tag List

Page 52 of 92 FirstFirst ... 2 42 50 51 52 53 54 62 ... LastLast
Results 511 to 520 of 917

Thread: Build 293.10 - Release version

  1. #511
    Forum Moderator Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    NaitorStudios's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    1,128
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Does Fusion have any particular reason to limit the maximum amount of objects at 30000?
    Cause it would be nice to get another increase there, would be specially nice for backdrops, but interesting for other kinds of objects as well.

  2. #512
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Dec 2017
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Small feature request: could we get an expression to get a sample's default frequency? This would make calculating pitch easier.

  3. #513
    Clicker Fusion 2.5 (Steam)
    Linky's Avatar
    Join Date
    Mar 2020
    Location
    Egypt
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb On object creation condition

    On object creation condition would make life much easier
    I know there are alternative workarounds but they all have there ups and downs, while a simple "On object creation" condition would be the best

  4. #514
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,850
    Mentioned
    133 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by NaitorStudios View Post
    The same way Position condition works, in fact you can create a entire custom movement that works with instances without fast loops/for each loops, but you can only move 1px at time or lower or it will get inside obstacles.
    I guess some conditions and actions have a internal For Each loop or something, but it's far more efficient than doing it with actual For Each events.
    For example, in this mfa you can see that it doesn't use a Fast Loop or For Each loop for moving, only uses for gravity, cause it has to fall faster than 1px per frame, in this case it doesn't need anything fancy, but how would you do stuff like independent acceleration?
    You simply can't without putting it on a For Each + Fast Loop, unless you use Move Safely 2, but still not ideal.

    Attachment 30741

    You can test it there, if you add multiple instances and set a alt value to the object position at start of frame, it will set each instance independently, like it had a For Each.
    Same if you test for the object position, it will only trigger for objects that reaches that position.

    For example, check my Bunnymark, it doesn't use For Each or Fast Loops and it has individual acceleration, directions and so on.
    The only flaw is that I simply can't make it stop on a obstacle, cause it would probably jump over it because it can move more than 1px per frame.

    Attachment 30742

    (If you try running this Bunnymark from inside a For Each loop, it loses half of the performance)
    I still don't really follow. It seems you want an action that will automatically perform collision checks while it moves something and abort the movement if it finds an obstacle, but this sounds too rudimentary to be very useful. It would probably only be applicable to backdrops, which are already very limited. And what if you don't want the object to just abort its movement and stop? What if you want it to turn around? Or what if the obstacle is also dangerous, so you want the object to die when it touches it? Or anything else like that? In all those cases, you'd need to test the collisions yourself so you can put your own logic into the game, and an automatic hidden collision detection won't be of much use.

    I also don't see the need for avoiding forEach loops. ForEach loops are great, are simple to use, and come with all sorts of advantages, such as being able to easily isolate subsets of objects, or being able to open/close groups in the middle of a loop. And their performance is fine, which is actually illustrated by your bunnymark example. I get 60fps when there are 16000(!) objects bouncing around. You say that the performance is halved when using forEach loops, which suggests I'd still get 60fps with 8000(!) objects bouncing around. That sounds totally fine to me. I can almost guarantee you that if you ever made a real game with this many objects, you would hit a GPU bottleneck from all of the graphics on screen long before you hit a CPU bottleneck from the forEach loops.

    Though it doesn't matter what I think, of course. Yves is the one you need to convince, not me.

  5. #515
    Forum Moderator Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    NaitorStudios's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    1,128
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    @Volnaiskra For example, I can only get 300 enemies that only fall, walk and turn around at 60 fps on my highly optimized enemy system on a high end computer.
    The more complex AI/movement gets, the less instances you can have.

    All conditions and expressions that come from the Active object can already work independently, it only falls apart when you need to use a Fast Loop.
    Why do we need a fast loop? Cause you can only move 1px or less per frame if you don't want instances getting inside obstacles, or in certain speeds, going through it entirely.
    So the two only ways of making a fast moving object with a custom movement is either with a Fast Loop or Move Safely 2.
    Move Safely 2 works like I'm suggesting, in fact, Fusion 3 is confirmed to work similarly, they even mention it on the blog.
    What Move Safely 2 does? It basically checks all positions before reaching the destination, so you can get a collision in between two points, even if the object "teleports".
    But, Move Safely 2 is a pain to setup and can cause crashes it not done properly.
    The push-out part wouldn't be necessary in what I suggested, just the part of moving one pixel at time, faster than the next frame be rendered, like a Fast Loop, but in a way that works on instances without a For Each like Set X/Y Coordinate.

    So in resume, what would it do?
    "Set Position" or "Set X/Y Coordinate" would teleport the object, collision would only be checked at the destination.
    Now that I'm thinking, it makes total sense for it to be relative to object position and not absolute coordinates for my suggestion so...:
    It would be something like "Move N pixels in X/Y", if I set it to move 10px, it would move 1px 10 times before rendering the next frame, effectively working like a multiple repeated actions on the same event, but in a way you can dynamically control how many times it will repeat, something like a in-line loop (which could also do it, would be even more useful, if you could set the start with the amount of times and the end on the action list, but this would require allowing to check for conditions in another event)

    2021-11-07 11_23_24-Clickteam Fusion Developer 2.5+ - [Application 1 - Frame 1_].png

  6. #516
    Clicker Fusion 2.5 (Steam)
    Linky's Avatar
    Join Date
    Mar 2020
    Location
    Egypt
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think this would need a big change on how collisions are handled in Fusion, for it to check collisions while passing these positions
    I'm not Yves to exactly know if it is hard or not but, but if it was hard to fix basic collision problems when scaling / rotating an object, it most be hard adding a whole new functionality to the collision system right?

    But anyways, yeah I understand the appeal of it, at least if didn't matter in performance, it would matter in event size and simplicity in general
    It can simplify a movement like this by a lot:
    Bounce multiple code.jpg

    Though atleast it is something that exists in Fusion3 already

  7. #517
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Apr 2016
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello, Please fix this error.

    Screenshot (138).png

    Second conditions dont work.

    OR_Error.mfa

  8. #518
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Mar 2014
    Posts
    183
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    I doubt CT is going to fundamentally change the Fusion 2.5's core concepts.

    I think this is one of the things that most new users http://https://community.clickteam.com/threads/109067-Help-scoping-multiple-objects

    It would be nice if FastLoops didn't break scope. I suspect scoping wont be lost in F3. I can't wait! It's going to feel refreshing!

    @Yves - give us some F3 news!! Just a little.... Lets get users excited again!

  9. #519
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Mar 2014
    Posts
    183
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    *I think this is one of the things that most new users struggle with: http://https://community.clickteam.com/threads/109067-Help-scoping-multiple-objects

  10. #520
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Mar 2014
    Posts
    183
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)

Page 52 of 92 FirstFirst ... 2 42 50 51 52 53 54 62 ... LastLast

Similar Threads

  1. Build 292.11 - Beta version
    By Yves in forum Fusion 2.5
    Replies: 63
    Last Post: 30th August 2019, 04:16 PM
  2. Build 288.0 - Beta version
    By Yves in forum Fusion 2.5
    Replies: 43
    Last Post: 25th February 2017, 06:21 PM
  3. Build 287.1 - beta version
    By Yves in forum Fusion 2.5
    Replies: 21
    Last Post: 23rd July 2016, 02:40 PM
  4. Build 285.1 - Beta version
    By Yves in forum Fusion 2.5
    Replies: 122
    Last Post: 8th April 2016, 08:21 PM
  5. Build 284.2 - beta version
    By Yves in forum Fusion 2.5
    Replies: 89
    Last Post: 17th April 2015, 04:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •