repo.or.cz
/
kong.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Physics: Don't let bodies intersect when they collide. When they would intersect...
2009-03-05
Hanno Brau
n
Ph
y
si
c
s:
D
on
'
t let bodies intersect when t
h
ey collide
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Braun
Removed debug o
u
tput
.
commit
|
commitdiff
|
tree
2009-03-05
H
ann
o
Braun
Physi
c
s: Implemen
t
ed continio
u
s co
l
lision
de
t
ection
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Han
n
o Braun
Physics
:
Changed
Colli
s
i
on
.
It now consist
s
of a tim
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Braun
Ph
y
sics: Add
e
d the class Contact which represe
n
ts a
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Ha
n
no B
r
aun
Physi
c
s: Changed the w
a
y the p
h
ysics simulation works
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
H
a
nn
o
Bra
u
n
P
hysics: Apply
i
m
pul
s
es t
o
bodies in World
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Braun
Physics:
M
i
n
or refac
t
o
r
ing
in Bod
y
.
commit
|
commitdiff
|
tree
2009-03-04
Ha
n
no Braun
Phy
s
ics: Adde
d
a test that makes sure no null for
c
es
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Braun
Physics: Added support for applying impuls
e
s to Body
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Braun
Re
m
oved the dependency
t
o Phy
s
2D
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno
Braun
Whites
p
a
ce
correction
.
commit
|
commitdiff
|
tree
2009-03-03
H
a
nno Braun
I
n
the main l
o
op, the world w
o
uldn't be stepp
e
d
accordi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Bra
u
n
Don
'
t s
l
eep for
a
fixed
t
ime
.
A
da
p
t sleep time to archiev
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno B
r
au
n
Replaced Phys2D with t
h
e new
p
h
y
sics pack
a
g
e
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phy
s
i
c
s
: The distance between circles w
a
s
incorre
c
tly
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno B
r
aun
Physics: SimpleNarro
w
Phase
could throw an AssertionErro
r
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
P
hysics: Added some
t
oleranc
e
to
t
he unit vector che
c
k
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno
B
r
aun
Physics: Use Ve
c
2D
.
squaredLength to check normal length
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
a
u
n
P
h
ysics
:
Added
more in
f
ormat
i
on
to exceptio
n
message
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physi
c
s: Replaced a use of the deprec
a
ted method List
.
+
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Remo
v
ed
V
ec2
D
.
i
nverse
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phys
i
c
s
:
U
s
e
-vec i
n
stead of vec
.
inv
e
rse
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Braun
Physics:
Added t
h
e unary - operator
to V
e
c2D
.
-vec
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
no B
r
aun
P
h
ys
i
cs: D
e
leted NoNarrowPha
s
e
.
commit
|
commitdiff
|
tree
2009-03-02
H
an
n
o B
r
aun
Physics: Made SimpleNarr
o
wPhase the default narrow
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno B
r
aun
Physics: Imp
l
emen
t
e
d
SimpleN
a
r
rowPhase,
a
narrow
p
has
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added a m
e
th
o
d
t
o
Vec2D that re
t
u
rns the norm
a
l
i
z
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
P
hysics: Added m
e
thods
t
o Vec2D that compute t
h
e length
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physics: D
o
cume
n
ted SimpleBr
o
adPhase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phys
i
cs: Doc
u
m
ented NarrowPh
a
se
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
Physics: Do
c
umente
d
Colli
s
ion
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
B
r
aun
Physics:
D
ocumented Broa
d
Phase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Code formatting correct
i
o
n
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
a
un
Physics:
Implemented co
l
lisi
o
n handling for
static
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Changed
World
.
bodies to a val
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Br
a
un
Physics: Verify that normal
v
ector
s
in Collision ar
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Bra
u
n
P
hys
i
cs: Wh
i
t
e
s
p
ace correcti
o
n
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Dis
a
l
low Body's mass to be
zero
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phy
s
ics: Implemented
collision
ha
n
dling for colli
s
ions
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physics: Added
a me
t
h
od t
o
Vec2D th
a
t can split a vector
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
Physics: Added a s
u
bstraction met
h
od to Vec2D
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Bra
u
n
Physics: Perform broad an
d
narrow phase collision
d
ete
c
t
ion
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno
Bra
u
n
Ph
y
sics: Made s
u
re World's broad and narr
o
w p
h
ases
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
aun
Physi
c
s
: Renamed
s
ome test methods
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno
Brau
n
Physics: Use an i
n
stan
c
e
of
S
impleBroadP
h
a
se in World
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
Physics:
Re
n
a
med
a
test
m
ethod
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physi
c
s:
A
dded
t
h
e t
r
ai
t
BroadPhase tog
e
th
e
r with a
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physi
c
s
:
Re
n
amed CollisionSolver to
Narro
w
Phase
.
Als
o
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Br
a
un
Physics: World now has
a
N
o
Co
l
l
isionSolver afte
r
bei
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phys
i
c
s
: Added t
h
e tr
a
it C
o
ll
i
sionSolve
r
.
Als
o
adde
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics:
Added a class that mod
e
ls a col
l
i
sion
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Brau
n
Physic
s
: Added a method to Vec2D that computes the
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Some cod
e
form
a
tting and d
o
cumentati
o
n
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Braun
Physics:
Added tw
o
shapes
,
c
ircles and line s
e
gments
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Br
a
un
Physics: Added a test th
a
t
makes sure forces are appl
i
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Brau
n
Physics:
A
dded a
f
eature that allows to constr
a
in the
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Bra
u
n
Physics: Added a simple
w
o
rld
class that can
a
pply
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Bra
u
n
Physics: Added a method to Body that r
e
se
t
s t
h
e appli
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
hysics:
A
d
d
ed s
c
alar division to vector
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
n
o
Braun
Ad
d
ed the be
g
innings of an experimen
t
al physics package
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
scala
.
Random is deprec
a
t
ed
.
Use java
.
util
.
Random i
n
stead
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Brau
n
Activated
d
e
p
recat
i
on war
n
ings
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
I
n
put: Documented KeyMap
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
n
o Braun
Input: Updated KeyHandl
e
r do
c
umentation
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno
Br
a
un
I
n
put: K
e
yHand
l
er is no longer a P
B
asicInputEv
e
ntHand
l
er
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hann
o
Brau
n
I
n
put: Refactored KeyHandler
.
doI
f
Pressed
.
I
t now uses
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hann
o
B
raun
Input: Added uni
t
t
e
s
ts
for KeyHandle
r
.
doIfPres
s
ed
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno
B
raun
Inpu
t
:
Rem
o
ved KeyHandler
.
doIfOrElse
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
n
no Braun
U
s
e
f
o
reach lo
o
p
for
i
nput handling
.
commit
|
commitdiff
|
tree
2009-02-18
Han
n
o Br
a
u
n
Use
KeyHandl
e
r
.
isP
r
es
s
ed for input handling
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
no Braun
Rename
d
KeyH
a
ndl
e
r
.
doIfReturnResul
t
to doIfPressed
.
commit
|
commitdiff
|
tree
2009-02-18
Han
n
o Braun
A
d
ded unit tests
fo
r
KeyH
a
ndler
.
isPressed
.
commit
|
commitdiff
|
tree
2009-02-18
Han
n
o
Braun
Input: Added a new f
u
nction t
o
K
eyHand
l
e
r, isPr
e
sse
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
anno
Braun
Removed
t
he old InputHandler
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Us
e
d the new
g
eneric inp
u
t
f
unc
t
ionality in place of
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Renamed the
InputHandler class from the
i
mport
e
d
in
p
ut
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
an
n
o
B
ra
u
n
Renamed t
h
e
I
n
putHand
l
e
r
from th
e
importe
d
i
npu
t
pac
k
a
ge
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Import
e
d cl
a
s
s
es for generic input handlin
g
from another
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
H
a
nn
o
Braun
Added execution scripts for Linux/Unix and Windows
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
H
a
nno Br
a
un
Added Scala as
a dependency
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno B
r
aun
Updat
e
sco
r
e display position when score changes
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Extracted score logic int
o
its own class
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
I
m
plemented sco
r
e counting
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno B
r
a
u
n
A
d
j
usted paddle handling
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Adjus
t
ed ball sp
a
wning
m
echan
i
cs
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Brau
n
Re
q
uest
e
d focus for the canva
s
.
Thi
s
fixe
s
t
h
e
p
roblem
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
C
h
anged
p
a
d
d
le handling
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno
B
rau
n
Mad
e
b
a
l
l
s
t
arting
velocity faste
r
i
n
x direction
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Brau
n
Extracted bal
l
f
u
nctionality into a
clas
s
an
d
ra
n
d
o
mized
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Ha
n
no Br
a
u
n
Place ball in the
m
iddle if it lea
v
es
the field
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Bra
u
n
Added a
ball
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Br
a
un
Added borders a
t
t
h
e
top and b
o
ttom
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Make padd
l
es nor
m
al bodies and mov
e
them by
a
p
plying
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
H
an
n
o Braun
A
dded the two paddles
.
Dis
p
lay and move them
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno B
r
au
n
A
dded class for pa
d
dles
.
In
i
tialize t
w
o
and
relay i
n
put
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Han
n
o Braun
Added i
n
p
u
t
hand
l
i
n
g
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Brau
n
Added
P
hys2d
as a depen
d
enc
y
.
commit
|
commitdiff
|
tree
2009-01-15
H
a
nn
o
Braun
P
a
int a basic playing
f
ield
.
commit
|
commitdiff
|
tree
2009-01-15
H
a
nn
o
Bra
u
n
C
hanged license to Ap
a
c
h
e licen
s
e 2
.
0
.
commit
|
commitdiff
|
tree
next