IIRC fusion uses two hwnd to display, one in rdPtr->rHo.hoAdRunHeader->rhHMainWin is the main window, another in rdPtr->rHo.hoAdRunHeader->rhHEditWin is the frame area. maybe you can use Windows API...
Type: Posts; User: defisym; Keyword(s):
IIRC fusion uses two hwnd to display, one in rdPtr->rHo.hoAdRunHeader->rhHMainWin is the main window, another in rdPtr->rHo.hoAdRunHeader->rhHEditWin is the frame area. maybe you can use Windows API...
Alpha : Alpha of mono effect, set it to 255 = no mono, 0 = mono, 1~254 = semi-mono.
BG : if BG is checked, mono effect will affect the background of object instead of object itself.
Made a shader for you.
1. Could we get a hint of the comment which is above the "on loop/on each/on timer" condition when mouse hover on a "start loop/start loop for-each/fire event" action? (like you hover on a function...
All tests are done in 720P on my seven-year-old E3-1231+GTX960 PC, Windows 10 21H1
For realtime blur, you can use gaussian blur shader (DX11 ONLY)...
Sorry for digging this up.
Although this issue has been fixed, but if I set a string's alterable string to " "+"Text"+NewLine$+" "+"Text", the spaces inside the first set of ""...
Turn on premulitipled alpha maybe could solve this, at least it works for me.
Thanks, but in this case the culprit is not "Destroy if too far from frame".
After re-reading simple picture's code and comparing to my code line by line carefully, I found that I forgot to update...
the newest version of EXTENSION. IIRC there is a bug when getting frame scale Y. I will post it here, hope it will solve your issue.
Make sure you are using the newest version.
I can't do everything for you, you cannot make anything by just copy-pasting someone's code.
It's quite easy to implement this: save the old...
Hi all, I'm trying to display something by extension, but I encountered a strange issue:
DisplayRunObject routine will not be called when object left visible frame from left/top border (I put a...
well, it's not a virus actually.
MMF use dlls as extensions (rename it to .mfx), some anti-virus software, expecially 360/Tencent will delete these files silently without user's permission, which is...
Here follows the example:
The easest way to implement this is uncheck the "Timer-based movements" in frame properties and set frame rate to a value lower than 60 (by default)...
You are using sub applications. This object won't zoom and change position relative to window size, you need to check on this in properties:...
Still got the same issue without UFS......
Even click the maximize button also might trigger it.
Thx, many appareciate.
I have never look into fusion's built-in fullscreen functions as someone who uses MMF since 2000s introduced me to UFS the first day I met fusion years ago.
Sorry for digging this up.
Just got some time to read and debug the source code of ultimate full screen. I thought this bug may because UFS calculates the rect area incorrectly before, but after...
We already have one made by looki named “Tile Map & Tile Map viewport”, you can download it from darkwire, not sure if it is uploaded to the extension manager.
This extension works with tiled, but...
Sorry for confusing you, I was away from computer yesterdayX).
Copy the event.
Note: Copy the full event, not only the condition or action. Fusion refuses to paste single...
IIRC If you purchased 2.5+ you can paste events to text, just simply paste events with alterable values to text and then search what you pasted.
Actually CT should add expression support to there actions/conditions that only accept real value, e.g. creation you mentioned, or test objects in zone.
For the first one, as scope will be updated...
IIRC find all in 2.5+ does not support expressions like regular expression and wildcard (Maybe you can ask CT to add it in the next update), but there is always an alternative:
You can search...
Chris Branch & Jack Webster's chart object I assume...
Could you please attach the mfa here so we can check it for you.
Still here on my PC. Maybe you can try to reset the toolbars by holding SHIFT+CTRL when launch fusion.
In the runtime options tab of application properties, please check the pic below:
According to the msgbox, seems that you need to switch to standrad runtime to use this extension.
Just noticed that Fusion now use 192x192 icons on android (if I didn't misunderstand it.), but the explanation string in application properties didn't update yet (still 96x96, while the default...
Sorry for the double post.
Just noticed this new feature in R293.2, maybe I misunderstood something, does this mean that we can change group's activation state directly from action editor instead of...
Got it, thanks for the explanation. I will switch to space instead of tab to align texts.
Black box disappears after I enable the premultiplied alpha option.
After a bit research I found the reason. It seems that DX11 runtime doesn't do type conversion like DX9 does. So when int type in hlsl file gets the value fusion passes as float type defined in XML...
I'm now making a custom version of looki's PixelOutline shader, as it couldn't process blend coef correctly(see pics below)...
Good to know this issue has been fixed, but other blank character, like Tab, is still ignored:
IIRC you can’t flash white by changing rgb coef, maybe you need to write a shader as alternative.
Simon said this was planned (at least he had made the proposal) on discord two years ago, but unfortunately the current answer is "no", but AFAIK you can put these events to a global...
IIRC there is a save object, which will dump memory when saving and restore it when loading.
Besides you also can use the built in “save frame position” feature, but this may not work with some...
BTW, when you undo in event list editor, and your focus is not at the line that going to be undid, fusion won't scroll to there, make it uneasy to know which one is undid when you editing multiple...
IIRC there is a Hue shader, don't sure if it is included by default, maybe you need to search the forum to get it.
I never used it before so I don't know if it has been converted to DX11, maybe you...
A friend of mine sent me a parody demo of mario, which contain a error that will crash fusion when running inside it with edrt.exe.
As the new user registrations and passport verfication are...
Clickteam is moving to the new forum system since FEB 2021, and due to some reason of cloud service provider this still remains undone until today.
So CT reopen the forum but register and passport...
Please take time to check this, thank you for your time.
IIRC if your UI don't have transparent elements you can use sub-application with windows transparent extension. Although you still need to copy and paste sub to all frames, this method makes it a bit...
Some character like space and tab in the beginning of the string will be ignored when running application under DX11, make it impossible to align texts, e.g. indent the first line by two characters....
Thanks for your reply, good to know this, now I'm up-to-date.:)
Maybe this old thread needs to be updated also, as it may mislead someone else ↓...
I recently moved my extension project to my laptop, everything works fine while building, but I get an error message "The ordinal 58 could not be located in the dynamic link library...
IIRC you can use the bgblur shader in looki’s shader pack.
I think this might be a bug, Fernando please check this.
You can build your own save/load system with ini object or array object, just simply run a for-each loop to traverse through the objects and then save the alterable values that need to save (or you...
Save Background is only available in standard runtime, while now the default runtime of fusion is D3D
Still looking for an avaliable solution...
The dot only shows the fullscreen settings in the ini file, and the file only be updated when user switches fullscreen state. E.g. last time I ran the game, set it to fullscreen mode(ini file updated...
Thanks for your reply, but excuse me what do you mean by "Fixed Screen mode"? Is it a property that I can change it in fusion?
Even if I disable all events except the codes about fullscreen...
I still can reproduce this issue even after I remove steamworks and surface:
If I switch to fullscreen via ultimate fullscreen object(https://community.clickteam.com/threads/65280-Ultimate-Fullscreen), application has a certain probability to freeze with a tear...
I have send one of my players a special version with Phi's debug object, and this is what that object recorded when application crashed, hope it helps to locate the issue.
1 -1 18:49:34 *** Log...
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...