Fastloop won't break the actions' scope before it, if these actions' object has been scope down to a specific one.
Type: Posts; User: defisym; Keyword(s):
Fastloop won't break the actions' scope before it, if these actions' object has been scope down to a specific one.
Simply you can take this event apart and put all actions into child events, then put “start loop” action in a single child event. This method may significantly boost the amount of event line, but you...
That's not how "stop loop" Works.
Like "jump to frame" action, fastloop will stop after all "on loop" events have been checked.
You can start loop for more than one times, then you can see the...
Usually I think that behaviours work like for-each loops, but recently I found a scope issue shows they don't work like that. It seems that fusion just simply copy and paste all behaviours to frame...
Seems that fusion now just simply copy all global events and behaviors and paste them to frame event list (I have just found a scope issue of behaviors shows they don't work as for-each), which...
use nest fastloop to iterate through the array I think.
Use a single frame as S/L frame
- Save Local Value
- JMP to S/L frame
- Save Global Value
- Load Global Value
- JMP to Game frame
Actually you don’t need to care much about the details, just simply iterate through all objects and save it’s alterable values/position/scale/angle to file, then restore or recreate them when...
Then you can try binary files…
Though players still can modify them, it's much more difficult in this case.
Active object's animation frames are global to all instances.
You can use active picture as an alternative, or add dummy frames.
E.g. you need to load three frames, then you need...
if you add a new frame with fade in transition, and hide a "visible at start" layer at start of frame, then you can't show this layer again by event.
here follows a mfa to show this issue:
IIRC you need to build that .mfa as sub applications first (.ccn)
simply you can compare file’s modified time.
(I’m not sure if there is a file time object on android)
Insert a blank frame without transition effect and drag it to the top of frame list as a jump frame, and use a “start of frame“ condition in it to jump to any other frames.
In this method you can...
You can't compare differences and merge them easily.
Git, but only for backup. Several functions like branch/git blame almost don't work because of this reason.
break works fine if child only has fastloop actions:
Another bug (maybe) with or condition:
If there is a fastloop in a child event, which has "break" in action...
When child event has an "or" in condition, both filtered and logical, break action seems don't work....
I found that if you put a "break" action in a parent event, while it's also a child event, childs of this event will execute as normal. Does this work as intended? Is it necessary to prevent...
You can check this thread: https://community.clickteam.com/threads/106097-Best-way-for-a-frame-based-level-editor-in-CTF-2-5?
Addition:is it possible to scroll to the target line of event when Undo / Redo?
It is not easy to track this in current version.
And it would be uesful if frame folders are synced with event editor folders and object select dialogue box (pop-up when inserting a new condition /action).
image if you want to program one object,...
In short, pathfinding has three steps.
1.Use a 2D array to describe the map, and tell AI where is obstacle.
2.Use the algorithm to calculate the path's point sequence.
(e.g. move from (0,0) to...
Thank you Yves for quick reply.
Is it possible to add alterable values to string objects? This would help a lot in scoping as we almost can't scope strings currently.
if I create several strings during runtime, and I...
I don't know whether you create turret dynamically during run time or just create them in frame editor, but both is easy to achieve your goal.
Just simply add an alterable value ID to base and...
disable "Fine Detection"
Hi, I'm now trying to optimize my screen capture system, and need to make sure it works both in windows mode or fullscreen mode (like F12 in steam), and ready for immediate display.
I think you might need to post your mfa if you want someone to help you further.
Thanks for your time and advice.
I think I could modify the codes about coordinates for this case.
If your target platform is windows, maybe you can check “pathfinding object”. IIRC the example bundled in this extension is based on bouncing ball, so it might not cost much to transplant to your...
Hello Yves , sorry to bother. Could you please check this when you have some time ?
might because you used some unsupported actions in parent events.
I have just found that if you preload an image ( new feature in 2.5+ ), set it's HotSpot to (0,0), then load this image and set it's HotSpot to center, ( use expression (100000,100000) or set to...
Both works fine for me here.
This works for events if you right click the target object in event editor:
I don't know if there is a method to do the similar in frame editor. But you can "create active" from backdrops by...
I have just did some test :
Fusion only embeds files when you select them directly from file selector and enable "include external files".
If you use an expression, either absolute or relative...
IIRC "Apppath$" returns your mfa's path if you test it in fusion (not the path of edrt/edrtex.exe), and your exe's path when you run from the stand-along.
You can simply send "Apppath$" to debugger...
I just got a similiar issue with magic deque yesterday.
In my project, before one unit's turn start, there is a routine that iterates through all units, uses their "speed" to fill theirs action bar,...
I made a mfa with events like that......
but I couldn't reproduce the bug you said.
Fusion will run your events once per frame, let's call this one "event loop", usually that will cost about 17 ms (if your game runs under 60 fps). The event loop won't stop until you end the...
I think it might be a high DPI behavior issue.
There was a thread solved this by modifying registry, made it possible to change behavior by events, instead of changing it through Windows.
well, we all know that F3 is a total rewrite, so it might take one year or two to become stable enough, to port frequently used shaders and extensions, to be fully compatible with 2.5, and to...
maybe you could use built-in "Play sample file from disk" as an alternative.
It seems that:
Jump to frame: save.
Restart current frame: don't save, restore last saved values.
I think it's just because fusion will return the latest-created object's fixed value when Red/Blue is overlaping more than one Oranges, and there seems has nothing to do with order.
There is already an opencv extension (based on 2.x iirc) but I haven't used it before, you can check it on dark-ware.
(It seems that since 3.x opencv becomes 64 bit only, while fusion and it's...
Yeah I know how to fix this, but it would be better to add a check routine in extension (or fusion).
Anyway, thank you all the same.
Oh, I got you.
Now let's call a fastloop in event #4.
if there is no operation about object A in the fastloop, it will resets the scope of object A in event #4 to all object As, unless #4...
by some math magic.
Use “set counter” instead of use “add” or “subtract”.
( value( "Counter" ) mod MaxValue ) + 1
iirc if there's no for-each in the fastloop, all diamonds are turned into green. so I think something might goes wrong when fusion returns from for-each then fastloop.
if you try to move an destoryed object by easing object (nummeric parameter), the last-created object (or the first-inserted object, Base_1) will be moved uncorrectly.
Here follows a quick...
If you have two individual for-each loops of an object, and put the first one into a fastloop, then call the fastloop and the second for-each loop in the same line, the latter only runs once....
Because 360 in some sense is a rogue software X)......
There is a joke said that "you can solve 50% problems on your computer by installing 360, and the other 50% by uninstalling it."
I think it's better to make it a built-in like for-each and create by name.
(PS: Since I just mentioned "Create by Name", I really wish there is a function that allows me to create an object from...
thank you Volnaiskra, but this extension seems to be Windows only.
# Return Animation Direction:
We all know that an active object has two directions in fuison, direction and animation direction.
As it depicted in help documentry, if you change...
I have just found that if "Send Text to Debugger" is the only action of a parent event, then it's childs won't work in a STAND-ALONE.
It looks like a bug, not a feature that allows users to...
fastloop is not an object but a built-in function, so it should support all exporters, including Android.
here is an quick example for you.
(I didn't find a "List Box" object so in the...
...maybe you can simply traversal through the list via a fastloop and then compare the string gets by LoopIndex using "Compare two general value".
I have just solved this a few days ago with a simple expression.
( ( ( Dir( "Character" ) mod 29 ) + 3 ) / 8 ) * 8
My character has four “actual” directions, so I need to divide (32 / 4) =...
May because of fonts.
Frames have strings that use Microsoft Yahei will definitely cause crash on my PC when application runs under both DX9 or DX11.
I had met this issue too. I think you can use active picture instead as a temporary resolution if you just want to show a single frame like user avatar.
Thank you Yves.
Since it's a global cache, does this means the cache won't be released when I jump to another frame even I loaded files to a non-global object?
Sorry to bother:
There's a new feature called "Preload Image File" in 2.5+:cf25+:.
The question is, If I preload a image file to active A, will the same file also be load faster in another...
If I got you correctly......
You can retrieve them ONLY after you add them in active's properties.
I've done the same thing like yours.
Try using two string parser objects.
Actually it's called as "parent & child", and there is an official Guide (PDF).
I forget where I downloaded it.
In DX11 mode, the layout of String objects will be wrong, spaces in the beginning of the strings are ignored in runtime, while it works properly in DX9.
This bug has been in existence since 2.5+...
I think you can find what you need here.
About two monthes for me.
"Don't Include at Build Time" really will be very useful!
Imagine now you are designing your game's UI and all your levels are generated in runtime, you need a reference picture to make sure objects...
For me, most of the features are very practical and stable.
The only problem is that in DX11 mode, the layout of String objects will be wrong.
This bug has been in existence since 2.5+ release:
I think "Create object from another application by name" will be useful also.
e.g. save big animations in another mfa (like library does) and keep main mfa/exe smaller
I don't know if I have understood correctly......
1. Spread value will spread from new object to old object, ID of an object won't change if older's aren't destroyed.
2. If you want to destroy or...
According to steamwork documents:
This means that steam doesn't care the quality of your game, they just need to make sure it is a game.
You know, it's much easier to upload to steam by steam...
I think the leak is mainly due to FireFly 2D Text Object, I still got a leak even I stop the engine and destroy everything. if remove it from the frame, although memory usage is still growing, but...
I think it might because they forget to release some of allocated memory in DestroyRunObject() routine (like other extensions)...
As we all know, 3D engine is much more complicated X) .......
I found this issue by accident.
The example .MFA is based on firefly example : Basics - Splitscreen.
Add a new event :
* timer > 2000
storyboard controls : Restart the...
Only 4 frames per second here......
i5-6200U, 8GB, GT 940M.
I think it's time for me to buy a new laptop.
Clipboard I think.
Sub thread do the work and send through clipboard, Fusion receive it and sent control messages to a file, which is checked by main thread......
of cause fusion supports...
check this? I have made this effect three years ago.
1. you can try to find it here: http://dark-wire.com/store/extlist.php
2. copy mmf2u.exe and rename to mmf2.exe. it works sometimes.
Thank you for your hard work.
Seems no one else have noticed this problem.
Actually, there is a debug layer, which should be hidden (Or shown, control by event).
One way is to show it and hide in events, another is hide it and show it in events.
The first works, but...
weird, it really works for hiding.
but, if you uncheck "visible at start" in layer's properties, and event like this:
* Start of Frame
Layer object : Show layer "Hide"
* Start of Frame
Layer object : Hide layer "Hide"
If frame has a fade in transition, this event won't work properly.
(e.g. a layer with debug parameters, show or not controlled by a global value...
scope directly in the expression I think.
int return_fixed_value(active* active);
int return_object_X(int fixed_value);
Click the file name of the selected file.
P.S. you can always rename a file by press F2 in Windows Explorer, and other places in fusion (e.g. rename object in frame editor), but you can't use it...
I don't think so
You can simply use a "start of frame" event in each event page to change a global string to see the ordering.
Yes it's in Windows SDK.
You can check this thread:https://community.clickteam.com/threads/105517-Fusion-2-5-DX11-Shader-Compile-Tool-Custom-By-Defisym
So we don't need font embed object in DX11 ? cool:D
Note: 2.5+ features' shortcut currently could not be changed cause they aren't added in.
I think child event is something like syntactic sugar (e.g. *(a+i) and a[i] ), you don't need to worry about where to use it, cause you can use it everywhere.
Besides, if you have already got used...
string parser object can access a specific line if you use line break symbol as a delimiter.
Note: maybe slow when your text file size is large.
Just delete the files. X)
A Stupid Solution......
Maybe like this……？If I didn't misunderstand……
Search for 10 times cause Fusion now only have 10 alterable strings.
Just convert counter's current value to a string,use string object for display,start a fastloop that loop times depend on the length of the string,then use extract sub string function to add ",".
I tried to send an e-mail to clickteam but until now they didn't reply it
Try using alterable values of the object as the counter, and use behaviours instead of frame events
you can get it in expression
and you'll find out it's just 0 and 1
May be you forgot to set the parameters
I add a string object in the frame with pixeloutling，use fastloop to change alterable string and creat Multiple options，and it works well when run the application from CF 2.5
if run as stand along...