From 8096dc67f5a7e094899d77c1a4dcb5f04a478d76 Mon Sep 17 00:00:00 2001 From: Webeled Date: Fri, 27 Sep 2013 18:25:18 +0100 Subject: [PATCH] Corrected few typos and added a keyboard exampl --- examples/groups/add to group 2.php | 2 +- examples/groups/create group.php | 2 +- examples/groups/group transform - rotate.php | 2 +- examples/groups/group transform.php | 2 +- examples/input/keyboard.php | 95 ++++++++++++++++++++ 5 files changed, 99 insertions(+), 4 deletions(-) create mode 100644 examples/input/keyboard.php diff --git a/examples/groups/add to group 2.php b/examples/groups/add to group 2.php index 726a1f68..5ece783f 100644 --- a/examples/groups/add to group 2.php +++ b/examples/groups/add to group 2.php @@ -23,7 +23,7 @@ friendAndFoe = game.add.group(); enemies = game.add.group(); - // You can directly create sprite and add it to a group + // You can directly create a sprite and add it to a group // using just one line. friendAndFoe.create(200, 240, 'ufo'); diff --git a/examples/groups/create group.php b/examples/groups/create group.php index 3ce40f43..0474e4bf 100644 --- a/examples/groups/create group.php +++ b/examples/groups/create group.php @@ -1,6 +1,6 @@ diff --git a/examples/groups/group transform - rotate.php b/examples/groups/group transform - rotate.php index f2b0c7cd..e569cc68 100644 --- a/examples/groups/group transform - rotate.php +++ b/examples/groups/group transform - rotate.php @@ -1,6 +1,6 @@ diff --git a/examples/groups/group transform.php b/examples/groups/group transform.php index c6a4fcea..06a8854a 100644 --- a/examples/groups/group transform.php +++ b/examples/groups/group transform.php @@ -1,6 +1,6 @@ diff --git a/examples/input/keyboard.php b/examples/input/keyboard.php new file mode 100644 index 00000000..c5a432da --- /dev/null +++ b/examples/input/keyboard.php @@ -0,0 +1,95 @@ + + + + + +