Skip to content

Commit

Permalink
lets take a gander
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasRamos5 committed Aug 3, 2023
1 parent 9bb648d commit 1e14290
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions _notebooks/2023-08-02-Mario-Tube.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 17,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -153,11 +153,7 @@
" player.velocity.y = 0;\n",
" player.position.y += 0.1\n",
" player.velocity.y = 0.0001\n",
"\n",
" while (player.position.y + player.height < tube.position.y + tube.height) {\n",
" gravity = 0.02\n",
" }\n",
" gravity = 1.5\n",
" gravity = 0.2\n",
" \n",
" }\n",
" \n",
Expand Down Expand Up @@ -365,11 +361,7 @@
" player.velocity.y = 0;\n",
" player.position.y += 0.1\n",
" player.velocity.y = 0.0001\n",
"\n",
" while (player.position.y + player.height < tube.position.y + tube.height) {\n",
" gravity = 0.02\n",
" }\n",
" gravity = 1.5\n",
" gravity = 0.2\n",
" \n",
" }\n",
" \n",
Expand Down

0 comments on commit 1e14290

Please sign in to comment.