Navigation

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

    Need help with array for loop enemy map collision

    Beginners
    2
    12
    554
    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

      I made on enemy it doesn't move left or right it only goes down until it hits the map but the problem is there's multiple and now the detectmapcollison isn't working in my for loop also I'm sorry in advance I can't post any code my I'm away from my switch at the moment

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

        @poof92 looks like you managed to transfer the jump code from that program i shared so i could update that program with enemies sitting on the map and maybe some simple movement for them, i can update it later if you like?

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

          That would be awesome thanks

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

            @poof92 cool, i'l update it after work. i'l also print some on screen debugg values showing players.x and y very helpful when making games especially platformers, its good to know how far the player can jump ect.

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

              Ok thank you 🙂

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

                @poof92 updated and re-shared. iv just added in the map collision for now for the enemies(just 3 lines of code) and printed some debugg values printed to the screen
                don't want to add to much at once, but there you go.

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

                  Thank you I'll give it a look

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

                    @poof92 you may have to wait till its approved same code 16Z73MND5U

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

                      I'll give it a try when available thank you so much

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

                        @poof92 no problem, i wouldn't be able to help you if no one helped me so it's nice to be able to help.

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

                          Thank you it works really great now 👍

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

                            how you getting on with your program ?

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