Skip to content

Latest commit

 

History

History
451 lines (151 loc) · 12.9 KB

File metadata and controls

451 lines (151 loc) · 12.9 KB

high-school-javascript-game-dev-assignment-images

All the assignments for Game Dev as images

Short version of VIDEO-FLAC

image

Long Version of VIDOE-FLAC

image

Possible online editors.

Note: As of 2023 I really like codesandbox other than some confusing things that it wants you to fork your boxes, I think it is the best editor for a course like this since you typically can make a URL that then loads the entire backaend for your advanced code.

For static code we typically use GitPages which is part of github.

Other Editors:

https://www.w3schools.com/js/tryit.asp?filename=tryjs_editor

https://codepen.io/pen/ click the "Strat Coding" button and put all the code into the html side

http://jsbin.com/?html,output

https://liveweave.com/

index.html

image

t1a01-basic-web-page-fred.html

image

t1a02-lists-tables-fred.html

image

t1a03-forms-fred.html

image

t1a04-css-by-fred.html

image

https://cssreference.io/

http://www.cheat-sheets.org/sites/css.su/

https://www.w3schools.com/html/html_css.asp


t1a05-input-output-by-fred.html

image

t1a06-variables-by-fred.html

image

t1a07-decision-by-Fred.html

image

t1a08-loops-by-fred.html

image

t1a09-functions-by-fred.html

image

t1a10-events-by-fred.html

image

t2a01-arrays-by-fred.html

image

t2a02-objects-by-fred.html

image

t2a03-classes-by-fred.html

You can get the code here t2a03-Classes-by-fred.html

image

t2a04-extend-class-by-fred.html

You can get the code here t2a04-extend-class-by-fred.html

image

Code for T2A05-review-by-fred

On one webpage get all the code working from the following page

as a webpage https://hpssjellis.github.io/beginner-tensorflowjs-examples-in-javascript/beginner-examples/tfjs06-javascript.html

t3a11-ML-edgeimpulse.html EdgeImpulse Machine Learning Model to be put on your github. (Make a new folder inside your public folder with an index.html inside the new folder)

Note: The code for the edgeImpulse index.html is here indexEI.html

t3a12-ML-huggingFace.html HuggingFace Javascript Machine Learning Model Grab one or two of these example Javascript access to HuggingFace ML Datasets and put them on your github site.

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t2a06-spy-by-fred.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t2a07-move-background-name.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t2a08-canvas-name

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t2a09-local-storage-name.html


as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t2a10-translate-name.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t2a10b-sound-by-fred.html


as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t2a11-game-template-fred.html

The key to understanding collisions in the game template is this bit of code

image

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t2a12-sort-name2.html

Helpers Not for marks

Helper Not for marks x-keydown.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/x-keydown.html

Helper Not for marks x-rotate01.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/x-rotate01.html

Proof-level1-draft-uploaded.

Use the game template t2a11-game-template-fred.html to make your level1 game. The level1 game must be finished to pass the course

Proof-level2-draft-uploaded-

This can be a continuation of the level1 2D Javascript game above or your own game engine or the following:

Typically we use Construct3 online, you do not have to register

  1. click "Try now"
  2. click on a template, some are paid ones I suggest to try "Driving"
  3. Click preview, play game to make sure it works
  4. Menu --> Project --> Export --> Web (HTML5) --> Next --> Next --> click Download...template.zip
  5. Extract the zipped file and drag the entire folder to your github
  6. Create an index link to the folderr name
  7. Test your online javascript level 2 game.

Term 4 assignments. Some are bonus!

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t4a01-game-template-with-wasd-by-fred.html

More slightly different game templates to help with your coding final assignment

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t4a03-complete-fred2.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t4a04-maze2.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t4a05-template-with-wasd-and-score.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t4a06-bullet.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t4a07-boundaries-from-maze.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t4a08-random-move.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t4a09-bounce.html

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/t4a10-flappy.html

Code for z-hackbrowser.html Traditionally most students do not understand how this browser object information page works.

There are multiple blank buttons ready for you to set up an object on the page and then extract information about the object: class names, methods and properties. An awesome page but confusing to get fully working

as a webpage https://hpssjellis.github.io/high-school-javascript-game-dev-assignment-images/public/z-hackbrowser.html

Wow: A student found pyScript,

Pyscript allows Python inside a webpage. Best way to learan is look at the examples and then right-click-view-webpage https://pyscript.net/examples/

Startup php

Go to code sandbox and start a PHP container

By the way php is best for using mySQL and similar databases. Might be a good idea to try to use those.

code [here] [public/php.php]

image

A working example of this running in a codesandbox is here

https://ckp8k3-8080.csb.app/index.php

and the sandbox can be forked from https://codesandbox.io/p/devbox/php-example02-input-ckp8k3

Special 2023 Full VIDEO-FLAC assignments

As this years class has very advanced students, we are doing some live coding based on situations madeup in class The code below was made on the fly and is the starting point for improvements. Or are a problem given to the students and they find results that then we show the other students

t1z01-first-javascript-fred.html

image

t1z02-object-zombie-fred.html

image

t1z03-array-zombie-fred.html

For this see if you can auto polulate the select box
image

t1z04-classes-fred.html

image

t2z06 CodeSandBox PHP

image

t2z07-codesandbox-python-to-web Try this repo https://github.com/hpssjellis/codesandbox-docker-python-web

image

t1a05-year2-trivia-fred.html

image

t1a06-year2-calc-fred.html

image

t1a07-year2-map-fred.html

image