gwenhael
|
a859c644b5
|
update repo url
|
2017-04-08 17:09:37 +02:00 |
|
Gwenhael Le Moine
|
67b58796fc
|
parametrable theme
|
2011-07-16 14:33:18 +02:00 |
|
Gwenhael Le Moine
|
6cf00416fb
|
cosmetics
|
2011-07-16 14:17:26 +02:00 |
|
Gwenhael Le Moine
|
18bdc16797
|
declare functions as var
|
2011-07-16 13:55:58 +02:00 |
|
Gwenhael Le Moine
|
c8611eb1af
|
forgotten parameter
|
2011-07-16 12:45:13 +02:00 |
|
Gwenhael Le Moine
|
613b34eda7
|
load_sprites monkey-patch assets to put assets in it
|
2011-07-16 12:44:17 +02:00 |
|
Gwenhael Le Moine
|
6ae7f9fbbd
|
uncouple switch_actor from its display part
|
2011-07-16 12:38:34 +02:00 |
|
Gwenhael Le Moine
|
56c25cdfb3
|
move back board update into make_a_move, it's still business, not view
|
2011-07-16 12:33:08 +02:00 |
|
Gwenhael Le Moine
|
62f88f1fd8
|
uncoupe move path finding from updating board and drawing
|
2011-07-16 12:30:27 +02:00 |
|
Gwenhael Le Moine
|
104918e0b8
|
path is an array
|
2011-07-16 11:47:34 +02:00 |
|
Gwenhael Le Moine
|
cc34d45d15
|
get_pos returns an array; use switch_actor on click
|
2011-07-16 11:44:36 +02:00 |
|
Gwenhael Le Moine
|
a97729493a
|
we change state directly; save moves' path
|
2011-07-16 11:39:02 +02:00 |
|
Gwenhael Le Moine
|
127218e20a
|
get rid of start_loop; refactor load_level
|
2011-07-15 21:26:08 +02:00 |
|
Gwenhael Le Moine
|
bcbfac8502
|
I reorganize and it's my joy
|
2011-07-15 20:57:55 +02:00 |
|
Gwenhael Le Moine
|
a9214894a1
|
void -> empty, second try
|
2011-07-15 12:28:25 +02:00 |
|
Gwenhael Le Moine
|
1a206770fe
|
void is a js keyword
|
2011-07-15 12:23:33 +02:00 |
|
Gwenhael Le Moine
|
dcd0c7aaf3
|
add default
|
2011-07-15 11:51:09 +02:00 |
|
Gwenhael Le Moine
|
245475656f
|
use jQuery() instead of $()
|
2011-07-15 11:29:36 +02:00 |
|
Gwenhael Le Moine
|
6e59e385ea
|
order (and discipline)
|
2011-07-15 08:50:11 +02:00 |
|
Gwenhael Le Moine
|
bcda3f4b2a
|
use keycodes as values for direction enum, simplifies the switch
|
2011-07-15 08:48:30 +02:00 |
|
Gwenhael Le Moine
|
2bd110a87b
|
add optional level_index parameter
|
2011-07-14 13:10:52 +02:00 |
|
Gwenhael Le Moine
|
396cefca7d
|
show final alert only once, stop handling event then
|
2011-07-14 12:57:51 +02:00 |
|
Gwenhael Le Moine
|
b7bb9f32d6
|
highlight the mysterious nature of the display bug
|
2011-07-14 12:48:57 +02:00 |
|
Gwenhael Le Moine
|
0a59d7ba9d
|
display_level is called later anyway
|
2011-07-14 12:48:01 +02:00 |
|
Gwenhael Le Moine
|
7d2bf35c5a
|
factorize event handling
|
2011-07-14 12:47:10 +02:00 |
|
Gwenhael Le Moine
|
257ff69520
|
factorized drawing cell on canvas
|
2011-07-14 10:47:17 +02:00 |
|
Gwenhael Le Moine
|
7113035f06
|
cosmetics
|
2011-07-14 10:41:10 +02:00 |
|
Gwenhael Le Moine
|
3e192ee910
|
move code around to try and make more sense
|
2011-07-14 10:37:24 +02:00 |
|
Gwenhael Le Moine
|
0534ab04a2
|
refactoring gone wrong (pulled too early)
|
2011-07-14 10:31:23 +02:00 |
|
Gwenhael Le Moine
|
d34666810a
|
we know where to find the levels
|
2011-07-14 10:29:20 +02:00 |
|
Gwenhael Le Moine
|
435498c074
|
refoctoring II more
|
2011-07-14 10:28:36 +02:00 |
|
Gwenhael Le Moine
|
92ca178370
|
refactoring II in progress
|
2011-07-14 10:24:58 +02:00 |
|
Gwenhael Le Moine
|
f03dfbe4b2
|
refactoring II "moving things around"
|
2011-07-14 09:58:21 +02:00 |
|
Gwenhael Le Moine
|
0d07ddd09f
|
move things around (it's getting late, time to stop fiddling with this pointlessly)
|
2011-07-13 23:00:02 +02:00 |
|
Gwenhael Le Moine
|
42baf07f03
|
encapsulate everything in initialize_a_star()
|
2011-07-13 22:57:02 +02:00 |
|
Gwenhael Le Moine
|
fb35f9a22c
|
store dom container name into state
|
2011-07-13 22:55:43 +02:00 |
|
Gwenhael Le Moine
|
240233cc0e
|
move sprites into state.board_infos + load_sprites()
|
2011-07-13 22:42:48 +02:00 |
|
Gwenhael Le Moine
|
6323fb94ad
|
move board_infos into state ; remove options
|
2011-07-13 22:36:20 +02:00 |
|
Gwenhael Le Moine
|
3019da895d
|
increase timeout before drawing first level
|
2011-07-13 22:21:45 +02:00 |
|
Gwenhael Le Moine
|
1ffabde472
|
cosmetics
|
2011-07-13 22:19:35 +02:00 |
|
Gwenhael Le Moine
|
e4dfeb8cec
|
canvas adjustements :
. only draw full board when loading level
. draw only part of the bord each move
. or when switching actors
. + various tweaks
|
2011-07-13 22:17:50 +02:00 |
|
Gwenhael Le Moine
|
cc452edb3e
|
no need of dummy value
|
2011-07-13 21:37:57 +02:00 |
|
Gwenhael Le Moine
|
e1d41ce2b2
|
useless
|
2011-07-13 21:29:40 +02:00 |
|
Gwenhael Le Moine
|
dca98fdee3
|
comment
|
2011-07-13 20:53:52 +02:00 |
|
Gwenhael Le Moine
|
55e6404fae
|
use jQuery instead of getElementById
|
2011-07-13 20:52:59 +02:00 |
|
Gwenhael Le Moine
|
cf20b6eab4
|
beau
|
2011-07-13 20:51:27 +02:00 |
|
Gwenhael Le Moine
|
cea58a9e5b
|
remove debugging stuff
|
2011-07-13 20:50:32 +02:00 |
|
Gwenhael Le Moine
|
f643329db4
|
remove unused css classes
|
2011-07-13 20:48:37 +02:00 |
|
Gwenhael Le Moine
|
e85db4362f
|
refactorign
|
2011-07-13 20:27:10 +02:00 |
|
Gwenhael Le Moine
|
123d82374b
|
load star when document's ready
|
2011-07-13 20:26:33 +02:00 |
|