Git Product home page Git Product logo

openfusionexamples's Introduction

ReadMe

Introduction

This is a Repo of several open source stuff about Clickteam Fusion.

How to Contribute

If you have something good and want to share, just simply fork this repo, then put files in a folder named by your works, place this folder by it's type, e.g. shaders in shaders folder, add a explanation to this file (ReadMe.md, alphabetically), and feel free to send a PR.

Star History

Star History Chart

Catalogue

Extensions

Extension

Name Author Platform Released CEM Description
AndroidUtilities Defisym Android Y N some features for android like extract binary files, etc
Clipboard Defisym Windows N N small tool that can save / load fusion clipboard contents
Deque2D Defisym Windows N N A modern version of MagicDeque based on std::variant
EffectUtilities Defisym Windows N N let you control shaders more efficiency, like cache texture params
Encrypter Defisym Windows Y N En/decrypt file with WinAPI CNG. You can Encrypt file here and then read them by other extensions I made, e.g. Fini/StringSplitter
EpicOnlineServices Defisym Windows N N Achievements and stats for Epic Game Store
FFMpeg Defisym Windows Y Y bring the legendary player to fusion, with several handy A/C/Es like blit current video frame, etc
FindTheWay Defisym Windows, Android Y N A* Path Find, open source, 5X faster than Path Finding Object, all runtime compatible (currently available on windows & android).
Fini Defisym Windows Y Y based on brofield's brilliant work simpleini, is a faster ini ext for fusion.
Func Defisym Windows Y N Call Functions via Expression or Action
NeoPic Defisym Windows N N Another active picture, but with encrypt support, all object shares a lib that over frame, significantly reduce load time
NeoStr Defisym Windows N N Powerful string extension with format control support
RandomTable Defisym Windows Y N Generate a random table like Fire Emblem, save/load by base64 string, for my own game.
SDL_Mixer Defisym Windows Y Y Audio player based on SDL Mixer X, with unlimited channel & encrypt support
SteamworksAPI Defisym Windows N N alternative steamworks API object with modern feature, compatible (possibly) with current steamworks object
String Splitter Defisym Windows N N This object is a string splitter base on C++ regex.
WinAPI Defisym Windows Y N a bunch of small functions.

Lib

Name Author Description
_3rdLib Defisym something that used to work with or modified from 3rd lib
_DeLib Defisym several functions that my extensions share
_Template Defisym Ext template, but with something custom

Utilities

Name Author Description
_BuildAll Defisym Python script to build all extensions
_Script Defisym Publish multi-platform extensions by one click

Shaders

Name Author Description
AlphaMono Defisym make semi-mono effect
Compression Defisym Simulate Compression effect
DotMatrix Defisym Simple dot matrix effect
Gauss Blur Defisym Finally here comes the gauss blur shader for DX11, GaussBlur2D is very slow, use GaussBlur instead, or two GaussBlur1D for X/Y blur
Heatwave Defisym Create heatwave effect
Pattern Fade Defisym make gorgeous transition effects
Ring Health Bar Defisym simple health bar
Round Health Bar Defisym simple health bar again
Round Rectangle Defisym draw a round rectangle

Tools

Name Author Description
NeoStr Dialog Editor Cnohares a Dialog Editor with many NeoStr format functions, just as Fonts,Size,Color,Shake and so on. You can use it to edit dialog more easily. Notice that it's only have Chinese comments now.
CallofAS Toolbar Cnohares a handy tool bar set
DX11 Shader Compile Tool Defisym compile DX11 shaders by a simple drag
FusionClipboard Defisym small tool that can save / load fusion clipboard contents
JDK Terminator Defisym Fusion will use JDK to build Android applications, but unfortunately, sometimes JDK process will not terminate correctly even you quit fusion. If you are using steam version, steam will think fusion is still running and refuse to restart fusion or steam itself, unless you terminate the process manually in task manager, which is annoying. This script can help you terminate it with a single click.

Examples

Name Author Description
BinaryExtract Defisym Extract binary file to any folder you want
Blank Char Defisym blank char used for align to git rid of DX11 string limit
Bullet Time Defisym A simple bullet time example
DecimalVerdict Defisym To check if a value has decimals
DirNormalization Defisym convert fusion directions (0 ~ 31) to 4Dir (0 ~ 3)
EasyBezier_v2 Cnohares A WYSIWYG Bezier example. You can modify points and see the curve result directly, and move object with easing effect.
EasyStack Defisym Push/Pop value without extension
Ellipse Defisym move like a ellipse
FastloopSave Defisym Save by Fastloop, could be easily extended to fit any systems
Flow Defisym a common error of beginners about flow control, like esc open/close menu but only one side can be triggered
IniControlInit Defisym How to init a ini file
MouseState Defisym to show if LMB/RMB is pushed down
PauseWithTextBox Defisym pause app with an explanation
Regex_IsNum Defisym check if a string is number by using string splitter
Shotgun Defisym Simple Shotgun
StringScan Defisym Search the string and excerpt text in ()
Stupid Drag Defisym Drag to move camera
Stupid HeatWave Defisym simple heatwave effect
Stupid SRPG Defisym a SRPG example like Fire Emblem I wrote in 2017. it's totally a mess of spaghetti code, but it's enough for a start.
SubStretch Defisym Stretch Sub-application properly with WinAPI

