Advertisement

Latest array Activity

Java Class, How to Check Collision Between Entities in Same Array?

JoeJ said:
(Did not read former replies)

Your was the first issue and part of the third issue of the four I pointed out.

@yusufabi It may seem a bit rough, but I recommend reading this paper about asking questions in technical forums. It will help both in asking and in responding to the replies you ha…

9,976 views
Advertisement

You need to determine what you want, genome recombination (accurate or not doesn't matter) or a way two recombine 2 dimensional arrays? Are they fixed to 2 fields each or do you consider to have N fields in the second array? This makes a huge difference and you should learn to ask for what you want…

5,761 views

yusufabi said:
its not erasing last element of vector. i would like to erase enemies from my class this is my problem

Please explain in words how this erase code works.

13,097 views

for (int i = 0; i<7; i++) { for (int j = 0; j<7; j++)

ugh, then at least optimize to avoid redundant tests:

for (int i = 0; i<7-1; i++)
for (int j = i+1; j<7; j++) {:)}

fleabay said:
Don't worry about broad phase or quadtrees for now. You'll never know what the computer is capable of if you…

6,986 views
Airbatz
March 05, 2021 10:37 AM

@endurion 

Thanks for pointing that out. It has since been fixed.  ?

8,375 views
SassyPantsy
August 14, 2020 03:46 PM

@SuperVGA the % operator is still something i'm trying to figure out. this thread was mostly about trying to figure out why the if (currentText<Text.Length) isn't working as intended. 

5,364 views
Advertisement
Advertisement