diff options
| author | Simon Chiang <[email protected]> | 2021-04-23 09:46:41 -0600 |
|---|---|---|
| committer | Amir Rajan <[email protected]> | 2021-05-26 16:08:45 -0500 |
| commit | d5115606c96b0fe0affd72e6e0b72edce7e51042 (patch) | |
| tree | 5d750d974dc947163dc4cb37a0c9bbac9266a207 /samples/99_genre_arcade | |
| parent | 1404fd05a99cf745c33a4316b9d5e1562083c3ae (diff) | |
| download | dragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.tar.gz dragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.zip | |
Typo fixes
Diffstat (limited to 'samples/99_genre_arcade')
| -rw-r--r-- | samples/99_genre_arcade/snakemoji/app/main.rb | 6 | ||||
| -rw-r--r-- | samples/99_genre_arcade/twinstick/app/main.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/samples/99_genre_arcade/snakemoji/app/main.rb b/samples/99_genre_arcade/snakemoji/app/main.rb index 3bffa22..648b728 100644 --- a/samples/99_genre_arcade/snakemoji/app/main.rb +++ b/samples/99_genre_arcade/snakemoji/app/main.rb @@ -10,8 +10,8 @@ # https://gist.github.com/scorp200 #############LICENSE############ # Feel free to use this anywhere and however you want -# You can sell this to EA for $1,000,000 if you want, its completely free. -# Just rememeber you are helping this... thing... to spread... +# You can sell this to EA for $1,000,000 if you want, it's completely free. +# Just remember you are helping this... thing... to spread... # ALSO! I am not liable for any mental, physical or financial damage caused. #############LICENSE############ @@ -156,7 +156,7 @@ def defaults 🎮 🎮.🐍 ||= [] #Direction the head moves to 🎮.🚗 ||= [0, 0] - #Next_Direction, during input check only change this variable and then when game updates asign this to Direction + #Next_Direction, during input check only change this variable and then when game updates assign this to Direction 🎮.🚦 ||= [*🎮.🚗] #Your score 🎮.💰 ||= 0 diff --git a/samples/99_genre_arcade/twinstick/app/main.rb b/samples/99_genre_arcade/twinstick/app/main.rb index 4edef92..2ce1d50 100644 --- a/samples/99_genre_arcade/twinstick/app/main.rb +++ b/samples/99_genre_arcade/twinstick/app/main.rb @@ -64,7 +64,7 @@ def move_enemies args theta = Math.atan2(enemy.y - args.state.player.y, enemy.x - args.state.player.x) # Convert the angle to a vector pointing at the player dx, dy = theta.to_degrees.vector 5 - # Move the enemy towards thr player + # Move the enemy towards the player enemy.x -= dx enemy.y -= dy end |