Tutorials

Some mfa files used for Fusion tutorials in my blog.

openfusionexamples's People

Contributors

cnohares avatar defisym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

openfusionexamples's Issues

NeoPic: Memory leak/crash with preload

Type of issue
Extension bug

Describe the bug
NeoPic's "Set preload path" action causes memory leaks or crashes on application restart

To Reproduce
Steps to reproduce the behavior:

  1. Add a NeoPic (Lib) object.
  2. Add a "Start of Frame: Set preload path" action to a folder with image files
  3. Restart the application after preload completes.
  4. Repeating 3 will make memory usage (see debugger) grow infinitely and can cause crashes.

Additional context
Hi, appreciate your work as always! I'm debugging a number of crashes in my game, one of which I traced back to the NeoPic object. I'm preloading a lot of images in folders, and sometimes the game crashes at the start of the frame. While investigating this, I found out that restarting the application causes NeoPic's preload action to use more memory, and repeatedly doing so can cause a memory leak. I've put together a simple test that crashes within a few seconds on my machine. Sometimes it takes multiple attempts, but it does crash frequently.
crash.zip

I'm not sure if the crash is specifically tied to restarting because I've had crashes from the first attempt as well, but this is the first one I've been able to reproduce more or less consistently.

NeoPic negative zoom not working or crashing

Type of issue
Extension bug

Describe the bug
Setting negative scale in the NeoPic object does not work reliably after using the Load From File action more than once. Sometimes setting negative scale causes application crashes. When the crash occurs, garbage data written to Origin Size and Current Size can sometimes be seen in the debugger.

To Reproduce
Example MFA attached: it loads the same file every 00''-30 and tries to flip the image horizontally by setting X scale to -1.

Expected behavior
Sprite flipped horizontally

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11 22H2

Additional context
Hi, it's me again! Thank you for implementing the features I requested earlier. I've been building a character animation system using NeoPic, and I have run into an issue that I think could be a bug. I have reduced the code to a single event that doesn't work reliably and can sometimes cause crashes. I would appreciate your help in resolving this issue. Here's a test MFA:
crashtest.zip

Thank you for your time.

Feature requests for the NeoPic object

Thank you for all the excellent work on this repo, and for the NeoPic object which I found of great use in my projects. I'd like to ask if you would consider implementing two features in the NeoPic extension that would be useful for background and animation systems built on this object.

Describe the solution you'd like

  1. "Flip horizontally" and "Flip vertically" flags that can be toggled via an action. When the flag is on, the object's display surface is flipped horizontally and/or vertically until the flag is cleared. This would be helpful for character animations in side-scrolling games.
  2. An action similar to "Display > Transform > Stretch" but the image would be repeated rather than stretched, like in Quick Backdrop's Motif mode. This would be helpful for tiling backgrounds.

Describe alternatives you've considered

  1. Flipping can be done via a shader but having a built-in option would free up the shader to be used for other effects on the object. H+V flipping can be done by rotating by 180 degrees, but this does not allow to flip just horizontally or just vertically.
  2. Tiling can be done by making multiple instances of the object with the same image, or by loading an already tiled large image into the object. A built-in option would allow for cleaner implementation.

It would be great if you could consider these for a new update. Thanks a lot!

FFMpeg Bugs

was playing and found bugs

  • WEBM files do not load
  • some mp4 videos do not work some does
  • Set Poistion is odd. quickly setting positions freezes the video
  • 1080 example is needing another extension for it to be open properly.
  • high resolution and large mp4 files freezes

NeoPic: PNG transparent color treated as solid in some cases

Hi again! I found this small issue loading animations from PNG files exported from Fusion and thought it might be a bug. Here are the PNG files I'm trying to load:
jump.zip

Type of issue
Extension bug

Describe the bug
Some PNG files with a background transparent color load with a solid background. This can happen with files exported from Fusion's Picture Editor.

To Reproduce
Steps to reproduce the behavior:

  1. In Fusion's Picture Editor, create an image with a transparent background (do not create the alpha channel).
  2. Export the image as PNG.
  3. Load the image in NeoPic.
  4. Instead of being transparent, the background is colored as the color that was supposed to be transparent.

Expected behavior
Transparent background when the file is loaded.

Screenshots
image

Left: PNG file loaded ingame; right: same PNG file opened in Paint.net

Desktop (please complete the following information):

  • OS: Windows 11 22H2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.