Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 99960

Collision detection is the determination of whether or not two or more entities make contact with each other during gameplay.

0 votes
1 answer
523 views

Java - simultaneous ground and wall collision

I've been working on a Line2D based collision system: public void update() { for (int i = 0; i < lines.size(); i++) { line = lines.get(i); if (line.line.intersects(player.hitbox)) …
Jaïr Paalman's user avatar
0 votes
1 answer
283 views

How to get a 2D vectorial terrain from an image for Java collision detection?

I'm trying to make a 2D Java-only game with a terrain like the one shown below. In the previous games I made, I used tile based collsions, but now, I want to use vector based collsions, as an uneven t …
Jaïr Paalman's user avatar