Skip to content

Three Second Rule

Toggle menu
  • Home
  • Tutorial
  • Technology
  • About
May 18, 2018April 22, 2020Moodle, Programming

How to use the Moodle form element ‘editor’ with files

Is it just me or is it really hard to find simple programming tutorials on Moodle? Especially for people like me who […]

January 31, 2018February 1, 2018Database, Programming, Technology

MySQL and PHP database connection basics

The following is a basic overview of how to use PHP to add data into a MySQL database from a HTML form. […]

January 28, 2018May 4, 2018Database, Programming, Technology

Editing MySQL database tables using LibreOffice on Mac

MySQL and LibreOffice Most of the time I use the great Sequel Pro app from http://sequelpro.com to edit SQL  (it’s really fast and […]

January 17, 2018April 27, 2021Programming, Technology

JavaScript Particle System Tutorial

By The Hubble Heritage Team (AURA/STScI/NASA)NASA Headquarters - Greatest Images of NASA (NASA-HQ-GRIN) - http://nix.larc.nasa.gov/info;jsessionid=1sl2so6lc9mab?id=GPN-2000-000933&orgid=12http://imgsrc.hubblesite.org/hu/db/images/hs-1999-25-a-full_tif.tif, Public Domain, https://commons.wikimedia.org/w/index.php?curid=127019

Part of the motivation for developing a really basic particle system[1] was to add explosions to the vertical shooter tutorial I was […]

January 8, 2018March 26, 2018Programming, Technology

Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (EXTENSION) – Part 10

Stage 10: Extension activities There is still so much that can be done to our game to make it better. Ideas include: […]

January 7, 2018January 28, 2018Programming, Technology

Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (SMOOTH MOVEMENT) – Part 9

Stage 9: Smooth Player Movement So far our player’s plane follows the mouse exactly. This makes for a fairly easy game; a […]

January 7, 2018January 28, 2018Programming, Technology

Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (AUDIO)- Part 8

Stage 8: Audio Because we have already created all the functions needed to track collisions we can now easily play a SFX […]

January 6, 2018January 28, 2018Programming, Technology

Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (SCORING)- Part 7

Stage 7: Heath and Score This stage introduces us to writing text onto our <canvas>. We could create a function to draw […]

January 6, 2018March 8, 2018Programming, Technology

Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (COLLISION DETECTION)- Part 6

Building the next 5 stages Obviously, there are some significant aspects of our game missing. At present there are no bullet or […]

January 6, 2018January 28, 2018Programming, Technology

Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (SHOOTING)- Part 5

  Stage 5: Bullets As with the other game objects we will create a bullet() function but each bullet will travel up […]

January 6, 2018January 28, 2018Programming, Technology

Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (PLAYER MOVEMENT) – Part 4

Stage 4: Loading and moving our player The code for moving our player sprite is very similar to the previous enemy and […]

January 5, 2018January 28, 2018Programming, Technology

Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (ENEMY PLANES) – Part 3

Stage 3: Loading and moving our enemy planes At this point we want to have your enemy planes start to appear. Our […]

January 5, 2018December 23, 2018Programming, Technology

Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (LANDSCAPE SCROLLING)- Part 2

Stage 2: Loading and moving our landscape The next stage of our game is more complex, it loads the landscape and scrolls […]

January 5, 2018January 28, 2018Programming, Technology

Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (INTRODUCTION) – Part 1

In the 1980’s vertical shooters became popular and one of the most popular was 1942 by Capcom. I wasted many hours playing […]

January 4, 2018April 22, 2020Programming, Technology

Really Basic Particle System

By The Hubble Heritage Team (AURA/STScI/NASA)NASA Headquarters - Greatest Images of NASA (NASA-HQ-GRIN) - http://nix.larc.nasa.gov/info;jsessionid=1sl2so6lc9mab?id=GPN-2000-000933&orgid=12http://imgsrc.hubblesite.org/hu/db/images/hs-1999-25-a-full_tif.tif, Public Domain, https://commons.wikimedia.org/w/index.php?curid=127019

The following editor might be useful for someone wanting to see what some of the parameters do for the Really Basic Particle […]

Recent Posts

  • How to use the Moodle form element ‘editor’ with files
  • MySQL and PHP database connection basics
  • Editing MySQL database tables using LibreOffice on Mac
  • JavaScript Particle System Tutorial
  • Learn Canvas and JavaScript Animation by Creating a Vertical Shooter (EXTENSION) – Part 10

Categories

  • Database (2)
  • Moodle (1)
  • Programming (15)
  • Technology (14)

Tags

Audio Canvas Collision Detection Databases Drawing Context Graphics JavaScript moo moodle Mouse Movement MySQL Particles Particle System PHP Programming Random Numbers requestAnimationFrame Run Loop SQL Trigonometry Tutorial

Follow me on Twitter

My Tweets

Social

  • Facebook
  • Twitter
© 2026 Three Second Rule. Proudly powered by Sydney
 

Loading Comments...