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: Changed Collision. It now consists of a time of impact and a contact point.
2009-03-04
Hanno Braun
P
hysic
s
: Chan
g
ed
C
ollisi
o
n
.
It now con
s
ists of a
time
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Ha
n
no Brau
n
Physics: Added
the clas
s
Contact which represents a
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Braun
Physics: Changed the way th
e
physics simulat
i
on
wor
k
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno B
r
aun
Physics: App
l
y impulses
to
b
odies
i
n
W
orld
.
commit
|
commitdiff
|
tree
2009-03-04
H
a
nno Br
a
un
Physics: Min
o
r refactorin
g
in Body
.
commit
|
commitdiff
|
tree
2009-03-04
H
a
n
no
Braun
Physics: Added a test
that
m
akes sure no null
f
orces
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
H
anno B
r
aun
Physics: Ad
d
e
d
supp
o
rt fo
r
ap
p
lying
impulses
to Body
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Br
a
un
Removed the
de
p
endency to Phys2D
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Braun
Whitespace correction
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Braun
In the ma
i
n loop, the world wouldn't
be stepped according
.
.
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Braun
Don't sleep fo
r
a fixed ti
m
e
.
Ad
a
pt sleep time
t
o
arc
h
ieve
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno B
r
aun
Replaced Phys2D
with the new p
h
ysics p
a
ckage
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Ph
y
sics: The distance
b
etw
e
en
circles
was inc
o
rrect
l
y
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Phy
s
ics:
S
impleNarro
w
Phase could th
r
ow an Assert
i
onError
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
P
hysics
:
A
d
d
e
d some
tolerance
t
o the
u
nit
v
e
ctor check
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
Physics: Use Vec2D
.
squa
r
edLe
n
gth
to check normal length
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
Physics: Added more information
to
exc
e
p
tion
m
essage
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
n
o
B
raun
Physics:
R
e
p
laced a use of
t
he
d
eprec
a
ted
method List
.
+
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
Physics: Remove
d
V
e
c
2D
.
inverse
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Bra
u
n
Physics:
U
se -ve
c
i
nstead of vec
.
inverse
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added th
e
unary -
o
perator to Vec2
D
.
-vec
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Bra
u
n
Physics:
D
eleted N
o
NarrowPhase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Ph
y
sics:
M
ade
Simpl
e
NarrowPhase the de
f
a
u
l
t narrow
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Im
p
lem
e
n
ted Si
m
pleN
a
rrow
P
hase,
a
n
arrow
p
h
ase
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
P
h
ys
i
cs: Added
a
meth
o
d t
o
Vec2
D
that re
t
urns the norma
l
iz
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
ann
o
Brau
n
Ph
y
sics: Added m
e
thods
to Vec2D
t
hat compu
t
e the length
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
P
hysics
:
Docum
e
nt
e
d SimpleBroa
d
Phase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Bra
u
n
Physi
c
s: Documente
d
N
arrowPhase
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno
Braun
P
hysics: Documented Co
l
lisio
n
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
no Br
a
un
Physics:
D
ocumented Br
o
adPh
a
s
e
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
hysics: Code forma
t
tin
g
correction
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Brau
n
P
hysics: Implemen
t
e
d c
o
llision h
a
ndl
i
ng fo
r
static
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Ch
a
nged
W
o
rld
.
b
o
dies to a val
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Brau
n
P
h
ysics: Veri
f
y that n
o
rmal vectors in Col
l
ision are
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics
:
Whitespac
e
correctio
n
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Di
s
allow Body's m
a
ss to be zero
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno
B
raun
Physics: Imp
l
emen
t
ed collision handling for collisions
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Braun
Physics: Added a method to Vec2D that c
a
n split a v
e
cto
r
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
aun
Physi
c
s: Added a
s
ubstracti
o
n met
h
od
to Vec2D
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
ra
u
n
Physics: Perform
b
road
and na
r
row
p
h
ase coll
i
sion detect
i
on
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Br
a
un
Physics:
M
a
d
e sur
e
Wo
r
ld's broad a
n
d narrow phases
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Renamed
some test me
t
hods
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Use an
i
nstanc
e
of
S
im
p
leBroadPhase
i
n World
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phys
i
c
s
:
R
e
n
amed
a
t
es
t
m
e
thod
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
hys
i
cs:
Ad
d
ed the trait B
r
oadPhase togethe
r
with a
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
no Braun
Physics: Renamed CollisionSo
l
ver to N
a
r
rowPhase
.
A
l
so
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
B
raun
Physics: Worl
d
now has a NoCollisionSolver after being
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
no Braun
Physics:
A
d
ded th
e
t
r
ai
t
Colli
s
ionSolver
.
Also added
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added a clas
s
that
mod
e
ls a c
o
llision
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno
B
rau
n
P
h
ysics
:
Added a method t
o
Vec
2
D that computes the
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
Phy
s
ic
s
: S
o
me code
f
orma
t
ting and documen
t
ation
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
P
hysic
s
:
A
dd
e
d
t
w
o shap
e
s, cir
c
le
s
and line segm
e
n
ts
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o
B
r
a
u
n
Physics:
Added a test that m
a
kes s
u
re force
s
are
a
p
plied
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added a
f
eatu
r
e
that al
l
ows to constrain the
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nn
o
Braun
Physics: Added a simple wo
r
ld c
l
ass
t
hat c
a
n a
p
pl
y
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o
B
r
a
un
Physics: Ad
d
ed a method
to Body that resets the applied
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phys
i
cs: Added scalar division t
o
vector
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Added
the begi
n
n
i
ngs of an
e
xperimental ph
y
sics package
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nn
o
Br
a
un
s
c
ala
.
Rando
m
is
deprecated
.
Use java
.
util
.
R
andom
instead
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Brau
n
Activa
t
ed d
e
precation warnings
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Input: Documented KeyM
a
p
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Input:
Updated KeyHandler d
o
cumentati
o
n
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Input: KeyHandler is no
l
onger a PBasic
I
nput
E
ventHandler
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
n
no Braun
I
nput: R
e
f
actore
d
KeyHandler
.
d
oIfP
r
e
s
se
d
.
It
n
ow uses
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno
Br
a
u
n
Input: Added u
n
it tests for Ke
y
Handler
.
doIfP
r
es
s
ed
.
commit
|
commitdiff
|
tree
2009-02-18
H
anno Bra
u
n
Input
:
Removed KeyHandl
e
r
.
d
o
IfOrE
l
s
e
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
nno B
r
aun
Use fore
a
ch loop f
o
r input handli
n
g
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Bra
u
n
Use
Ke
y
Han
d
ler
.
isPressed for input handli
n
g
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
no Braun
Renamed KeyHandler
.
doIfRetu
r
nResult to doIfPressed
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
no Braun
Added unit tests for KeyHandler
.
isPressed
.
commit
|
commitdiff
|
tree
2009-02-18
H
anno
B
raun
Input: Added a new function to KeyHandler, i
s
P
r
essed
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Rem
o
ved the old InputH
a
ndle
r
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Brau
n
Us
e
d t
h
e new generic input functio
n
ality in plac
e
of
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
no Braun
Renamed th
e
Inp
u
tHandler class from the imported
i
n
pu
t
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
anno Bra
u
n
Renamed the InputHandler fro
m
the
i
m
p
ort
e
d input package
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Im
p
orted clas
s
e
s
for generic input handlin
g
from anoth
e
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Bra
u
n
A
d
d
ed e
x
ecution sc
r
ip
t
s fo
r
Linux/Unix and Windows
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
H
a
nno
Braun
A
d
ded
S
cala as a dependency
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Update score display posi
t
i
on
w
hen
s
core ch
a
nges
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno
B
raun
Extracted scor
e
l
ogic into its own cla
s
s
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno
B
raun
Implement
e
d score
c
ounting
.
commit
|
commitdiff
|
tree
2009-01-16
Han
n
o Br
a
un
Adjusted paddle han
d
li
n
g
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Br
a
un
Adju
s
te
d
b
a
ll
s
pawning mechanics
.
commit
|
commitdiff
|
tree
2009-01-16
H
an
n
o Br
a
un
Re
q
u
e
s
t
ed focus
for the
c
anvas
.
This fixes the prob
l
e
m
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno
B
r
a
un
Changed paddle handling
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Brau
n
Made ball
starting velocit
y
faster in
x direction
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Extracted bal
l
functionality into a cl
a
ss and rand
o
m
i
z
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno
B
r
a
un
Pla
c
e ball in the middle if
it
le
a
v
es the field
.
commit
|
commitdiff
|
tree
2009-01-15
Hann
o
Br
a
un
Added a
b
all
.
commit
|
commitdiff
|
tree
2009-01-15
H
a
nno B
r
au
n
Added
borders at the
to
p
and
b
ottom
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Ma
k
e p
a
d
d
les norm
a
l bodies and mo
v
e t
h
em by
a
pplying
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
H
anno Br
a
un
Added the two paddles
.
Display and mo
v
e them
.
commit
|
commitdiff
|
tree
2009-01-15
H
anno B
r
aun
Added cla
s
s for paddles
.
Ini
t
ializ
e
two an
d
relay inpu
t
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
H
anno Braun
Added input handling
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Added Phys
2
d as a d
e
pendenc
y
.
commit
|
commitdiff
|
tree
2009-01-15
H
a
nn
o
Braun
Pai
n
t a b
a
sic
p
l
a
ying fi
e
l
d
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Brau
n
Changed lic
e
nse to
A
pa
c
he lic
e
nse 2
.
0
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
A
dded
the Pic
c
olo
scene graph as a dependency
a
nd r
e
moved
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
H
anno
Braun
Made
g
i
t ignore the
l
ib
d
ire
c
t
o
ry
.
commit
|
commitdiff
|
tree
2008-12-23
H
an
n
o Br
a
un
Initial
commit
.
Thi
s
is th
e
firs
t
public ve
r
sio
n
o
f
.
.
.
commit
|
commitdiff
|
tree