-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from raspberrypilearning/draft
Update txt files for localisation
- Loading branch information
Showing
2 changed files
with
52 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,72 @@ | ||
Import library code | ||
|
||
Wrap around | ||
|
||
The draw_player function goes here | ||
|
||
Setup your animation here | ||
|
||
Things to do in every frame | ||
|
||
Definitions for compatibility with the p5py processing library | ||
|
||
Shape | ||
|
||
Fonts | ||
|
||
Text | ||
|
||
Colour | ||
|
||
Images | ||
|
||
Environment | ||
|
||
Transform | ||
Add the colour of your theme | ||
|
||
Keyboard | ||
Positioned towards the screen bottom | ||
|
||
Draw collision point | ||
Your chosen colour | ||
|
||
Off the left of the screen | ||
Load your image | ||
|
||
Off the right of the screen | ||
Controls the size of the emoji | ||
|
||
Position around the centre, top | ||
Position around the centre | ||
|
||
Face | ||
|
||
Eyes | ||
|
||
Mouth | ||
Replace with your obstacle | ||
|
||
Collided | ||
Before drawing the player | ||
|
||
Put code to run once here | ||
Load your player image | ||
|
||
Width and height | ||
Load your obstacle image | ||
|
||
Put code to run every frame here | ||
Resize to fit your theme | ||
|
||
Keep this to run your code | ||
Draw a fir tree | ||
|
||
The draw_obstacle function goes here | ||
Green for needles | ||
|
||
Brown for trunk | ||
|
||
Off the bottom of the screen | ||
Increases each frame | ||
|
||
Off the top of the screen | ||
Wrap around | ||
|
||
Add the colour of your theme | ||
Replace with your obstacle | ||
|
||
Positioned towards the screen bottom | ||
Any number is fine | ||
|
||
Your chosen colour | ||
Draw collision point | ||
|
||
Load your image | ||
Useful for debugging | ||
|
||
Controls the size of the emoji | ||
Draw circles around the pixels to check for collisions | ||
|
||
Position around the centre | ||
Off the left of the screen | ||
|
||
Replace with your obstacle | ||
Off the right of the screen | ||
|
||
Before drawing the player | ||
Include global variables here | ||
|
||
Resize to fit your theme | ||
Use the global level | ||
|
||
Draw a fir tree | ||
You have reached level | ||
|
||
Green for needles | ||
Score: | ||
|
||
Brown for trunk | ||
Text to display | ||
|
||
Increases each frame | ||
Great flying! | ||
|
||
Any number is fine | ||
Doing well! | ||
|
||
On background | ||
Keep going! | ||
|
||
Useful for debugging | ||
But be careful! | ||
|
||
Draw circles around the pixels to check for collisions | ||
Push harder! | ||
|
||
Include global variables here | ||
Head for base! | ||
|
||
Use the global level |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,38 @@ | ||
speed | ||
|
||
score | ||
|
||
draw_obstacles | ||
|
||
You reached speed | ||
|
||
You reached level | ||
|
||
ob_x | ||
|
||
ob_y | ||
|
||
skiing | ||
|
||
crashed | ||
|
||
player_y | ||
|
||
collide | ||
|
||
safe | ||
|
||
level | ||
|
||
collide2 | ||
|
||
collide3 | ||
draw_player | ||
|
||
collide4 | ||
|
||
safe_player | ||
|
||
crashed_player | ||
player_y | ||
|
||
player_x | ||
player | ||
|
||
car | ||
draw_player | ||
|
||
lives | ||
mouse_x | ||
|
||
invulnerability | ||
image_file | ||
|
||
display_score | ||
x_coord | ||
|
||
ππ You win! ππ | ||
y_coord | ||
|
||
display_lives | ||
width | ||
|
||
rocket | ||
height | ||
|
||
rock | ||
draw_obstacles | ||
|
||
random_seed | ||
ob_x | ||
|
||
player | ||
ob_y | ||
|
||
obstacle | ||
|
||
Great flying! | ||
|
||
Doing well! | ||
collide | ||
|
||
Keep going! | ||
level | ||
|
||
But be careful! | ||
score | ||
|
||
Push harder! | ||
message | ||
|
||
Head for base! |