Navigation

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

      FPS Gravity/Collision
      • Darien112

      5
      0
      Votes
      5
      Posts
      257
      Views

      Tratax

      @Darien112 Awesome, here's a link that helped me a lot .. This was something i spent a lot of time thinking about! Found that the concept gets easier once you practice making small projects

      I think of it this way:

      Gravity is just an object moving in a particular direction, this is just a representation of 2 or 3 variable values (x,y) or (x,y,z) Collision is just a testable "state" to check the distance or between two different objects variable value Something needs to influence this (bool, function, etc).. Something that either increases, decreases, stops or starts the intended variable representing movement for the player, platform, object, etc

      If you haven't done collision detection before, I'd recommend making a small 2D platformer as a start.. I've been meaning to make one so i'll code one up shortly

    • Zero Division

      renderEffect() parameters
      • Zero Division

      12
      0
      Votes
      12
      Posts
      437
      Views

      Dave

      No worries at all mate, enjoy! I think I will copy and paste that info into hints and tips

    • K

      Loading Sprites into a Project
      • kendog400

      4
      1
      Votes
      4
      Posts
      243
      Views

      K

      Very helpful, I will be at the drawing board soaking this up..If I have to much trouble, I'LL be back to ask for a demo of the random card. But I'LL try to figure this out 1st...

    • Psyclist

      Poor performance (single figure FPS) when using two dimensional array of structure
      • Psyclist

      10
      0
      Votes
      10
      Posts
      223
      Views

      Psyclist

      @MikeDX @Dave I have now successfully shared my code :-)

    • jlgreer1

      Very basic help
      • jlgreer1

      6
      0
      Votes
      6
      Posts
      206
      Views

      M

      Hi Jeff that's great to hear.

      There's a lot of very cool stuff coming!

    • T

      How to Parse a String?
      • Tranceaholic

      3
      1
      Votes
      3
      Posts
      137
      Views

      T

      Cool, thank you!

    • K

      Need help trying to figure out code
      • kendog400

      4
      1
      Votes
      4
      Posts
      130
      Views

      K

      OK, I'm new to site so I havenet figure out the ins-&-outs...

    • emptytheory

      Modulo operation on negative numbers
      • emptytheory

      7
      0
      Votes
      7
      Posts
      280
      Views

      M

      having spoken to Luke about this, we believe -1%3 should be -1. This fits in with the modulo operator linked in the wiki page above.

      Behind the scenes, Fuze uses the c modulo operator.

    • Giauz Ragnarock

      Adding friend code to sub message
      • Giauz Ragnarock

      4
      2
      Votes
      4
      Posts
      168
      Views

      Giauz Ragnarock

      Ok thanks @Martin .

    • Rxvlism

      EXP = Level And Exp Needed
      • Rxvlism

      9
      0
      Votes
      9
      Posts
      277
      Views

      Rxvlism

      So This is the solution I’ve came to in Fuze.

      SkillEXP = 0 SkillLevel = 0 // (X) Level1EXP = 50 // (L) Constant = 1.2 // (C) AmountNextLevel = 0 // (Y) // Formula // Y = L * (C) ^ (X) Loop AmountNextLevel = Level * pow( SkillLevel, Constant ) // joy = controls ( 0 ) If joy.a then SkillEXP += .05 endif If joy.a then SkillEXP += .1 endif If joy.a then SkillEXP += 1 endif // If SkillEXP >= AmountNextLevel then SkillLevel += 1 endif // PrintAt( 0, 0, “Skill Level - ”, SkillLevel ) PrintAt( 0, 1, “Current EXP - ”, int(SkillEXP) ) PrintAt( 0, 2, “EXP Needed - ”, int(AmountNextLevel) - int(SkillEXP) ) PrintAt( 0, 3, “Amount To Next Level - “, int(AmountNextLevel) ) PrintAt( 0, 25, int(AmountNextLevel), “ = “, Level1EXP, “ * (“, Constant, “) ^ (“, SkillLevel, “)” )

      [edit by Martin] Added code tags. Please see the last entry in the FAQ: https://fuzearena.com/forum/topic/226/faq-common-questions-and-answers/4

    • F

      Removing Clipboard
      clip • • faz808

      4
      0
      Votes
      4
      Posts
      338
      Views

      F

      @Martin Thanks, my friend...

    • Rxvlism

      This topic is deleted!
      • Rxvlism

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • mixaal

      How the open() function works?
      • mixaal

      3
      0
      Votes
      3
      Posts
      163
      Views

      mixaal

      Thanks for the info !

    • Rxvlism

      TileGridSystem
      help grid tile • • Rxvlism

      18
      1
      Votes
      18
      Posts
      840
      Views

      Rxvlism

      Ok I msg him/her thanks guys so much !!! <3

    • Discostew

      Assigning a project's thumbnail image
      • Discostew

      3
      0
      Votes
      3
      Posts
      175
      Views

      Discostew

      @Kat Thanks.

    • poof92

      Remove sprite not working?
      • poof92

      9
      0
      Votes
      9
      Posts
      265
      Views

      Electric Dreams

      Yes adding is possible, I already do it on my snake game when the snake grow.

    • poof92

      Simple 3d collision?
      • poof92

      6
      2
      Votes
      6
      Posts
      357
      Views

      mixaal

      When I'm looking at it, wondering if I can write :

      if abs(newPosition - obj.position < obj.collisionRadius) then ... endif

      Have to try it out ;-)

    • P

      Keyboard issue
      • PaulVV

      4
      0
      Votes
      4
      Posts
      171
      Views

      P

      Thanks for the reply. I will check the settings as it is also not hidden under @.

    • P

      Enlarge a picture
      • popinet21

      4
      0
      Votes
      4
      Posts
      151
      Views

      P

      Thank you i did what i wanted to do

    • R

      How to change bg color
      • rdurbin

      2
      0
      Votes
      2
      Posts
      142
      Views

      Dave

      I'll get back to you on this @rdurbin and will pass on your comments.

    • undefined


      •


      Votes

      Posts

      Views