How many objects do you have out of interest?
And how many objects till you get frame drops?
Type: Posts; User: fnkycoldmadeanr; Keyword(s):
How many objects do you have out of interest?
And how many objects till you get frame drops?
Expensive if used every tick
Optimised if used sparingly
To activate with a value change the loop name to
on loop “Group ” + Str(global value)
I’ve read activating/deactivating groups is expensive
Activate group by expression
Workaround is to put it in a loop then call loop through expression
on loop deactivate mygroup
Did you check the examples folder?
Uses absolute coordinates in surface properties.
Try the heat haze Shader
You could also try a flag shader
It’s been ported to HTML5 by xenon3000 but some of the blitting functions don’t work correctly pretty sure he was going to do an android version but maybe he changed his mind
I think most users use a scaled active or surface object for drawing lines
or you can try Advanced Line object http://dark-wire.com/storage/extlist.php
It's DX11 untick pre-multiplied or change to DX9
Turn collisions on in the primative's properties
Have you tried the blit effects?..
Another solution could be to also use the move safely object which flags collisions.
Easing object only repositions your active object.
All good fixed with Window Control Object
* Mouse pointer is over object
Window Control Object : Set Focus
Mouse wheel up/down not detected in sub-app can this be fixed or do I need to implement a work around?
Apologies if I posted in the wrong thread.
Not multiple but previous or next frame Volnaiskra
Alterable Values etc for strings and counters were Added in Clickteam Fusion Plus there is a checkbox in properties
Onion skinning is already in the animation editor click the arrows near the bottom scroll bar
You should add UWP to your passport seep
You have actually started 2 out of the top 3 threads, nice work
Shouldn’t be too much hassle DM me on discord and I’ll give you a hand if you like
Thanks zetcom Great Example
I did end up working this out with Uppernates help
Though I was trying to draw a 2d icon in 3d space
(my code could be improved)
Custom Cylinder Billboard
The old drivers might not be installed on newer cards I think you can manually install them
Or just update the shaders to DX11
What shaders Are you using that aren’t converted to DX11
What directX are you using?
I'm punching in the dark as I have an old AMD GPU atm
Only when my card died.
Try changing your settings in the Nvidia control panel
or sync/buffer settiings in fusion
Does anyone know how to Always orientate a plane/primitive towards the camera in 3 axis
Or have an example?
Try this Vol.
You can change it menu>grid setup iirc.
Personally I think it is much better and it is more performant.
If you change the colour to something like a light grey it won’t be as intense.
Nice work Yves
I like these in particular
- All runtimes: new Set Flag by Expression action. (Awesome)
Cone rotate to Target Y and Z are also Bugged
Don’t have an example
Though iirc you need a 2nd camera then render to a surface then to a material attached to a plane
Check the fast and fusion or click theft auto examples on reactor I think...
Seems like a divide by zero error ASD
Also you can use the condition
is object stopped?
negate it for is object moving
Awesome work Gigatron
Clickteam should hire you to do their documentation Volnaiskra
It would take me days to type all that up.
It’s crazy that this thread is nearly at 1.2 million views
Seems as though I made an assumption about driver updates Last Xinput update i could find was 2015
I'm sure I've seen Yves post about a couple of updates
I downloaded the performance test MFA and...
I think the effect you want is to smooth your scrolling
Help file > Physics - Things to know
"Moving objects seem to collide far from background objects
This problem might occur if your object has a concave shape. Box2D does not accept concave shapes....
I’d like to see JimJam ‘s tests run again since the objects & drivers have been updated and a lot of the issues are now redundant.
Help file keywords > Movements, Physics, Shapes and Collisions
"Shapes and collisions
A crucial part of a physical engine is collisions. The engine must detect when two objects collide with...
Read the help file it explains how it works
Is Russian right to left? Or left to right?.. (left to right, googled it)
Not sure if it’s something to do with this maybe it’s a bug..
Random(100000) * 0.0001
Are you using compare two general values or comparing the alterable value on the actual object?
Very similar conditions but Comparing two general values does not scope
Run a for each loop
So far i’ve only implemented one player but I can do some tests to see if you can just run a second object
I made a simple xbox controller widget its on the clickstore
It has 4, 8, 16, 32 Direction & 360° Joysticks & 8, 32, 360° Directional Pad
You can test the HTML5 version ...
You could try change the sampler state
Active Object > Properties > Display Options > Transparency Checkbox no longer works in DX9
Works correctly in standard and DX11
Not sure why this is definitely no mistakes in your code?.. What if you add another html5 object?..
This has already been added in the XML
Nevermind! it's working again
For some reason I'm unable to drop MFAs into fusion anymore. Not sure if I changed my permission settings or something. has anyone else had this issue?
Why don’t my numbers, like 0.1 + 0.2 add up to a nice round 0.3, and instead I get a weird result like 0.30000000000000004?
2.5+ Help File
The font API used in the DirectX 11 runtime works with the TTF file(s) of the font(s) used in the application. It has several differences with the other Windows runtimes:
Can you get it to sample the canvas and overlay it?..
Can we get a little UI update on the effect editor please Yves I made a little mockup.
Bigger preview window, vertical scrolling etc.
Also Hotkeys would be handy for Apply, Save As, Close.
AFAIK fusion doesn’t keep the names at runtime. Not sure if it is possible to create an extension that can save all the names at edit time to an array so you could access them at runtime. Most likely...
Kernel object : Select window from class name "Mf2MainClassTh"
Get and Set Window : Set foreground window to title: getWindowTitle$( "Kernel object" ), class: "Mf2MainClassTh"
Try Select window from class name "Mf2MainClassTh"
Bring to top
Get and Set Window Object can return the window class or handle - GetForegroundWindowClass$( "Get and Set Window" )
Yves might be able to answer why fusion is doing that.. but you should be able to...
Here's an example using the kernel object Volnaiskra
Also the new "send text to output window" ctf2.5+ feature is very useful.
I also suggested Set flags via expression a while ago Fuuriokun
here's a work around using a loop you could add child events to it
setting flags via expression mfa
Try it out
Here it is working in the edge browser on Xbox one
Get it on itch.io
waiting for moderation on clickstore
Normalised values for easy scaling
I feel like we need to create a checklist as I had this issue because I had
more than 26 named Alterable Values
This looks great SolarB
28433 Yves script bug
Update it’s a script issue the fonts retain the script type from the font chosen at edit time
Not sure how to change the script type at runtime
Yeah strange bug
I selected a TrueType font at edit time then all the fonts worked
In the active system box font dialog you can click show more fonts>view details
Is this the same in all browsers?
Na, I just wanted to run different code depending on the type of file loading/parsing.
my work around was to call a loop via expression that points to the required group.
I usually do everything...
Cant wait to get my hands on this Xenon! Give it to me!!!! >:D
Not sure how much help I’ll be Muddy
But I was thinking you might be able to simplify things a bit
Have you been using desmos?
Also this video is a pretty good watch
3:40:00 ish I...
Feature Request: Activate/Deactivate Groups > Use Expression
edit: Actually I can achieve what I want using loops using loops
hotspot is the point that your object orientates around.
action point is where you launch bullets from etc..
An isometric grid would be nice option aswell if it is not too difficult to add
Yeah They only work at 100% And only update when you move an object
They also erase if you scroll the work area
I’m still using Windows 7 I’m due for a new pc
Update: Unfortunately this won't work due to the shader running off the top left corner of the work space coordinates meaning the grid wont align.
I’m planning to make some Grid shaders for this exact issue Volnaiskra
How's this? I was watching data scraping tutorials using google sheets just the other day.
Ensure you are not using compare two general values as it does not scope objects
I have made a Html5 Gamepad extension I will put it on the Clickstore soon
I will also create a full screen one though they only work with user interaction due to Some browsers not allowing code to...
The auto animations have been around since the Klik & Play days surely it says something in the help file.
It’s probably best practice to only use the built-in animations with the built in movements...
you could try put the values in a list starting from 99999 and subtract from the value then use the string tokeniser to split the value from the id if that makes sense
99999, fixed value
Alterable values for strings and counters <3
Also event sheet ordering :)
Also use the clickteam movement object with the drag and drop built in movement
I think what you’re trying to do is already possible JohnArtbox
Do you mean choose alterable value using expression?..
If your objects are next to each other you can just drag the folder bracket (When Folder expanded) instead of dragging them one by one.
As for ordering objects you could use a well organised...
The combo box is a windows control so it will always be on top you will either Have to hide the combo box or use a sub-app
(Windows Only). The way you are doing it may have different results on...
Hopefully Clickteam will implement shader support for other platforms soon and it will be achievable using shaders
Some more useful special characters
I downloaded the Mac version Segoe MDL2 Assets font that you linked and I'm still using windows 7 so there is probably a difference there.
I guess thats a plus to using comments is that you can...
name = Segoe MDL2 Assets
Yeah some of those icons will be very useful. I've burnt hours over the last couple nights downloading new dingbat fonts and searching for useful unicode characters lol
If you change your skin...
Using Wingdings in separate comments looks good might help to break up large sections of code
Hopefully just a case of putting int around the inputs but I don't know much about cpp
Must be storing as a float in the alt value 0.0 If you convert it to an Int when reading the values from the INI it works
If you set Freds value to 0.0 in the INI without converting it will...
Would the DLL object be able to retrieve device names?..
I was going to start playing around with it but I have never used it before.
Not sure if this will help or not but it’s something I’d like to learn also.
fnkycoldmadeanr >= Impressed
Set fnkycoldmadeanr to Medium+Bounce Clap :o
Very nice Vol that rhythm system is interesting. Also you must be Officeworks no. 1 customer
It might be possible using 2 qualifiers in the same object and scoping using each qualifier their ID offset by 1 e.g parent, child
The way I'd do it though
Store the values as you are referring...
Cool Example elvisish
Profiler has some head scratching results manually converting seems faster in some cases for me
Maybe try with VolProfiler Volnaiskra
I split the events/actions up to try and get...
I didn’t save it Vol but your image is pretty much what I done except I used buttons to move the active
I will remake it and do some more tests to try and change the behaviour
Doing some tests for myself and it seems to me it is rounding towards the 0,0 position/co-ordinate
so if the object is in the minus it rounds toward 0 position
and if the object is in the plus it...
Seams like adding 0.5 might be a solution though
V Edit v
“Adding +0.5 to a negative input before turning it into an int will give the wrong answer. The correct quick-and-dirty way is to test...
Sorry that stuff in italics was just extra interesting info..
Here’s a link about the topic my understanding is that it’s a data conversion not a math function
A quick google and I’m guessing fusion uses typecasting for speed. Instead of precise math.
The other function available is round(), which takes two parameters - the number to round, and the...
I bought it only for the shiny yellow badge in the forums. :) :cf25+:
The other way is to combine the shaders into one
But you probably want to apply the monochrome to the layer in this case
In the event editor click on each object and it will show you any events attached.
Make use of folders..
In the Event editor RMB object>new folder
I organise extensions in a folder labeled...
Why not just use a flag
Or Alterable string
Oh really. Its not a big deal users can always run the search again to refresh it.
A small bug if you delete or add an action the find index is not refreshed.
Any chance of implementing Auto refresh after a change or a refresh popupmenu option.
I think a Find all shortcut...
Just tested out the Find All feature with all this positive feedback and Its a +1 from me.
I think it would be handy if it also had a Double-Click or PopUpMenu to edit action.
A replace all...
Use the string tokeniser instead of the string parser
You could maybe use groups for each case activate/deactivate
If you can definitely use extensions as they add more functionality
Also Danny advised on a similar post to steer clear of ALT as it’s...
There is a part 2 as well
You might have to watch it on pc to auto translate to english as its in Portuguese
any more advanced than this and you'll have to get...
If you RMB the background the new frame menu item does nothing.
If you RMB the icon the new frame menu item works.
The issue is in Single animation editors only
Active animation editor works fine...
:o This is interesting!
Is UWP Exporter still working on XBOX One I was of the understanding it was now retired?..
:o This is very useful information thanks Fernando
That does look good Vol I wonder if you could make your own font with custom special characters even though it would probably be a lot of effort
Looks great Darkseed
Have you tried the Advanced Comment Object Vol?
The way you suggested is probably the way I would do it Vol. Though I’d probably add their fixed IDs to a list for rescoping maybe you could use the list of numbers extension
Do you need to scope...
That is shorthand which is something i think would be very handy in fusion
basically it's referring to its self
To write in fusion
Set Alterable Value T to Alterable Value T/Alterable Value D...
Instead of putting a different letter in multiple Global Strings put the word in one Global String then use
Mid$(Global String A, frame, 1)
Line 1 Remove Repeat while left mouse key is pressed you don't need it
yeah you should definitely release on more platforms asap
Very nice work Shinbaxter! Plays like street fighter definitely worth downloading.
Thank you Yves
How do you install 2.5+ DLC on Mac?
It I get a pop up stating I can't run windows programs do I have to install Wine?
You could see if these work. I don't have windows 10
Maybe try the Surface Object to achieve this
Blit From Active Object
Blit Onto Background
This looks great Alex are you using Active system boxes and a up down control?
I was saying the same thing on Discord Volnaiskra
Yes if you enjoy using fusion and making games it is worth the money
Store the strings fixed id in one of the Actives alterable values
string fixed id = active alterable value
Search the forum for power of 2 image size
You might be able to use 2 images and the lens object/lens shader
Not sure if they are a standard image format or not
Is it possible to implement real-time shader updates/load shader at runtime and from file or string as I’ve been working on a visual shader editor for fusion 2.5 and need this feature. For the...
Here's one by Quail Studio
Not tested but someone will correct me if i'm wrong.. also maybe add on overlap snap to object for accuracy
180 - (Abs(angle1)+Abs(angle2))
Pinball movement should be perfect for this how is it buggy?..
Can you record your screen?..
But you prob won’t have to worry too much about the Max(,) depending where your hotspot is.
You may or may not have to store it in an alterable value to prevent...
It would sort of work like pathfinding I guess
Could work testing them sequencially horizontal though
Actually scrap that it would only work if they were all touching the same circle
Bit of a rough explaination how I might do it
If they are all same size circles you could compare the distance between each object
if distance is equal to diameter add fixed id to a list
Maybe try turn off gravity or reduce it
repeat while jump pressed
+ jump_press_timer < 0.5 seconds
Gravity = 0
So effective I added multiple shadows looks great! That fog looks awesome too
The natural duration of a simple tap event for mobiles should be 125 milliseconds (0.125 seconds). Anything longer than 500 milliseconds should register as a long press. However, these are the...
You may have to compare either a timer, distance or both
If touch time is equal/less than ? Milliseconds
If distance moved is less than ? Pixels
Do Touch Action
If more than
Do Drag Action
Did you uncheck create at start?..
Any actions apply to the object created in the same line as creation else you will have to store the fixed value or create an ID for it on creation.
There are some isometric examples on nivrams site. Save a link for it.
Because your active is yellow paint your block white.
also you could use these.
rgb ranges 0-255
select range of colors - GetRGB(RRandom(100, 200), RRandom(100, 200), RRandom(100, 200))
Hi Aloan great to see you got a copy of Fusion 2.5. I noticed you are a translator and I was wondering if you'd like to contribute to the community and help Matheus out by translating some of he's...
iirc you may have to set the build type to iOS?..
Red mushrooms look great!.. Looks like the color theory is paying off.
Are you using youtubes subtitle auto translate feature on PC? It's not the best but better than nothing. The videos are actually Brazilian/Portuguese very good tutorials sadly he's not making them...
I thought I wasn't too bad at photoshop but this is some next level wizardry!.. Photoshop has changed a fair bit since cs4. Would be cool to see more vids like this Vol.
Not sure probably best to watch the videos to help understand the code as there is some pretty advanced coding in them also their channel has a lot of other good tutorials..
Geez Vol just reading about what you've been upto is exhausting..
Not sure if this youtube video will be helpful but its a pretty good watch..
Applying 3D Level Design Skills (Sunset Overdrive) to...
Nice work Vol!.. looks a lot more natural..
Maybe try make it full size then resize it later if you need to it wouldn't take long to resize everything. some people make their graphics 2x to 4x as big as they need to future proof them. Or if...
Should be something like
Create object (0,0)
Set xpos Random(608) mod 32
Set ypos Random(448) mod 32
Create player * 4
spread value in alt val
Also in properties check that coins and shadows are not created at start
I have this same problem. And I just had an idea. Run a loop for all flags check if on set on else set off. Clickteam need to add set flags by expression. Set on/off/toggle is to limited..
Named flags is an awesome addition! Any chance of adding set Flags by expression in 291? instead of just set on, set off, toggle..
Yeah I reckon it looks a bit more balanced and the creature does not look crammed onto the platform if you know what I mean?..
also there is a really good video on the rayman level editor that is...
I think a mix between E and F would be good..
scrap my last post ^ it may have to do with the conversion of the values.
Nice work @MuddyMole very simple and better than what my plan was..
@Vol you may have to make the active the same size as the frame then add Sprykes xy to windowXvalue windowYvalue Or have the...
I'll try make a shader for it tomorrow after work Vol.. Just need bg offset/zoom/ and maybe a crop shader..
Hi Vol great job on the game just played through using my keyboard on my 10yr old laptop the frame rate changed on each stage see below.. only small fault I found was level 4 spryke sometimes jumps...