Dancing Dragon 2 1

by Likely Cow

remixed from "Dancing Dragon 2" by no middle name

originally from "Dancing Dragon" by Original Queen

2
935
Share
Report

Description

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

Tags

Art, Cool / Wow, Animation, Animals

Concepts

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

  • #Lines:133
  • #Actors:2
  • #Costumes:19
  • #Scripts:8

Text Snippets

  • Dancing Dragon 2 1
  • minimum distance
  • create fireworks
  • 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
  • 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
  • randomize the size and angle so the fireworks each look a little different.
  • only trigger if touching the dragon's head.
  • go to random location
  • switch to a random costume a random number of times
  • number of costume switches
  • create fireworks after the dragon is created.
  • number of fireworks

Images

  • background scene - Night City
    background scene - Night City
  • dragon - drawing
    dragon - drawing
  • dragon - drawing1
    dragon - drawing1
  • dragon - drawing11
    dragon - drawing11
  • dragon - drawing111
    dragon - drawing111
  • dragon - drawing1111
    dragon - drawing1111
  • dragon - ko
    dragon - ko
  • dragon - drawing111111
    dragon - drawing111111
  • dragon - drawing1 copy
    dragon - drawing1 copy
  • dragon - image
    dragon - image
  • fireworks - fireworks9
    fireworks - fireworks9
  • fireworks - fireworks1
    fireworks - fireworks1
  • fireworks - fireworks2
    fireworks - fireworks2
  • fireworks - fireworks3
    fireworks - fireworks3
  • fireworks - fireworks4
    fireworks - fireworks4
  • fireworks - fireworks5
    fireworks - fireworks5
  • fireworks - fireworks6
    fireworks - fireworks6
  • fireworks - fireworks7
    fireworks - fireworks7
  • fireworks - fireworks8
    fireworks - fireworks8
  • fireworks - firework rocket
    fireworks - firework rocket