Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord
    1. Home
    2. Coding
    3. Beginners
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Dave

      FUZE Beginner's Booklets - Download Here!
      • Dave

      7
      18
      Votes
      7
      Posts
      1119
      Views

      _

      Thanks for this, I'll add it to my SuperNote and have a look over it when I can.

    • toxibunny

      Good articles found on the web.
      • toxibunny

      38
      7
      Votes
      38
      Posts
      1572
      Views

      joyrider3774

      @SteveZX81 neither did i, the beginning is not important, the functions like smoothstep etc are

    • Codemaster201 0

      Syntax error
      • Codemaster201 0

      3
      1
      Votes
      3
      Posts
      24
      Views

      vinicity

      It’s very hard to see in your screenshot. The Switch has a very handy screenshot function built in; maybe consider using that instead..?

    • R

      How do I make a controllable character?
      • Resolver101

      2
      1
      Votes
      2
      Posts
      44
      Views

      F

      Hi Resolver,

      Welcome to the community.

      The placement of clear() and update() are really important.
      clear() - clears the screen
      drawMap() / drawSprite() / <other> - tells Fuze what to draw to the screen at the next update()
      update() - draws to the screen

      Updating the screen is really slow, so ideally we want to tell Fuze everything that we want to draw (which is much faster) and have draw everything to the screen all at once.

      Notice how, on line 22, you are using drawSprites().
      There is no update() for the rest of the loop, so we jump from line 38 to line 1, then when we get to line 8 we clear the screen.
      So we're getting ready to draw the sprites, but we're clearing before we actually update the screen.

      There is a Fuze tutorial series on YouTube and in the 5th video we talk about this in more detail:

    • M

      Qix tipe of game
      • mel0022

      3
      0
      Votes
      3
      Posts
      99
      Views

      M

      @vinicity omg ty

    • poof92

      How do I get the z rotation for an object
      • poof92

      2
      0
      Votes
      2
      Posts
      40
      Views

      poof92

      It's all good I figured out a work around that works really well I'll leave it here in case anyone wants to see:
      So I use a variable to store the rotation value and while I rotate the object I also adjust the variable

    • poof92

      Does anyone know what I'm doing wrong here?
      • poof92

      5
      0
      Votes
      5
      Posts
      117
      Views

      poof92

      Ok thanks a ton I'll give it a try

    • poof92

      Can a sprite have two collision shapes?
      • poof92

      3
      0
      Votes
      3
      Posts
      49
      Views

      poof92

      Alright thanks for the tip I'm sure it'll prove useful

    • poof92

      Move 3d object in direction it faces
      • poof92

      9
      0
      Votes
      9
      Posts
      97
      Views

      poof92

      Awesome it works perfectly now thanks

    • poof92

      Screen coordinates not game coordinates
      • poof92

      5
      0
      Votes
      5
      Posts
      85
      Views

      Dave

      @poof92 You're very welcome! Glad I could help.

    • M

      How do I use unicode in FUZE
      • mikeb109

      1
      0
      Votes
      1
      Posts
      65
      Views

      No one has replied

    • M

      touch screen 2 button interaction
      • mikeb109

      6
      0
      Votes
      6
      Posts
      124
      Views

      vinicity

      If you want more examples, here are some of my games that also uses the touch screen:

      https://fuzearena.com/catalogs/view/5011
      https://fuzearena.com/catalogs/view/4771

    • Dave

      Menu System Program
      • Dave

      2
      11
      Votes
      2
      Posts
      215
      Views

      toxibunny

      Project not found! :(

    • T

      How can i flip my character left or right
      • TwentyVyrus

      2
      0
      Votes
      2
      Posts
      113
      Views

      Kat

      You'll probably want to add another property to your sprite called something like player.wasFacing so you can check if the direction they are facing has changed and only flip the sprite if it has. So maybe something like:

      right = 0 left = 1 if c.left then player.x -= movespd player.facing = left endif if player.facing != player.wasFacing then player.xscale = -player.xscale endif // put this near the end of your loop player.wasFacing = player.facing

      There may be a more elegant solution or way to write it but that's what I would do :)

    • alexander.s

      Is there a camera for not just only sprites?
      • alexander.s

      5
      0
      Votes
      5
      Posts
      123
      Views

      Dave

      drawtext() gives you many more controls and access to custom fonts anyway - I'm sure it will be the best call in the long run.

    • C

      how can i insert a map
      • Coderlegendz

      2
      0
      Votes
      2
      Posts
      72
      Views

      pianofire

      Well for a start you would need loadmap not laodimage https://fuzearena.com/help/view/loadMap

    • C

      Can someone show me how to make a kart racing game?
      • Coderlegendz

      3
      0
      Votes
      3
      Posts
      89
      Views

      C

      oh, i didnt. thanks!

    • Soggy Games

      Why isn't my map unloading?
      • Soggy Games

      1
      0
      Votes
      1
      Posts
      87
      Views

      No one has replied

    • Soggy Games

      How to use hitboxes on my map
      • Soggy Games

      10
      0
      Votes
      10
      Posts
      239
      Views

      Soggy Games

      @dave it should be uploaded now, Thanks!

    • Soggy Games

      This topic is deleted!
      • Soggy Games

      1
      0
      Votes
      1
      Posts
      18
      Views

      No one has replied

    • undefined


      •


      Votes

      Posts

      Views