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
    • C

      instantiate box runtime
      • chucky831

      16
      0
      Votes
      16
      Posts
      965
      Views

      spikey

      @chucky831 you can do boxes[len(boxes)] = obj, means you need to give the next item in the array as the index. Here if there are 3 items already in boxes as an example, boxes[0], boxes[1] and boxes[2], then len(boxes) is equal to 3. and boxes[3] = obj will add the 4th item. or you use the len() function directly as I did at the beginning of my comment.

    • S

      How do i move a sprite with the left stick?
      help screen sprites • • smoof1738

      4
      2
      Votes
      4
      Posts
      894
      Views

      S

      @Dave thanks a bunch!

    • PickleCatStars

      3d interpolation help please?
      • PickleCatStars

      4
      0
      Votes
      4
      Posts
      486
      Views

      PickleCatStars

      Thanks. I was getting confused because you can go left to right first or up and down first. But whatever direction you pick first, you only do the second one once...

      It’s getting there.

    • A

      Unexpected variable error
      \\\ \\\ • • ahallett2002

      9
      1
      Votes
      9
      Posts
      780
      Views

      A

      @Martin yes it was, thanks for the edit. The game works perfectly fine now!!

    • A

      Sprite Game timer count
      • ahallett2002

      6
      0
      Votes
      6
      Posts
      620
      Views

      PickleCatStars

      @Martin Thanks, will do in future.

      testing

    • SteveZX81

      Collision positioning help.
      • SteveZX81

      4
      0
      Votes
      4
      Posts
      473
      Views

      D

      Not at all! You're approaching this problem from the right angle.

    • A

      This topic is deleted!
      • ahallett2002

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • A

      Sprite error
      • ahallett2002

      11
      0
      Votes
      11
      Posts
      784
      Views

      A

      I found out why it was giving me an error. I misspelled a word in the code and I forgot a ","

    • F

      Seeded Random Number Generator
      • faz808

      6
      1
      Votes
      6
      Posts
      646
      Views

      F

      Prettier I thought …
      clear(blue)
      for p = 1 to stars loop
      circle(xx[p], yy[p], 2, 32, white, false)
      repeat

    • spikey

      File write buffer has a size of 1000 - or maybe not
      • spikey

      2
      2
      Votes
      2
      Posts
      427
      Views

      spikey

      It could be that I am wrong here: I just found out that the string I wanted to write is already cut off earlier:
      I converted an array to a string. And the string has always a size of 1024 for bigger arrays.
      My target is to write an array just like this into the file - being lazy - and then interpreting it during reading. So, now worries I just write it struct by struct, which are never > 1000 chars long.

    • spikey

      Array is ok with index -1
      array • • spikey

      7
      1
      Votes
      7
      Posts
      952
      Views

      Dave

      The documentation needs a couple of updates, but this is an intended feature. You've done a great job there @spikey discovering the ins and outs. Expect help documentation to come which reflects this!

    • F

      Star Field
      • faz808

      2
      2
      Votes
      2
      Posts
      407
      Views

      M

      Very nicely done, great effect

    • spikey

      If and while always evaluate the whole expression
      if-then-else • • spikey

      7
      1
      Votes
      7
      Posts
      813
      Views

      PB____

      Just checked, it does operate right to left (for both or and and), but it will always evaluate both sides regardless.

    • M

      Circular torchlight effect ?
      • Merc1973

      6
      0
      Votes
      6
      Posts
      695
      Views

      waldron

      @Merc1973 don't apologise mate we're all here to help each other

    • vinicity

      Questions about renderEffect() and fx_colouradjust.
      • vinicity

      11
      0
      Votes
      11
      Posts
      911
      Views

      spikey

      @vinicity ...and there was a post https://fuzearena.com/forum/topic/470/using-multiple-render-effects about combining the effects.

    • Ithendall

      3D Shapes transformation
      • Ithendall

      10
      0
      Votes
      10
      Posts
      1025
      Views

      F

      Thanks for your kind words.
      Keep safe, John

    • SteveZX81

      Dealing with multiple enemy shots?
      • SteveZX81

      37
      0
      Votes
      37
      Posts
      3738
      Views

      M

      Sweet I have been following your progress on this game so I'll deffo take a look thanks man

    • N

      removeSprite() not working
      • Nichson

      15
      0
      Votes
      15
      Posts
      1165
      Views

      M

      @pianofire
      Yes that's what I meant sorry.
      The code would execute meaning the game would run but the sprite would not be removed (it was the player sprite as it happens) I had another action like print "aaa" and another (which escapes me) either side of the removesprite which would happen so I know it was getting to that code.

      But if I decided OK it doesn't remove it so let's after the removesprite say do something else with the sprite then when hitting run it would error saying can't do that with a removed sprite.

      So I resorted to moving it off screen instead.

      I can and will recreate it tomorrow

    • vinicity

      Color constant to/from string?
      • vinicity

      12
      1
      Votes
      12
      Posts
      933
      Views

      vinicity

      @pianofire Thanks a lot! Exactly what I needed!

    • F

      Ray Casting
      • faz808

      70
      3
      Votes
      70
      Posts
      40109
      Views

      F

      New texture added. wolfy-ceiling3 ID: XDXS2MND15

    • undefined


      •


      Votes

      Posts

      Views