Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord
    1. Home
    2. Coding
    3. Functions
    Log in to post

    Functions

    • pianofire

      Approved User Defined Functions
      • pianofire  

      1
      6
      Votes
      1
      Posts
      316
      Views

      No one has replied

    • Dave

      Submissions - Post your handy Functions here!
      • Dave  

      10
      4
      Votes
      10
      Posts
      414
      Views

      JMM161437

      Popout Text effect! This function is completely graphical and makes text pop out a little. ID: 913UK3MNDSL Example is provided with the program showcasing the effect!
    • Dave

      centreShadowText: Draw centred text with a drop shadow
      • Dave  

      4
      4
      Votes
      4
      Posts
      196
      Views

      E

      @Ben-2-0 No, here too i seen't it
    • vinicity

      Music Example Code
      • vinicity  

      1
      5
      Votes
      1
      Posts
      33
      Views

      No one has replied

    • joyrider3774

      drawSegmentBar function
      • joyrider3774  

      3
      6
      Votes
      3
      Posts
      54
      Views

      Dinocoder

      That is very nice! Thanks @joyrider3774 for sharing!
    • Chronos

      Coding for Fun: Measuring Models and Making Advanced Collision Responses
      collision dimensions measure response • • Chronos  

      11
      1
      Votes
      11
      Posts
      151
      Views

      joyrider3774

      thanks soo much for this i use it to know objects dimensions for my projects well i use it to find the values i need, i don't use the code in my project
    • L

      Functions for Tree data structures
      • LucasJG25  

      1
      3
      Votes
      1
      Posts
      47
      Views

      No one has replied

    • L

      Functions for Linked Lists
      • LucasJG25  

      2
      5
      Votes
      2
      Posts
      47
      Views

      vinicity

      Great! This will be super useful!
    • waldron

      Looking for a save/load function
      • waldron  

      11
      1
      Votes
      11
      Posts
      80
      Views

      waldron

      @toxibunny yeah i got that, i'm fine with this for now though thanks man
    • Chronos

      Coding for fun: Improvising a type function
      function type • • Chronos  

      4
      3
      Votes
      4
      Posts
      94
      Views

      L

      Your solution looks pretty solid. Another way to accomplish this would be to use structs as in integer = 1 strings = 2 floats = 3 arrays = 4 n = [.data = 123, .type = integer] n1 = [.data = "123", .type = strings] if n.type == integer then //do something endif Keep up the good work!!
    • Chronos

      Coding for Fun: Serialization
      • Chronos  

      2
      3
      Votes
      2
      Posts
      44
      Views

      vinicity

      Thanks for this. It looks super useful!
    • Chronos

      Coding for Fun: Matrix Transform with Rotation Matrix Transforms
      function direction matrices matrix transform • • Chronos  

      1
      1
      Votes
      1
      Posts
      38
      Views

      No one has replied

    • pianofire

      Text Selector Control
      • pianofire  

      5
      10
      Votes
      5
      Posts
      80
      Views

      waldron

      @pianofire iv been trying to code an inventory box all day and here you have done it haha 😂
    • toxibunny

      Hsv>rgb and rainbow pallette maker
      hsl hsv rainbow rainbows rgb • • toxibunny  

      3
      3
      Votes
      3
      Posts
      77
      Views

      vinicity

      Very, very cool! Love it!
    • PB____

      NM8H2MND1Z: Unit Testing Framework for FUZE 2.15
      • PB____  

      4
      6
      Votes
      4
      Posts
      92
      Views

      PB____

      Needed to follow it up with a third update. If you write multiple unit test modules, you need to call test_init() first (to make sure your test starts with a clean context)
    • Darien112

      Updated: Motion Controls Logic v1.0
      • Darien112  

      7
      8
      Votes
      7
      Posts
      150
      Views

      waldron

      oh this is perfect just downloaded it :)
    • Jongjungbu

      wrapText function
      • Jongjungbu  

      2
      4
      Votes
      2
      Posts
      86
      Views

      vinicity

      Very useful! Thanks for posting this!
    • Darien112

      This topic is deleted!
      • Darien112  

      1
      7
      Votes
      1
      Posts
      41
      Views

      No one has replied

    • pianofire

      Some useful text functions
      • pianofire  

      11
      8
      Votes
      11
      Posts
      169
      Views

      pianofire

      @vinicity That should work
    • T

      Breakpoint Function for Debugging
      • thedos  

      3
      2
      Votes
      3
      Posts
      136
      Views

      T

      @vinicity it's not meant to be a string intentionally. it can be, but in reality can and should be anything you throw in there. as an example if you wanted to see the location of a sprite as an example you should actually plop in setBreakpoint(1, "some id value", getSpriteLocation(nameOfSprite)) and it will display the resulting vector. again, the idea was to keep it flexible so you could display custom messages, arrays, values, function results, etc. to pinpoint what something is doing or its value at any given time. as far as the text goes, yea there were a handful of compromises i had to make to keep it compact but also retain the complete functionality needed to be useful. hopefully something like this will actually make it into the editor itself so we don't need this.