Need help with array for loop enemy map collision
-
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
-
@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?
-
That would be awesome thanks
-
@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.
-
Ok thank you 🙂
-
@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. -
Thank you I'll give it a look
-
@poof92 you may have to wait till its approved same code 16Z73MND5U
-
I'll give it a try when available thank you so much
-
@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.
-
Thank you it works really great now 👍
-
how you getting on with your program ?