Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    XEVEXIA shooter

    Work In Progress
    7
    18
    502
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • spikey
      spikey F last edited by spikey

      This is incredible fascinating to watch. Is swarm programming a lot of advanced maths? Or does this more need art skills to define paths?

      1 Reply Last reply Reply Quote 0
      • xevdev
        xevdev F last edited by

        @spikey neither it's pretty easy. If you under stand sin() and cos() you can make a homing function. The paths are held in a string.
        So you have a string like so
        path = "ffflllfffrrrffflllfffrrr"
        If path[count] = f then alien[ this ].pos += sincos( alien[ this ].angle ) * speed endif
        If path[count] = l then alien[this].angle -= 5 end if
        Same for r except add 5
        At each update() add 1 to count so you go through the string path[count]
        This will do a little zigzag.
        Down load the code and have a look and change the string
        Soon I'm gunna update the code with the extra function for homing docking and spawnpoint after I write it. That would be a lot of code to wade through so i might upload as separate thing
        The first upload is less than 300 lines and hopefully well commented so you can understand.
        If you have any questions only to happy to help.

        spikey 1 Reply Last reply Reply Quote 1
        • xevdev
          xevdev F last edited by

          Oops I didn't mean to do that.
          Updated and overwrit the old file so same download code.
          Pending.
          Nxkupnkb94
          So
          Still not a game. not my intention.
          So feel free to change alter reuse or whatever
          Where we are now

          So look through the code and specifically the functions to see how it's done and give it a go in your own projects.
          For me I'm going to try and Chuck it into the fuze 3d engine. Haven't mucked with 3d for about a decade so should be interesting.
          That's why I haven't bothered with the graphics to much at this point.
          But I have set it up so there's a central point everything operates off.
          So hopefully cos I haven't really looked hard at the 3d stuff it won't be to much trouble.
          Famous last words.
          That's this week's mission.

          1 Reply Last reply Reply Quote 5
          • M
            MikeDX last edited by

            Ridiculously good, very nicely done

            1 Reply Last reply Reply Quote 0
            • spikey
              spikey F @xevdev last edited by

              @xevdev Thank you, I am looking forward to have a look at that. This is another very unique achievement of this community.

              1 Reply Last reply Reply Quote 0
              • xevdev
                xevdev F last edited by

                Got a 3d scene rigged up late last night.
                Give it a go tonight combining the two.
                Here's what it looked like.

                1 Reply Last reply Reply Quote 4
                • xevdev
                  xevdev F last edited by


                  So I need a flight sim.
                  Currently this just points directly at the center of the centre?
                  For a flight sim I just need the centre to move and the camera to follow that point or actually a point that is offset so I can see where I'm going. Or else I'm looking at where I was going to be if was on a straight line. Not to good.
                  This code before I do that is shared pending
                  Q535mnd94
                  Where is this going ?
                  I want this for maelstrom.
                  And I'm going to clip the range of actions that the flight controls can do because although I like the idea of elite style 3d roaming in practice they suck.
                  Cos I end up following arrows and still get shot in the butt.

                  1 Reply Last reply Reply Quote 1
                  • LinkCraft
                    LinkCraft F last edited by

                    Ummm your download code is missing a number or letter

                    pianofire 1 Reply Last reply Reply Quote 0
                    • pianofire
                      pianofire Fuze Team @LinkCraft last edited by

                      @LinkCraft Looks like it should be Q5353MND94

                      1 Reply Last reply Reply Quote 0
                      • xevdev
                        xevdev F last edited by

                        Oops.
                        Thanks @pianofire

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post