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: Replaced the collision detection algorithm for circles and line segments...
2009-03-07
Hanno
Bra
u
n
Physics
:
R
e
pla
c
ed the coll
i
sion detec
t
ion algorithm
.
.
.
commit
|
commitdiff
|
tree
2009-03-06
Hanno B
r
a
un
Physics: Use V
e
c2D
.
pr
o
ject instead of Vec2D
.
split
in
.
.
.
commit
|
commitdiff
|
tree
2009-03-06
Hanno Braun
P
hyi
s
ics: Added metho
d
to Ve
c
2D that projects the ve
c
tor
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
H
a
nno
B
ra
u
n
Physi
c
s: Adde
d
a metho
d
to Vec2D th
a
t returns the orthogona
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
H
anno Br
a
un
Physics:
Changed the
way l
i
ne segments are
d
efined
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Bra
u
n
Physic
s
: A
d
ded a sma
l
l
tole
r
ance when u
p
dating body
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Han
n
o Braun
Physics: Don
'
t
l
et bodies
inter
s
e
c
t
when t
h
e
y
col
l
ide
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Br
a
un
Removed debu
g
outp
u
t
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Braun
Ph
y
sic
s
: Implemented con
t
i
nious collision detection
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Braun
Physics: Change
d
Coll
i
sion
.
It now consists
o
f a t
i
m
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Braun
Phys
i
c
s: Added the cla
s
s Cont
a
ct which re
p
resents a
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Bra
u
n
Physics: Changed the
way the phys
i
c
s simu
l
ation
w
orks
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Ha
n
no Braun
Physics: Apply impulses to bodie
s
in Wor
l
d
.
commit
|
commitdiff
|
tree
2009-03-04
Ha
n
n
o
Braun
Physics: M
i
nor refactoring i
n
Bod
y
.
commit
|
commitdiff
|
tree
2009-03-04
Ha
n
no Br
a
u
n
Physics:
A
d
d
e
d a test that makes sure no nu
l
l f
o
rces
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Ha
n
no
B
raun
P
h
ysics: Added s
u
pport
f
or a
p
plying impulses to Body
.
commit
|
commitdiff
|
tree
2009-03-03
H
a
nno Br
a
un
Rem
o
ved the
depende
n
cy to Phy
s
2D
.
commit
|
commitdiff
|
tree
2009-03-03
H
a
nno Br
a
un
Whitespace correction
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Braun
In the main loop, the wor
l
d wouldn't be stepped a
c
cording
.
.
.
commit
|
commitdiff
|
tree
2009-03-03
H
anno Braun
D
o
n
'
t
sleep fo
r
a fixed
t
ime
.
Adapt sleep time
t
o archiev
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Repl
a
ced Phys
2
D with the new phy
s
ics package
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Bra
u
n
Phy
s
ics: The distanc
e
betwee
n
circles w
a
s
incorrectly
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
n
o Braun
Phys
i
cs: SimpleNar
r
owPhase could
t
hrow an A
s
sertionError
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
h
ysi
c
s
: Added some tolerance
to the unit
v
ector check
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o
B
raun
Phy
s
ics: U
s
e Vec2
D
.
squaredLe
n
gth to che
c
k normal length
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
Physi
c
s: Added more informat
i
on to e
x
ception message
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Brau
n
Physics: R
e
p
l
a
ced a
use of the deprecated
method
L
i
st
.
+
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Br
a
u
n
Physics: Removed Vec2D
.
in
v
erse
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Braun
Physics: Use -vec instead of
vec
.
i
n
verse
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Brau
n
Physics: A
d
d
e
d
t
he unary - operator
to V
e
c2D
.
-
vec
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Br
a
un
P
h
y
sics: Deleted N
o
Na
r
row
P
hase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics:
Made SimpleNarrowPhase the defaul
t
narrow
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Imp
l
eme
n
ted SimpleNarrow
P
hase, a narrow phase
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added a metho
d
to Vec2D
t
hat returns
the
n
ormalized
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Br
a
u
n
Ph
y
sics: Added m
e
thods to Vec2D that compute the length
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Documented SimpleBroadPhas
e
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Br
a
un
P
hysics:
D
ocume
n
ted Narro
w
Phase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Documented Collis
i
on
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Documente
d
B
r
o
adPhase
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
P
hysic
s
: Code formatting correction
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
aun
Physics: Im
p
le
m
ente
d
c
o
llision
h
andling for sta
t
ic
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
Physics: Changed W
o
rld
.
bodies to a val
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
hysics
:
Verify
t
hat nor
m
a
l
vec
t
or
s
in Collision ar
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Braun
Physics:
W
h
itespace c
o
rrecti
o
n
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
r
a
u
n
P
hy
s
ics: Disal
l
ow Body's m
a
ss to be
zero
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physics: Implemented collision handling for collisions
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Braun
Physics: A
d
ded a me
t
hod to Vec2
D
that can sp
l
i
t
a v
e
c
t
or
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
hysics
:
A
dded a
s
ubstraction m
e
th
o
d to
V
ec2D
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Br
a
un
Physics: Pe
r
form broa
d
a
nd narrow phase coll
i
si
o
n
d
e
t
ection
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physi
c
s
:
M
a
de
s
ure World's broad an
d
narrow ph
a
ses
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Br
a
u
n
P
h
ysics:
R
enam
e
d so
m
e test metho
d
s
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
r
a
u
n
P
h
ysics
:
Use an instance
o
f
SimpleB
r
oa
d
Phase in
World
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Br
a
un
Phys
i
cs: Rename
d
a
te
s
t metho
d
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Brau
n
Physics
:
A
d
ded the trait Broad
P
hase
together with a
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
Physics: Ren
a
med Collis
i
onSolver t
o
Narro
w
Phase
.
A
lso
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Brau
n
P
hysics: Wor
l
d no
w
has a NoCollisionSolver after being
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Br
a
un
Physics:
Ad
d
ed the
trai
t
CollisionSo
l
v
er
.
A
lso adde
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
an
n
o B
r
aun
Physi
c
s: Ad
d
e
d a class that models a
c
ollision
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nn
o
Brau
n
Physics: Added a method
to Vec2D that computes
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physics: Some
code f
o
rmatting
a
n
d
documentation
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Braun
P
hysics: Added t
w
o sh
a
pes, cir
c
les and line
segments
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics:
A
dde
d
a test that makes sur
e
forces are app
l
i
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
aun
P
hysics: Added a fe
a
ture
t
ha
t
allows t
o
constrain the
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics
:
Added
a si
m
ple world class tha
t
can apply
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phy
s
ics: Added a m
e
th
o
d
t
o
Body
that
r
esets
t
he
a
pplied
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
Physics: Added
sc
a
lar division to vector
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
Added the beginnings of an expe
r
im
e
ntal physics
package
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Bra
u
n
scala
.
Rand
o
m is deprecated
.
Use java
.
util
.
Random instead
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o
B
rau
n
Activa
t
ed deprecation warnin
g
s
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno B
r
a
un
Input:
D
ocumented KeyM
a
p
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno
B
raun
Input: U
p
dated Key
H
a
ndler
docum
e
nta
t
ion
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Input:
K
eyHand
l
er is no lo
n
ger a
P
BasicInputEventHa
n
dler
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno
B
raun
Input: R
e
facto
r
ed KeyH
a
ndle
r
.
doIf
P
ress
e
d
.
It n
o
w
u
s
e
s
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno
B
raun
Input: Added
u
nit tests for KeyHandler
.
doIfPressed
.
commit
|
commitdiff
|
tree
2009-02-18
H
anno Braun
In
p
ut: Rem
o
ved Ke
y
Handler
.
d
o
IfOrElse
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno
Braun
Use foreach
l
oop fo
r
input handling
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
U
s
e Ke
y
Handler
.
isPressed fo
r
in
p
ut handlin
g
.
commit
|
commitdiff
|
tree
2009-02-18
H
anno Braun
Re
n
amed Key
H
a
ndl
e
r
.
doIfRe
t
urn
R
esult to doIfPressed
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
no
B
r
aun
Added unit
t
est
s
for
K
eyHandl
e
r
.
isPressed
.
commit
|
commitdiff
|
tree
2009-02-18
Han
n
o
Bra
u
n
Inp
u
t: Added a new f
u
nction to KeyHandle
r
, i
s
Pressed
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
nno Braun
Removed the
o
l
d
I
nputHandler
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno B
r
a
un
Used the new generic inp
u
t
functionality in place
o
f
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno B
r
a
un
Renam
e
d the InputHandler class f
r
o
m
the imported
i
nput
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Brau
n
Renamed the I
n
putHandle
r
from
t
he
imp
o
r
t
ed input package
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
no Bra
u
n
Imported clas
s
es for ge
n
eric
input hand
l
ing from anoth
e
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Added execu
t
ion scr
i
pts for
Linux
/
Uni
x
an
d
Windows
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno
Braun
Added
S
ca
l
a as a depen
d
e
n
c
y
.
commit
|
commitdiff
|
tree
2009-01-16
Hann
o
Braun
Update score display p
o
s
ition wh
e
n sco
r
e
ch
a
nge
s
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
E
xtracted score lo
g
ic in
t
o its own cla
s
s
.
commit
|
commitdiff
|
tree
2009-01-16
H
a
nno Braun
Im
p
l
emented
s
core
c
o
unting
.
commit
|
commitdiff
|
tree
2009-01-16
H
anno B
r
aun
Ad
j
usted paddle handling
.
commit
|
commitdiff
|
tree
2009-01-16
Ha
n
no Braun
A
d
j
usted ball
spa
w
ning
mechanics
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Req
u
e
s
ted
focus for the canvas
.
This fixes
the problem
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno B
r
aun
Changed
paddle hand
l
ing
.
commit
|
commitdiff
|
tree
2009-01-15
H
anno Braun
Made ball sta
r
t
i
ng vel
o
c
ity faster in
x direc
t
io
n
.
commit
|
commitdiff
|
tree
2009-01-15
Ha
n
no Braun
Extract
e
d
b
a
l
l fu
n
ctionality into
a
class and randomized
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Place ball
i
n
the middle if it
l
eav
e
s the field
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno
B
rau
n
Added a ball
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Ad
d
ed borders at the top and botto
m
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Make
p
addles normal
bodies and
m
o
ve them
b
y ap
p
lying
.
.
.
commit
|
commitdiff
|
tree
next