Firefly Level Editor from scratch

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • FireflyLevel Editor from scratch

    I saw the LVL editor and was inspired to do the same. But where do I start, I have some wishes regarding how to program it.

    I have made a small version of it, the length of which is not optimal to build on.

    I will do it with ini and subs and global values.


    I am about to start an editor made in fusion firefly dlc and I found some errors while doing it.

    Billboard (cannot find fixed value via mouse pick)

    When you create a primitive object you can only choose 4 items, whereas you can choose 6-8 outside.


    Here is small version if you want to check it out!
    Please login to see this link. Search for Firefly Level Editor

    Please login to see this media element.

    Here Im finish with the Primitive Object, Build a room...

    Fusion 2.5 - Examples
    Go toPlease login to see this link.

    Edited 4 times, last by warlords: new link (October 25, 2023 at 2:25 AM).

  • Billboard (cannot find fixed value via mouse pick)
    Billboard (cannot find find spread value)

    There is no contact with Billboard object if you wish to make a level editor in firefly?

    Fusion 2.5 - Examples
    Go toPlease login to see this link.

  • fnkycoldmadeanr do you know how you do that?

    1. Should I use Fixed value or Spread Value?
    2. When I pick or click on Primitive , how can Billboard parent to that?
    3. Also load in right order?

    Fusion 2.5 - Examples
    Go toPlease login to see this link.

    Edited 2 times, last by warlords: remove links (October 25, 2023 at 2:27 AM).

  • Thanks fnkycoldmadeanr

    I have an idea how this works for parenting. Actuelly you have an primitive and billboard joined to it. I work now with ini and found this way very hard to code, I think I gave up here. too complex for me.

    Sencond I have try something. I finish up the primitive version with a new design too.

    Please login to see this link.

    mesh object didnt work with loops with load image and obj. If I use always I can see the object`?

    Fusion 2.5 - Examples
    Go toPlease login to see this link.

  • * Repeat Val(GroupItemString$( "Ini", "meshnumber", "number" )) times
    + Every 01''-00
    Mesh Material Cache : Load Material 0's First Texture from Appdrive$ + GroupItemString$( "Ini", "mesh" + Str$(value( "test" )), "texture" ) (using Fixed( "Firefly Engine" ))
    Firefly Node - Static Mesh : Load Static Mesh: Appdrive$ + GroupItemString$( "Ini", "mesh" + Str$(value( "test" )), "3d" ), ZUP= 0
    test : Add 1 to Counter
    Firefly Node - Static Mesh : Load Material GetMaterial( "Mesh Material Cache", 0 ) into index 0

    Im trying to load image and obj tru an loop. But real loop do not work here, to fast. I have 5 items and wanted to load top.obj in 0 and tree.obj in 1!?

    Right now all item change together...

    Fusion 2.5 - Examples
    Go toPlease login to see this link.

  • Hello Please login to see this link.

    Do you know how to parent in multiple objects. I save into ini. Load back from ini into a loop. I can place the balls (primitive) but I need to parent via a loop?

    Fusion 2.5 - Examples
    Go toPlease login to see this link.

  • * On loop "loop primitive"
    + GroupItemString$( "Ini", "cube" + Str$(LoopIndex("loop primitive")), "hide" ) = "1"
    + Only one action when event loops
    Primitive : Set visibility to 0


    Hi I trying to hide primitive via the code above! But all primitive will be hidden! How can I pick only that one primitive to be in hide mode, only?

    Fusion 2.5 - Examples
    Go toPlease login to see this link.

  • How can I pick only that one primitive to be in hide mode, only?

    You didn't pick a primitive object by alt value in that event's conditions, or create one before in its actions, so it's selecting all of them.

    Also, don't use "only one action while event loops" like that. It's meant for when you have a repeating thing but you want only one response (e.g. converting "key is down" to "key pressed" behaviour), it's not suitable in a loop.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Yes Phi I understand it now. Also the loop thing.

    I use pick mouse on primitive and pick mouse on primitive 2, will they conflict? it seems that I get diffrent fixed values, im not sure!

    Should I get one pick mouse to all things? (qualify groups)

    Fusion 2.5 - Examples
    Go toPlease login to see this link.

  • Hello Please login to see this link.

    Do you know how to parent in multiple objects. I save into ini. Load back from ini into a loop. I can place the balls (primitive) but I need to parent via a loop?

    ini is prob not best suited for this you'd prob want a tree data structure maybe tree control or json object. you can open a tree controll save file in notepad to see how it saves

    create parent>loop through and create children> set abs positions> set parent

  • Please login to see this link.

    Please login to see this link.

    I was trying the tree object, but someting I cant do, check dropbox file - tree map. I have a problem here to get values of many objects, multiple objects, how can I get values right?

    I know ini is slow with listbox, but that's the only thing that work for me right now.

    Fusion 2.5 - Examples
    Go toPlease login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!