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