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: SimpleNarrowPhase could throw an AssertionError in some cases when a line...
2009-03-02
Hanno Braun
Physics
:
S
i
mpleNarrowPhase c
o
uld throw an AssertionErr
o
r
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added some
to
l
e
rance to the unit v
e
ctor che
c
k
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
ra
u
n
Physics:
U
se V
e
c
2D
.
s
quaredLength
t
o check nor
m
al
lengt
h
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
r
aun
Physics: A
d
ded
m
ore inf
o
rmation to exception message
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Braun
P
h
ysics: Replaced a use of the deprecated m
e
thod
L
ist
.
+
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Bra
u
n
Physics: R
e
moved Vec2D
.
i
nverse
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Use -vec inst
e
ad of vec
.
inverse
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
n
o Braun
P
h
ysics: Added the unary - opera
t
or to Vec2D
.
-vec
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Dele
t
e
d
NoNarrow
P
has
e
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phys
i
cs:
Mad
e
SimpleNarrowPhase the
d
efa
u
lt narrow
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physics:
Imple
m
ent
e
d SimpleN
a
rrowPhase, a narr
o
w
phase
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phys
i
cs: Added a meth
o
d to V
e
c2D that returns the norma
l
ized
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
Physics: Adde
d
methods t
o
V
ec
2
D that compute
t
he length
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Ph
y
s
ics:
Documented SimpleBr
o
adPhase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Bra
u
n
P
h
ysics
:
Docume
n
ted
N
arrowPhase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physi
c
s: Documented Collision
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phy
s
ics: Documented BroadPhase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
Physics:
Code formatting correction
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
h
ysic
s
: Implemented collision handlin
g
fo
r
static
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Br
a
un
Phy
s
ics: Changed World
.
bo
d
i
e
s to a val
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno
Braun
Physi
c
s: Ve
r
ify that
n
or
m
al vectors in Collis
i
o
n are
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
aun
Physi
c
s: Wh
i
tespa
c
e correction
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phys
i
cs: Disallow B
o
dy's mass to
be zero
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
h
ys
i
cs: Imple
m
ented
c
o
llision handl
i
ng
f
o
r
collisions
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added a
m
ethod to
Vec2D that can
spl
i
t a vector
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
ann
o
B
raun
Physics: Added a sub
s
tra
c
tion method to
Vec2D
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physi
c
s: Perform b
r
oad
and narrow phase
c
o
llision detect
i
on
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Bra
u
n
Physics: Made sure World's b
r
o
a
d and narrow phases
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Brau
n
Physics: Renamed some te
s
t
metho
d
s
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
n
o
Braun
Phy
s
ics: Us
e
an instance
of
Si
m
pleBroadPhase in
W
o
rld
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Brau
n
Physi
c
s:
R
enamed a te
s
t
method
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physic
s
: Added the
trait BroadPha
s
e together with a
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Braun
Ph
y
sics:
R
e
n
amed Co
l
lisi
o
nSolver to NarrowPhase
.
Also
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno
Braun
P
hysi
c
s:
World now has
a
NoCollisionSo
l
ver
a
fte
r
being
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Bra
u
n
Physics: Added the trait Co
l
lisionSolver
.
Also added
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added a
c
lass
t
hat models a coll
i
s
ion
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
r
aun
Physic
s
: A
d
ded a
method to Ve
c
2D t
h
at computes the
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Ph
y
sics: Some code form
a
tting an
d
documen
t
ati
o
n
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics:
Added two shapes, circl
e
s and line s
e
gmen
t
s
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Ph
y
s
i
cs: Added
a test
that m
a
kes sure forc
e
s are appl
i
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
Physics: Added a
feature
t
hat allo
w
s to constrai
n
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Bra
u
n
P
hysics
:
A
d
d
e
d
a simple world class that can ap
p
ly
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno
B
r
aun
Physics: Ad
d
ed a method
to Bod
y
that resets the applie
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added sc
a
lar divis
i
on to vector
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Added the be
g
innings of an
experi
m
ental p
h
y
sics packag
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
scala
.
R
andom is dep
r
e
c
ated
.
U
s
e
java
.
util
.
Random
inst
e
ad
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Bra
u
n
Activate
d
deprecation
w
arnings
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Input: Do
c
u
m
ented KeyMap
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
n
no Braun
Input: Updated
K
eyH
a
n
d
ler do
c
u
m
entation
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Input: Key
H
andle
r
is no longer a PBasic
I
nputEventHandler
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
nno
B
raun
Input: Refactored
K
e
y
H
andler
.
doIfPre
s
s
e
d
.
It now uses
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Inpu
t
:
Added unit
tests for
KeyHandler
.
doIfPressed
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Input:
R
e
m
o
ved KeyHandler
.
d
oIfOr
E
lse
.
commit
|
commitdiff
|
tree
2009-02-18
Hann
o
Braun
Use foreach
l
oop for
in
p
ut handling
.
commit
|
commitdiff
|
tree
2009-02-18
Han
n
o Braun
Use KeyHandler
.
isPressed for in
p
ut han
d
ling
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Renamed KeyHandler
.
doIfReturn
R
esul
t
to doIfPr
e
ssed
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
A
d
d
ed unit tests for
KeyHandler
.
is
P
re
s
sed
.
commit
|
commitdiff
|
tree
2009-02-18
Han
n
o Br
a
un
In
p
u
t
: Adde
d
a new f
u
nction to
KeyHan
d
ler,
is
P
ressed
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
nno Br
a
un
Removed the old
I
n
p
utHandl
e
r
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Br
a
un
Used
t
he new generic
input functionality in place of
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Renamed the InputHandl
e
r clas
s
from
t
he imported inp
u
t
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Brau
n
Renamed the InputHandler
f
rom
the imported input
p
ackage
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Imported cla
s
s
es
for
generic i
n
put handling from
a
not
h
e
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Brau
n
Added execution
s
cr
i
pts for Lin
u
x/
U
nix and Windo
w
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
H
anno Braun
Adde
d
Scala as a dependency
.
commit
|
commitdiff
|
tree
2009-01-16
Hann
o
Braun
Updat
e
score dis
p
lay position when sc
o
re changes
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno
Braun
Extracted
sc
o
re logic into its ow
n
class
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Imp
l
emented scor
e
c
ou
n
ting
.
commit
|
commitdiff
|
tree
2009-01-16
Ha
n
no Braun
Adjus
t
ed pa
d
dle h
a
ndling
.
commit
|
commitdiff
|
tree
2009-01-16
H
anno Brau
n
Adjusted ball spawnin
g
me
c
han
i
cs
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
R
eque
s
t
e
d focus fo
r
the canvas
.
This fixes the problem
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Changed padd
l
e handlin
g
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Made ball s
t
arting velocity faster
i
n x
d
i
r
ec
t
i
o
n
.
commit
|
commitdiff
|
tree
2009-01-15
H
a
nno
B
rau
n
E
x
tracted ball functi
o
nal
i
ty
i
n
to a
c
lass and randomized
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Bra
u
n
Place ball in the middle i
f
it
le
a
ves
t
he field
.
commit
|
commitdiff
|
tree
2009-01-15
Hann
o
Br
a
un
Added
a
ball
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Adde
d
borders
a
t
the top and b
o
ttom
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno
Braun
Make paddl
e
s
normal
b
o
d
ies and
mov
e
th
e
m by a
p
pl
y
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hann
o
Braun
A
d
d
ed the tw
o
paddles
.
Display
a
nd move them
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Added class for
p
addles
.
Initia
l
i
z
e
two a
n
d relay input
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hann
o
Br
a
un
Added in
p
ut handling
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
A
dd
e
d Phys2d as a depende
n
cy
.
commit
|
commitdiff
|
tree
2009-01-15
H
ann
o
Braun
Paint a basic p
l
aying field
.
commit
|
commitdiff
|
tree
2009-01-15
H
a
n
no
B
r
aun
C
h
ange
d
license to Apache license 2
.
0
.
commit
|
commitdiff
|
tree
2009-01-15
Hann
o
Braun
A
dded the
P
icco
l
o scene
g
raph as a dependency and removed
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Bra
u
n
Made gi
t
ignore the lib direct
o
ry
.
commit
|
commitdiff
|
tree
2008-12-23
Hanno Brau
n
Initial commit
.
T
his
i
s the first public ve
r
sion of
.
.
.
commit
|
commitdiff
|
tree