After deleting everything and re-following the tutorial from scratch, I can manage to debug now.
It might because files from old SDK...
Type: Posts; User: defisym; Keyword(s):
After deleting everything and re-following the tutorial from scratch, I can manage to debug now.
It might because files from old SDK...
Hi, I'm now trying to develop a 3rd Android game platform (like steam for windows) support for fusion.
After following @Fernando 's guide (unzipping RuntimeAndroid, R293), I managed to start...
You can use lagrange polynomial to get the formular if need to use more than two directions in the future.
...Or use this extension to call...
So, I misunderstood this mechanism for a long time. Create will not erase or force scope, it just add new created object to selected list.
If no object is selected, actions will affect...
...\Clickteam Fusion 2.5\Redist\Logo\
If your game is for windows you could try pathfinding object, this object has a 8-dir mode.
As we all know that when creating objects, scope will be updated for users to initialize it.
But if we create several instances of one object in one event, the scope is only updated once the first...
Thanks for your relpy ;)
GetRunObjectSurface has an issue that if shader do some crop to the texture, only the part in the visible area is affected.
e.g., a simple round rectangle shader :...
If stretch/rotate is done by software, it's quite easy to create correct collision mask, by changing rdPtr->rHo.hoImgWidth, rdPtr->rHo.hoImgHeight, etc. But this method is a bit slow with flags like...
Windows provides several functions that can return hardware information.
Maybe someone made an extension before but...
use command otf2ttf xxx.otf in terminal
need Python 2.7/3.6+
sometimes the converted font may has align issues, re-convert may...
Thanks to fnkycoldmadeanr (also thanks to Yves), I can check if a direction has animation by checking raAnimOffset struct, the offset is minus if no animation in direction....
Maybe they thought you already have the DX9 version which contains XML files, so the patch only has DX11 version...
Edit: In the case above, only dir 0 and dir 16 has animation, set direction to 8, fusion will display dir 0's animation, and I want somewhere can return 0 as real display direction, while raAnimDir...
Also, IIRC fusion itself is still DX9, so editor needs DX9 shader (.fx file) to display effect properly.
Yves said years before that DX11 editor was planned, but no one but CT knows when it will...
Fusion needs XML file to use a shader, which describes the shader name, param, etc. So you need to ask the author to get that file...
I took a brief look through SDK and structs like rAni/rCom don't have the value I need, so I hold a pessimistic view that we can't get display direction in 2.5.........
Hi all, is it possible to know if an object's direction has animation?
e.g., direction 0 and direction 4 have animation, and I want to fall back to display direction 0 when direction is setting to 2...
IIRC fusion has a built-in feature that allows you to replace objects but keeps the event:
1.Open event editor
2.Right click on the object you need to replace...
Maybe you can bother Yves and send your mfa to him, perhaps your issue will be fixed in next build.
I'm currently developing a SRPG game like fire emblem, the link below is a very early version of it (I totally re-writed it in 2018 with no legacy codes, so I open sourced the old version), full of...
DX11 only support TTF fonts, other format (e.g. .otf) will not be displayed properly and sometimes may crash fusion.
If this matches your issue you can use some tools like AFDKO...
Find all is a 2.5+ feature, which allows you to search through each corner of your project.
As I said before, fusion will automatically remove ghost objects when loading mfa, so if you still got...
IIRC ghost object is fixed in 292, although sometimes you still got one, but if you save and reopen your project fusion will automatically remove this corrupt object——or it's refered somewhere, try...
Never forget to search the forum.
Fusion doesn't has a camera like 3D engines, so it's a pain to implement such things like zoom out or split screen......
That's not 'a bit' ! Current update reduces about 60% loading time (2.5X faster) on my PC, make it much more fluent to debug under DX11.
Thank you for your hard work.
I think fonts might be the culprit, I use both SourceHanSerifCN(思源宋体 CN) and SourceHanSansCN(思源黑体 CN) in current project, stand-alone exe under DX11 is 75+mb vs 23mb under DX9:
I tried to disable both but didn't recude much loading time, fusion needs about 11~12s to load under DX11 whether I disable them or not.
Currently My spec is:
GTX 960 4G
Recently I’m trying to port my project to DX11 as the old string issue will finally be fixed. After porting all custom shaders, I switch to DX11 and press F5 to start debugging, and soon I...
Well, this is just a workaround, and you cannot compare the changes in properties or frame layout.
Still looking forward to native Git support (or built-in version control like office) that allows...
- Release Page
- Func is 40X faster than last release!
- Now it's just 5X slower than fastloop: which means you could use it anywhere you like and don't need to worry...
if I got you correctly, what you need is exactly the same as this thread:
I made this alphamono...
That's beacuse currently all data in func is stored by string, and ext will do the conversion every time when you trying to retrieve a value.
I will try to do some optimizations later this week, to...
I will try to port it next year when I have plenty time to do so...
this workaround only work with some fonts (e.g. SourceHanSans)->this workaround only work with some fonts (e.g. not work with SourceHanSans)
sorry for the typo.
this workaround only work with some fonts (e.g. SourceHanSans)
as DX11 runtime works differently↓
Did some optimization, now Func is just 7X~8X slower than fastloop (run 100,000 times).
this is an old issue since the first day of the release of DX 11 runtime
Return a blank string when retrieving return value from a nested expression in func's action (while you can get it's return value properly if store it with an alterable value)
This object allows you to call functions via expression or action, make it...
Thanks! problem fixed here, this make it very handy to do some quick calculations!
I'm now using the steam beta version, R293.8. After a bit research I managed to reproduce it:
1. create a new "Test" mfa, insert an active to frame.
2. drag an active ("char-1001") from another...
If "Destroy Object if too far from frame" is checked (sadly it's checked by default when insert a new active object), load animation action will have no effect
Thanks for the greate update. But unfortunately there still has some annoying issues:
Actually this issus is not completely fixed, if you use NewLine$ to append a string (e.g. " ...
IIRC there is an action that allows you to set loopindex.
Hi all, I'm now trying to make my own function object (link to the repo).
Ideally I want to get return values directly from an expression, so I need to call an event via expression.
new UI -> actually I like W10 style tiles more
built-in fancy zones -> you can install powertoys on Win10 as an alternative (not as easy as W11 (hover mouse on maxmium button) dose, you need to...
You need to mul 1.0 to get float, e.g. (1.0*R)/255*100 or (R/255.0)*100
IIRC F2 is defined in menu, if you delete this item it will has no effect.
You mean you want to convert hex?
Fusion’s built in val function can convert hex string (start with 0x) to dec. then you need to do some math to get separate RGB, e.g. val(“0xFFFFFF”) = 16777215, R...
Maybe you an use a string to display numbers and do calculations manually (like A+B problems)
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.