Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • F

      bitGet problem
      Beginners • • faz808

      24
      0
      Votes
      24
      Posts
      945
      Views

      xevdev

      That's ok the above works in a roundabout way

    • K

      Left-Right Joycon buttons dont work
      Help • • kendog400

      23
      0
      Votes
      23
      Posts
      1042
      Views

      Martin

      Up front, my apologies if I have the wrong idea about where you're struggling...

      Games can be a bit of a strange concept at first and I have a feeling this is what's tripping you up. Actually not just games, anything that constantly dynamically changes and never stops, but whilst Fuze is certainly not limited to game creation, it's seems to be the thing it's most used for so I'll stick to that here.

      So you need to get into the frame of mind that your code is never going to stop. You will always have a loop and in it's most simplest form, at least until you hit performance problems, assume that 60 times a second you are going to be expected to completely erase the screen and re-draw it. Like I say, try and do too much that won't fit into that 60fps time frame and you'll have to think about not clearing the entire screen, but forget about that for now.

      So your program will be a loop, or a series of loops. Consider this "pseudo-code":

      loop loop until gameStarted // Draw attract screen repeat loop until gameOver // Do gameplay // Update game state // Clear and redraw screen repeat // And so on repeat

      All of that is very high level and not really anything to do with your specific questions. BUT, I have a feeling that understanding that concept a bit better may remove some of the questions that you're having? (I may be wrong of course). The thing is that is never stops. It's unusual to have sleep commands. I'm sure they have their uses but I personally wouldn't miss then if they were not in the language and you seem to have quite a lot of them.

      The other thing then is the question of this selection box:

      Mabe I could put in another if command to put a box over the previous box and then clear the previous selection box.....

      So, you shouldn't really need to be worrying about clearing the previous selection box, or any of that jazz. I'm sorry, I've not followed exactly what you are wanting to do. But let's say that you have 5 cards laid on the table in a row and you want a red box around the first card. When the player moves right the selection box moves to card number two, then 3, or press left and it's back to card 2 and so on.

      All you need to do is track two things: 1) is the selection active at all (are we in selection mode), if so 2) which card is selected (1, 2, 3, 4 or 5). You would increment the selection when the user presses left or right.

      So now, you have the info you need to just draw a box if selection is active and you know which card it has to be drawn around. And you draw it EVERY frame (every time the loop repeats), regardless, but only as long as selection is enabled. And remember that you do this without any pauses or sleeps, forever, or until the game progresses to the next phase (the user selected a card perhaps?)

      Again, my apologies if I have got the wrong end of the stick. Or rather, I've misunderstood where you are getting stuck (or coming unstuck).

    • F

      Repeatable Random Number
      Coding • • faz808

      23
      2
      Votes
      23
      Posts
      1583
      Views

      F

      I deleted my 3d stars code in my eagerness to clear out downloaded code. Luckely under:-

      Beginners / Array Problems - 17 days ago, I retreived it.

      But ... I didn't notice the error ....

      23 star0[i] = (random(50))-25
      24 star1[i] = (random(50))-25
      25 star2[i] = zdepth

      should of course be:-

      23 star0[pp] = (random(50))-25
      24 star1[pp] = (random(50))-25
      25 star2[pp] = zdepth

      Happy coding, John

    • Retrocade_media

      Creatively Titled Shmup Demo
      Work In Progress • shmup • • Retrocade_media

      23
      11
      Votes
      23
      Posts
      3578
      Views

      Retrocade_media

      @pianofire Oh! Thank you, I will update that now!

    • QIsLegit

      Is it possible to create an SNES 'Mode 7/Pseudo 3D' type game in FUZE?
      Help • pilotwings snes pseudo 3d mode 7 • • QIsLegit

      23
      1
      Votes
      23
      Posts
      2174
      Views

      waldron

      Iv started sketching the effect to animate it that's as far as I got due to another project but should have some results soon, it works on paper

    • A

      Aphorism Generator in FUZE4
      Work In Progress • • Ancientspark

      23
      5
      Votes
      23
      Posts
      1616
      Views

      A

      Ohhh yeah.. I'm recovered from that now.. thankfully I had not gone TOO far with it at that point. I also made some positive changes in my code to affect future versions so all is well! :)

    • vinicity

      Weekly High Score Challenge #79
      High Score Challenges • weeklyhighscore • • vinicity

      23
      4
      Votes
      23
      Posts
      2472
      Views

      pianofire

      Sorry no time!

    • Dave

      FUZE Gamejam 14! 25th - 28th November // THEME: COOK!
      FUZE GAME JAM • • Dave

      23
      8
      Votes
      23
      Posts
      4402
      Views

      SteveZX81

      @andyg1985 said in FUZE Gamejam 14! 25th - 28th November // THEME: COOK!:

      Thanks again Dave! Another great night. Vin, yours wasn’t the only one with a bug. In my game, touching a baddie will (very infrequently) leave the first ingredient showing. Unfortunately it happened in the Jam! I will work it out when I can :)

      My games usually have the bugs. I really cringe when Dave finds them. I know this won't help our Vin, but if he can have a bug in his game then I don't quite feel so bad about mine having them.

    • Skullo

      My first project with Fuze4
      Work In Progress • • Skullo

      23
      12
      Votes
      23
      Posts
      3386
      Views

      Spacemario

      @Skullo If I saw this as an actual indie game on the eShop, I'd be interested, much less as a side project someone is doing in Fuze. That brief glimpse at an overworld map really captured my imagination-- totally awesome.

    • Dave

      FUZE Gamejam 9! 1st - 3rd January - THEME: CHANGE
      FUZE GAME JAM • • Dave

      23
      9
      Votes
      23
      Posts
      3896
      Views

      Dinocoder

      Great Gamejam everyone! Thanks for the nice comments! Can't wait for the next one!

    • spikey

      Unexpected fun (or fun facts)
      Coding • fun • • spikey

      23
      5
      Votes
      23
      Posts
      3319
      Views

      JMM161437

      So I told my boss there were some bugs in the server and he hired an exterminator to spray it down

    • vinicity

      Weekly High Score Challenge #10
      High Score Challenges • weeklyhighscore • • vinicity

      23
      4
      Votes
      23
      Posts
      3244
      Views

      pianofire

      I think that @LinkCraft had a 46

    • vinicity

      Weekly High Score Challenge #8
      High Score Challenges • weeklyhighscore • • vinicity

      23
      8
      Votes
      23
      Posts
      3216
      Views

      PB____

      Congratulations on the win Steve, that's an impressive score 😮
      Unfortunately I didn't really have the time yesterday to beat it, I had to watch Dave's game jam stream of course.

    • vinicity

      Weekly High Score Challenge #4
      High Score Challenges • weeklyhighscore • • vinicity

      23
      4
      Votes
      23
      Posts
      3351
      Views

      AndyG1985

      Thanks so much, I will!

    • P

      Everyone writes a line of code
      Coding • • petermeisenstein

      23
      0
      Votes
      23
      Posts
      1234
      Views

      P

      Main=11111111111111

    • SwitchedOn

      Fruit Machine - problems!!
      Work In Progress • • SwitchedOn

      22
      4
      Votes
      22
      Posts
      825
      Views

      DomDom

      My pleasure.

    • vincent2105

      WIP 3D racing game
      Work In Progress • • vincent2105

      22
      10
      Votes
      22
      Posts
      3948
      Views

      vincent2105

      Ouch! motivation wanes :/ Although I found a suitable solution for setting up very large objects, I see a lot of work to be done before having a fun racing game... I imagine also using the engine for an adventure or space exploration game, even if it's even more work, but in fact I don't know... I'll wait for the motivation to come back.

    • vinicity

      Weekly High Score Challenge #40
      High Score Challenges • weeklyhighscore • • vinicity

      22
      6
      Votes
      22
      Posts
      1597
      Views

      Devieus

      @richard said in Weekly High Score Challenge #40:

      @devieus we tried your extra code and it came up with an error. When we changed the = near the beginning of each line to a - it worked. Looks very nice now thanks.

      Thanks, I fixed the code block.

      I have plans to make the crane look better too, but the balls are a good start.

    • N

      Sound FM synthesis sounds and instruments
      General Discussion • • Nisse5

      22
      7
      Votes
      22
      Posts
      1251
      Views

      Jongjungbu

      @Nisse5 Yes indeed, v0.05 just to clarify if you have the right copy.

    • vinicity

      Weekly High Score Challenge #18
      High Score Challenges • weeklyhighscore • • vinicity

      22
      9
      Votes
      22
      Posts
      1479
      Views

      vinicity

      The results are in for High Score Challenge #18.
      This is the hall of fame for M U T A T I O:

      vinicity - 38 Dinocoder - 28 PB____ - 28 SteveZX81 - 25 AndyG1985 - 24 pianofire - 23 waldron - 23 DaddyJDM - 20 CasualTie5 - 17 ILoveFuze - 14

      Congratulations, vinicity. Even though I think I was extremely lucky!
      A big thank you to everyone who participated. Stay tuned for challenge #19.