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
Use PiccoInput instead of the kong.input package. PiccoInput is just kong.input extra...
2009-03-07
Hanno Brau
n
U
se P
i
cco
I
nput in
s
tead of the kong
.
input package
.
PiccoInpu
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
H
anno Braun
Added Pic
c
oInput as a depe
n
den
c
y
.
commit
|
commitdiff
|
tree
2009-03-07
Hanno Braun
Physics: Replaced the
col
l
isio
n
dete
c
tio
n
algorit
h
m
.
.
.
commit
|
commitdiff
|
tree
2009-03-06
Hanno
Brau
n
Physics: Use
Vec2D
.
pr
o
j
ect inst
e
a
d of Vec2D
.
split in
.
.
.
commit
|
commitdiff
|
tree
2009-03-06
H
a
nno Braun
Phy
i
sic
s
:
Added metho
d
t
o
Vec2
D
t
h
a
t
projects
th
e
vecto
r
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Bra
u
n
Physi
c
s
: Added a method to
Vec2D that returns t
h
e or
t
h
o
gonal
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Braun
Phy
s
ics: Changed the way line
s
egments are
defi
n
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
H
a
nno Braun
Physics: Added a s
m
all tolerance when updati
n
g b
o
dy
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
H
a
n
n
o Braun
Physi
c
s
:
Don't let bodies intersect w
h
en
t
hey
c
o
llide
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Braun
Removed debug ou
t
p
ut
.
commit
|
commitdiff
|
tree
2009-03-05
Han
n
o
B
raun
Physics
:
Implemented continious
c
o
llision detec
t
i
on
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno
B
r
aun
Physics: C
h
anged Collision
.
It now
consists o
f
a
time
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Braun
Physics:
A
dde
d
the
c
lass Contac
t
which re
p
r
esents a
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hann
o
Braun
Physics: C
h
anged t
h
e way th
e
physics
s
imulation w
o
rk
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
H
a
nno Braun
Physics
:
Apply impu
l
s
e
s to bo
d
ies in
W
o
r
l
d
.
commit
|
commitdiff
|
tree
2009-03-04
H
anno Braun
Physic
s
: Minor refactoring in Body
.
commit
|
commitdiff
|
tree
2009-03-04
Ha
n
no Braun
Physics: Added a test that
m
akes
s
u
r
e no null
forces
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
H
a
nno
B
raun
Physics: Added
suppo
r
t for applying impu
l
ses to Body
.
commit
|
commitdiff
|
tree
2009-03-03
Ha
n
no Braun
Removed
the dependency to P
h
ys2
D
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Braun
Whit
e
s
pa
c
e correction
.
commit
|
commitdiff
|
tree
2009-03-03
Hann
o
Braun
I
n the main loop
,
the
world wouldn't be ste
p
ped according
.
.
.
commit
|
commitdiff
|
tree
2009-03-03
H
anno
Braun
Do
n
't sl
e
ep for a fixed
t
ime
.
A
dapt sleep ti
m
e to arch
i
eve
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno
Brau
n
R
e
p
l
a
c
ed Phys2D with
the new phy
s
ics
package
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
Physics: The dista
n
ce be
t
ween circles was in
c
orrectly
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nn
o
Braun
Physics: SimpleNarro
w
P
hase
coul
d
throw
an AssertionEr
r
or
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
aun
Physics: Added
so
m
e toler
a
nce
to the un
i
t vec
t
or chec
k
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Use Vec2D
.
s
q
uaredLe
n
gth to check n
o
rmal
l
e
ngth
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Bra
u
n
Physics: Added more info
r
mation to exceptio
n
message
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Replaced a use of th
e
de
p
rec
a
ted method Lis
t
.
+
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Braun
Physics:
R
e
moved
V
ec2D
.
inverse
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
aun
Physics: Use -
v
ec instead
o
f vec
.
inverse
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
Physics
:
Added the
unary - oper
a
tor to V
e
c
2
D
.
-vec
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Br
a
un
Physics
:
Deleted NoNar
r
owPh
a
se
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Br
a
u
n
Ph
y
sics: Made SimpleNarrowPhase the defaul
t
narrow
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physi
c
s
: I
m
pleme
n
te
d
SimpleNarrowPhase, a
narrow
p
hase
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno
B
rau
n
Physics: Added a
m
ethod to Vec
2
D that returns
the n
o
rmaliz
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
no Braun
P
h
y
s
i
c
s: Added metho
d
s to
Vec2D
t
ha
t
compute the length
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
ann
o
Br
a
un
Ph
y
sics:
Do
c
u
mented SimpleBr
o
adPh
a
se
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Bra
u
n
Physics:
D
ocumented NarrowP
h
ase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics:
D
ocu
m
ented Colli
s
ion
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Braun
P
h
ysics: Doc
u
mented Broad
P
hase
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no
B
raun
Physics: Code for
m
atti
n
g c
o
rrection
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Bra
u
n
Physics: Implemented collision h
a
ndling
for st
a
tic
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
h
ysics: Ch
a
n
ged World
.
b
odies to a val
.
commit
|
commitdiff
|
tree
2009-03-02
H
an
n
o
Braun
Physics: Verify that
nor
m
a
l
v
e
cto
r
s in Colli
s
ion are
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
r
a
un
Physic
s
: W
h
i
tespace correction
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physic
s
:
D
i
sall
o
w Body
'
s mass to be
z
ero
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Ph
y
sics: Implemented
collisi
o
n handling for
collision
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added a method to Vec2D that can spli
t
a vecto
r
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phys
i
cs
:
A
d
ded
a
s
ubstractio
n
method to Ve
c
2D
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
no
Braun
Physics: Perform
broad
and narrow
p
hase collision
d
e
tect
i
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics
:
Ma
d
e
s
ure World's
b
r
oad and narrow phases
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physics: Renamed some
te
s
t methods
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
n
o
Braun
Physics: Use an inst
a
nce of S
i
mpleBroadPhase in W
o
r
l
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics:
Renamed
a
test method
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
ra
u
n
Phys
i
cs:
Ad
d
ed
t
he trait BroadP
h
ase to
g
e
ther with a
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physics: Re
n
amed CollisionS
o
lv
e
r to NarrowPhase
.
Also
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Brau
n
Physi
c
s: World
n
ow has a No
C
ollis
i
o
n
Sol
v
er aft
e
r
being
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno
B
r
aun
Physics: Added the
trait CollisionSolver
.
A
lso added
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
h
y
s
i
cs: Adde
d
a class that models
a
collision
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added a
method to Vec2D that comput
e
s
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Braun
Physics: Some c
o
de form
a
tting and documentat
i
on
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added two shape
s
, c
i
rcles and
line segments
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Braun
Phy
s
ics
:
Added a t
e
st
t
hat m
a
kes
s
ure fo
r
ces are
a
pplied
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
ra
u
n
Phys
i
cs: Add
e
d a feat
u
re that allows
t
o co
n
strai
n
the
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no
Braun
Physics: Added a simple
w
orld c
l
ass
that can apply
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
hysics: Added a method to Body
that rese
t
s the
a
pplie
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
P
h
ysics
:
Added scalar divi
s
ion
to
v
ector
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Add
e
d t
h
e beginnings
o
f an e
x
per
i
mental physics package
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
scala
.
Random is deprec
a
ted
.
Use
jav
a
.
util
.
Random ins
t
ead
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no
Brau
n
Activated deprecat
i
on warning
s
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Input: Document
e
d KeyMa
p
.
commit
|
commitdiff
|
tree
2009-02-18
Hann
o
Brau
n
Input: U
p
dated
KeyH
a
ndler documentation
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
I
nput: KeyHandler is no lo
n
ger
a
PBas
i
c
InputEventHa
n
dler
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
n
n
o Braun
Input: Refactored
K
e
y
H
a
n
dler
.
doI
f
Pr
e
s
sed
.
I
t
now uses
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno
B
raun
Input: Added uni
t
tests for K
e
yH
a
n
d
ler
.
doI
f
Pres
s
ed
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
no Braun
Input: Removed
K
eyHan
d
ler
.
doIfOrElse
.
commit
|
commitdiff
|
tree
2009-02-18
H
anno Braun
Use foreach loop
f
or input ha
n
dling
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Use KeyHandler
.
isP
r
essed f
o
r input ha
n
dli
n
g
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Renamed KeyHandler
.
doIfRetu
r
nResult to do
I
fP
r
ess
e
d
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Added unit t
e
sts for KeyHandler
.
isPressed
.
commit
|
commitdiff
|
tree
2009-02-18
Hann
o
Braun
Input: Added a ne
w
function to KeyHan
d
l
e
r, isP
r
essed
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Bra
u
n
Removed t
h
e old InputH
a
ndler
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
nno Braun
Used the new generic i
n
put fun
c
t
io
n
alit
y
in pla
c
e o
f
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno B
r
aun
Renamed the InputHandler clas
s
from the i
m
po
r
ted input
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
nno Braun
Rename
d
the InputHandler fr
o
m t
h
e import
e
d input pa
c
kage
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Brau
n
Imported
c
lasses fo
r
generi
c
inpu
t
h
andling from another
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Added executi
o
n scripts for Li
n
u
x/
U
n
ix and Windows
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Br
a
u
n
Adde
d
Scala as a depe
n
den
c
y
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Bra
u
n
Upd
a
te score
d
isplay
p
osition whe
n
score changes
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
E
xtracte
d
score lo
g
ic
into
i
ts
o
wn class
.
commit
|
commitdiff
|
tree
2009-01-16
Ha
n
no Braun
Impl
e
m
ented score c
o
untin
g
.
commit
|
commitdiff
|
tree
2009-01-16
H
a
nno Braun
Adjusted paddle hand
l
ing
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno
B
rau
n
Adjusted
ball
spawning mechan
i
cs
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Brau
n
Req
u
e
s
ted focus
f
o
r
the canvas
.
This fi
x
es the p
r
oblem
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno
Br
a
un
Changed pa
d
dle hand
l
in
g
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Made ball st
a
rting vel
o
ci
t
y fa
s
ter in x direction
.
commit
|
commitdiff
|
tree
2009-01-15
H
a
nn
o
Braun
E
x
tracted ball functionality into a class and r
a
ndomized
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Place ball in the middle if
i
t
leaves the field
.
commit
|
commitdiff
|
tree
2009-01-15
Ha
n
no Brau
n
Added a
b
all
.
commit
|
commitdiff
|
tree
next