project screenshot

Dancing Dragon 1 1

by Sheejeiess

originally from "Dancing Dragon" by Original Queen

11
2093
Share
Report

Description

Dancing Dragon 1 1, a project made by Sheejeiess using Tynker. Learn to code and make your own app or game in minutes.

Tags

Art, Game, Animation, Photo, Animals

Concepts

simple variables, miscellaneous, variables, simple conditionals, basic math, expert math, functions, delays, simple loops

  • #Lines:206
  • #Actors:4
  • #Costumes:7
  • #Scripts:10

Text Snippets

  • Dancing Dragon 1 1
  • Please add a description for your lesson
  • set the head's follow speed higher,
  • so it doesn't drag too far behind the mouse.
  • point towards the follow target so we can move in the right direction.
  • only calculate distance once per loop, to make it faster
  • minimum distance
  • the further the target is, the more we move.
  • the closer the target is, the less we move.
  • set the head's rotation back to left-right so it can't go upside-down
  • switch to a random costume a random number of times
  • number of costume switches
  • create fireworks after the dragon is created.
  • number of fireworks
  • go to random location
  • randomize the size and angle so the fireworks each look a little different.
  • only trigger if touching the dragon's head.