I have send you the link of mfa through PM.
1.Run the game from the first frame.
2.Click "开始游戏" to start a new game. If it runs properly, the game will load a debug script....
Type: Posts; User: defisym; Keyword(s):
I have send you the link of mfa through PM.
1.Run the game from the first frame.
2.Click "开始游戏" to start a new game. If it runs properly, the game will load a debug script....
Hi all. One of my players reported a issue that game will crash when destroying sub-application, but I can't reproduce this issue on my PC.
So, has anyone encountered this issue before? Is there...
.fxc file is used in DX 11 mode of Fusion 2.5+.
...And it would be great if we can open Global event editor/Frame event editor/Behavior event editor at the same time.
Floor(( 2.7183 pow ( -1 * ( ( Value - 47 ) pow 2 ) ) ))
I'm already in the beta channel, thanks!
A small spelling issue X)
Hello Yves, when will this build available on steam?
Made an extension to auto calculate this.
please check the mfa.
I set the font size to 20 in string object's properties, then write an event to set font size to 20, then build the application.
Many fusion titles have unencrypted folder with resource files, it's better if fusion can auto pack these assets like unity or other engines do.
If you disable the DPI scaling in application's properties, the result will always be 100.
Windows defender begins to think my game is a Trojan:Win32/Fuery.C!cl just a few minutes ago.
For-each loop runs by the reverse of creation order of objects, and sometime this may cause weird bugs, e.g. save and load once by For-each loop will reverse the order.
If you want to control loop...
Oh yeah, shaders, me stupid X)
Thanks for your reply X) !
Sub application doesn't work with fullscreen without manually coordinate adjustment, and if you want to move it you need to turn of VSync in order to avoid tearing.
How to show a part of a picture by Picture/Active Picture object or other objects in fusion?
If you show a picture by Picture obj and set "picture resize" to fast or resample, fusion will scratch...
Updates added to the items which you have purchased.
IIRC CEM can only update e-install extensions.
Maybe you can check this :
Simply just edit the lang code to Russian and modify the localization string following in general section.
As now we can set flag by expression, will it be possible to compare to one of the flags as alterable values do in the future? This will slightly improve the efficiency, especially when you need to...
Hello, I don't know if this is a bug. if you open "Find all...", keep the "Find what:" editbox blank, then click "OK" to start search, fusion will not be able to open this dialogbox again untill you...
The new feature "Set Flag by Expression action" is great, but now it won't show the flag's name as other flag operations, which makes it unreadable and unsearchable.
Could please add it in next...
IIRC if the object you deleted has a "create" event, then fusion won't show the warning message.
And you can check here in regedit :
IIRC Fusion uses 65536*B+256*G+R for RGB coef, and there is a "get rgb" expression in special object.
You need to set the effect parameter during runtime also.
BTW, you don't need a shader if I got you correctly, just use "Set RGB coefficient" in the effect popup.
Yes, but you need to add it to your account and verify on discord to get the permission.
If you mean looki's Photoshop shaders, the answer is "Yes".
Maybe not came out with 2.5+ in April 2019, but now they are all updated to DX11
Or have regularly update of Looki's tiled map obj.
IIRC Edrt and Edrtex are fusion’s runtime. When you hit F5, F7 or F8 to run your game in fusion, fusion will build your game to a temp folder then run it with edrt or edrtex.
I also encountered...
Works fine here, 292.22, Dev 2.5+.
Maybe you changed animation of a qualifier, and missed some obj...
Hi, Sorry to bother.
Seems that 9Slice Object only update it's coordinate in the "Handle Object" routine. So if you change the size, then retrieve it's position in the same event...
Maybe you can try asking directly on discord for previous or dev version from staff if you really need it.
So this maybe something on microsoft.
Maybe an issue of DPI scaling. I also encountered this after updated to 2004 a few days ago, but every thing works fine in 1909 before.
Yes. For-Each loop often fires after all actions in the same event are executed.
You can check the "Scoping and forEach loops" section in the link I posted above, where volnaiskra explained this....
Maybe something about scoping.
Please post your mfa......
Keep calm and use Fusion (2.5 or plus)
Maybe you can use Active Picture as an alternative.
IIRC "New Picture" Action can directly download pics from urls.
Maybe a scope issue or something else.
Please post your .mfa then we can help you further
Nope, I didn't purchase it on CilckStore
Maybe you attached the wrong file in .Zip :( :
I'm using the shader you provided in the .zip file, and obviously is not your custom version according to your video cause the shader's parameters are not the same.
Yes, you can check the video:
Weird, seems that every thing works fine here :
May be you can click the refresh button and edit the...
float4 bkcol = bkd.Sample(bkdSampler,In.texcoord);
float4 O = texture_img.Sample(texture_imgSampler,txcol);
In addition, you forget to attach mfa in the .Zip file , so I can't...
Hi, sorry to bother, seems that return "Display Mode" via expression will crash fusion.
It would be great if we can pin some objects to the object selector, e.g. value holders.
You can toggle event list mode even in global events and behaviors if you purchased :cf25+:
Because Microsoft has three DPI settings : HIGHDPIWARE/DPIUNWARE/GDIDIPSCALING DPIUNWARE
I want to let players change their settings by change game's config.
When you run your .mfa in fusion, fusion will build your app to a temporary file and run it with edrt.exe (or edrtex.exe in 2.5+)
This file is located at
Clickteam Fusion 2.5\Data\Runtime\Unicode
Works fine here with these events :
You can check the help file of fusion.
Keyword : immediate condition
That's because click condition will scope objects.
In line 7, your active (with qualifier Group.Good)...
Seems nothing goes wrong here.
Could you please explain it further?
that's because fusion will scope both objects in overlap/collision conditions.
A simple way to solve this is add a "pick one at random" after overlap condition.
Hi, I have replied by PM, please check your inbox.
Remove all 2.5+ features, e.g. Child events.
Issue "Create new objet invisible if too far from visible area" remain unfixed here in Version 1.0.1
IIRC "Include External Files" only auto pack files listed in there :
Maybe you need to use binary file, extract and release your rtf files manually.
Thanks for your reply, me stupid, I thought there should be an individual expression like picture object does.
Two little issues:
1. Object created by events is invisible if too far from visible area.
2. Object located at a wrong position, whether enabled "Always center hotspot" or not.
Thanks ! Found it in expression dialogbox→Misc.
( So, is it possible to put Misc. expressions into special object expressions ? )
Just found that fusion has built in log/ln/e^x but no x^y ( in Special object→calculation→). Seems that custom fastloop is the only compute method in current version.
So why we don't have built-in...
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...