Navigation

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

    Shooting only hits for the first or last bullet 2d space shooter

    Coding
    4
    25
    2257
    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.
    • poof92
      poof92 last edited by

      Ok sounds good thank you I will also continue to try some things

      1 Reply Last reply Reply Quote 2
      • vinicity
        vinicity F last edited by vinicity

        If you want to look at an example, check out my last game jam entry, Parker Pumpkin's 115th Dream

        Look at how I handle the array called enemies. The enemies in that game are basically bullets shot from the corners of the screen. When they fly outside the screen I use removeSprite and then remove them from the enemies array.

        https://fuzearena.com/catalogs/view/4104

        1 Reply Last reply Reply Quote 0
        • poof92
          poof92 last edited by

          Ok thank you I'll give it a go

          1 Reply Last reply Reply Quote 1
          • poof92
            poof92 last edited by

            I'm sorry I can't seem to get it to work

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

              Share your code and someone can take a look at it. We are all kind of busy with the game jam right now, though...

              poof92 1 Reply Last reply Reply Quote 0
              • poof92
                poof92 @vinicity last edited by

                @vinicity my code is f1563mndsg

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

                  Been meaning to take a look bud but been fighting for time at the moment, hang in there your be shooting enemies left right and center soon enough 😁

                  poof92 1 Reply Last reply Reply Quote 0
                  • poof92
                    poof92 @waldron last edited by

                    @waldron alright sounds good thanks a ton

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

                      Took a look, I'v started writing out some helpful create/remove sprite functions at the top should hopefully share it tomorrow just want to make it clear for you to understand 🙂

                      1 Reply Last reply Reply Quote 1
                      • poof92
                        poof92 last edited by

                        Awe thanks so much

                        1 Reply Last reply Reply Quote 0
                        • poof92
                          poof92 last edited by

                          Awesome is what I meant to say lol

                          1 Reply Last reply Reply Quote 2
                          • waldron
                            waldron F last edited by waldron

                            9gy43mnd5u
                            project: SSU-multiple sprite detection
                            Plus sprite creation/removal

                            poof92 1 Reply Last reply Reply Quote 2
                            • poof92
                              poof92 @waldron last edited by

                              @waldron wow this is awesome thanks so much

                              1 Reply Last reply Reply Quote 1
                              • Ben 2.0
                                Ben 2.0 last edited by

                                Sorry the demo I promised still isn't finished. I have been extra busy with school work lately so I have not had much time. If you still want it I could try to finish it by the end of the week.

                                1 Reply Last reply Reply Quote 1
                                • poof92
                                  poof92 last edited by

                                  Hmm the code doesn't work

                                  waldron 1 Reply Last reply Reply Quote 0
                                  • Ben 2.0
                                    Ben 2.0 last edited by

                                    Sorry @poof92, Fuze is continuing to crash my switch whenever I try to share the demo. Whenever the servers are back up and working again I will put the download code in this thread.

                                    1 Reply Last reply Reply Quote 1
                                    • waldron
                                      waldron F @poof92 last edited by

                                      @poof92 I re-shared the program the other day due to the server issues the code is now cyk73mqa2u and is now live

                                      poof92 1 Reply Last reply Reply Quote 1
                                      • poof92
                                        poof92 @waldron last edited by

                                        @waldron oh this is so cool thanks so much 😁

                                        1 Reply Last reply Reply Quote 1
                                        • Ben 2.0
                                          Ben 2.0 last edited by

                                          Sorry @poof92, but I finally posted the array demo. I hope that it can be helpful or at the very least give you an idea to finish your game.
                                          ID: MXK73Y1T4K

                                          poof92 1 Reply Last reply Reply Quote 3
                                          • poof92
                                            poof92 @Ben 2.0 last edited by

                                            @ben-2-0 I'll give it a look thanks

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