2-Object Sorter

by SpicySpaceSnake

144
52727
Share
Report

Description

A machine that sorts out 2 specific objects based on a sensor. *Made using Tynker for i-Pad.

Tags

Simulator

Concepts

expert physics, input/output, direction and turning, delays, simple loops, variables, simple events, advanced events, simple messaging, simple variables, detect conditions, basic math, advanced messaging, simple motion, advanced motion, cloning, resize actor, simple conditionals, advanced math, basic physics, simple costume handling

  • #Lines:165
  • #Actors:10
  • #Costumes:51
  • #Scripts:25

Text Snippets

  • this is a physical 2-object sorter.
  • the green sensor detects the type of object...
  • ...and sends a message to the platform!
  • then it tilts to the appropriate side.
  • this is not programmed to tilt in a pattern...
  • ...since the randomizer (that randomly changing object) chooses bomb or dynamite randomly.
  • the tilt platform just reacts to what the sensor tells it.
  • the two items (the bomb and dynamite) will display the amount of times the sorter has correctly identified the object.
  • i created this for demonstration perposes.
  • this type of mechanism can be useful for games requiring sorting of physical objects.
  • yours doesn't have to be this big.
  • the sensor doesn't have to be visible, either.
  • and the randomizer is so it'll work here; in an actual game, objects touch the sensor when they need to.
  • for your sensor, you can use this code or a similar one, depending on how many items you have to sort.
  • see my other projects for more sorters and identification systems.
  • at 100 likes i'll make more intelligent machines like this one!
  • dynamiteidentify

Images

  • background scene - image
    background scene - image
  • gear - image
    gear - image
  • bomb - bomb
    bomb - bomb
  • dynamite - dynamite
    dynamite - dynamite
  • tiltplatform - dirt platform
    tiltplatform - dirt platform
  • sensor - green ball
    sensor - green ball
  • randomizer - angry bigfoot
    randomizer - angry bigfoot
  • randomizer - triceratops1
    randomizer - triceratops1
  • randomizer - adventure bridge
    randomizer - adventure bridge
  • randomizer - islands trees large
    randomizer - islands trees large
  • randomizer - Kid Plain 1
    randomizer - Kid Plain 1
  • randomizer - soccer player
    randomizer - soccer player
  • randomizer - angry bear
    randomizer - angry bear
  • randomizer - wolf
    randomizer - wolf
  • randomizer - red car
    randomizer - red car
  • randomizer - yellow building
    randomizer - yellow building
  • randomizer - angry dwarf
    randomizer - angry dwarf
  • randomizer - happy dwarf
    randomizer - happy dwarf
  • randomizer - big troll
    randomizer - big troll
  • randomizer - sleeping dragon
    randomizer - sleeping dragon
  • randomizer - Fantasy wall
    randomizer - Fantasy wall
  • randomizer - war hammer
    randomizer - war hammer
  • randomizer - ghost pirate
    randomizer - ghost pirate
  • randomizer - waterboy
    randomizer - waterboy
  • randomizer - angler fish
    randomizer - angler fish
  • randomizer - turtle 2
    randomizer - turtle 2
  • randomizer - coral
    randomizer - coral
  • randomizer - wave 2
    randomizer - wave 2
  • randomizer - ant
    randomizer - ant
  • randomizer - worm
    randomizer - worm
  • randomizer - acorn
    randomizer - acorn
  • randomizer - sunglasses
    randomizer - sunglasses
  • randomizer - alien creature 1
    randomizer - alien creature 1
  • randomizer - alien creature 7
    randomizer - alien creature 7
  • randomizer - alien boulder
    randomizer - alien boulder
  • randomizer - orange ball
    randomizer - orange ball
  • randomizer - cute witch
    randomizer - cute witch
  • randomizer - witches cauldron
    randomizer - witches cauldron
  • randomizer - bat
    randomizer - bat
  • randomizer - werewolf
    randomizer - werewolf
  • randomizer - bush large
    randomizer - bush large
  • randomizer - werewolf1
    randomizer - werewolf1
  • randomizer - cold boy
    randomizer - cold boy
  • randomizer - snowman 3
    randomizer - snowman 3
  • randomizer - bird
    randomizer - bird
  • randomizer - squirrel
    randomizer - squirrel
  • randomizer - cabin
    randomizer - cabin
  • randomizer - umbrella
    randomizer - umbrella
  • platform - sci fi platform
    platform - sci fi platform
  • platform1 - sci fi platform
    platform1 - sci fi platform
  • bombscorer - bomb
    bombscorer - bomb
  • dynamitescorer - dynamite
    dynamitescorer - dynamite