Vincent Williams

 Game Development

Game development and other polite discussion. Game development...
Aug 31, 2015 13:22
and it cost 90$ a year
Aug 31, 2015 13:22
haha
Aug 31, 2015 13:22
why?
Aug 31, 2015 13:21
not*
Aug 31, 2015 13:21
so i think there is no
Aug 31, 2015 13:21
I did but its hard to find stuff
Aug 31, 2015 13:21
because android studio is basically intellij
Aug 31, 2015 13:21
wait is there an ios emulator for intellij?
Aug 31, 2015 13:20
like an addon
Aug 31, 2015 13:20
maybe like something a user made?
Aug 31, 2015 13:20
haha
Aug 31, 2015 13:20
that sucks
Aug 31, 2015 13:20
seriously?
Aug 31, 2015 13:20
how do i test it on ios
Aug 31, 2015 13:19
:/ I made a libgdx app using android studio
Aug 31, 2015 13:19
Is there an ios emulator for android studio?
Aug 17, 2015 04:51
Well anyways... I am going to sleep now but if anyone has any ideas let me know
Aug 17, 2015 04:46
or should I maybe use setUserData?
Aug 17, 2015 04:46
Should the entity extend a box2d object?
Aug 17, 2015 04:44
I can get which body it collides with but how can i get which entity that body belongs to?
Aug 17, 2015 04:43
so i can damage it
Aug 17, 2015 04:43
but how do i find what entity the bullet collides with?
Aug 17, 2015 04:43
I know how to get all that running and collision of the bullets fine
Aug 17, 2015 04:43
and the player shoots box2d bullets
Aug 17, 2015 04:43
Well I have some entities and they each have a box2d body
Aug 17, 2015 04:38
:|
Aug 17, 2015 04:38
for a small thing i think
Aug 17, 2015 04:38
I need help
Aug 17, 2015 04:26
has anyone here used box2d?
Jul 27, 2015 18:11
I fixed it YAY!
Jul 27, 2015 18:07
Ok never mind it does not always sort it correctly the first time
Jul 27, 2015 18:05
and I made it so if i click it sorts it (so I can see what happens) and the first sort is correct.... but after that it just keeps sorting it wrong
Jul 27, 2015 18:04
Ok so i am completely sure i am not accidentally changing the coordinates
Jul 27, 2015 17:57
i will look for a problem like that
Jul 27, 2015 17:57
thanks though
Jul 27, 2015 17:57
ya i think the coordinates might be changing for some reason
Jul 27, 2015 17:55
ya
Jul 27, 2015 17:54
even if i use the java method (Arrays.sort) then it still doesnt work
Jul 27, 2015 17:51
no... it still flickers if i return 0
Jul 27, 2015 17:50
hmm let me try that
Jul 27, 2015 17:49
when should i return 0?
Jul 27, 2015 17:49
let me try a different method
Jul 27, 2015 17:49
but i think its the same in java
Jul 27, 2015 17:49
it is libgdx...
Jul 27, 2015 17:49
    Sort.instance().sort(mapObjects, comparator);
Jul 27, 2015 17:48
what do you mean?
Jul 27, 2015 17:47
on my array of objects
Jul 27, 2015 17:47
then i just use java sort method
Jul 27, 2015 17:47
comparator = new Comparator<CustomMapObject>() {
@Override
public int compare(CustomMapObject o1, CustomMapObject o2) {
return sortByCoord(o1, o2);
}
};
Jul 27, 2015 17:47
this is how i sort