Skip to main content
MyCourses MyCourses
  • Schools
    School of Arts, Design, and Architecture (ARTS) School of Business (BIZ) School of Chemical Engineering (CHEM) –sGuides for students (CHEM) – Instructions for report writing (CHEM) School of Electrical Engineering (ELEC) School of Engineering (ENG) School of Science (SCI) Language Centre Open University Library Aalto university pedagogical training program UNI (exams) Sandbox
  • CORONAVIRUS INFO
    Koronavirus - tietoa opiskelijalle Coronavirus - information for students Coronavirus - information för studerande Koronaviruksen vaikutus opiskeluun: kysymyksiä ja vastauksia Effects of the coronavirus on studies: questions and answers Coronaviruset och studierna: frågor och svar Corona help for teachers
  • Service Links
    MyCourses - Instructions for Teachers - Teacher book your online session with a specialist - Digital tools for teaching - Personal data protection instructions for teachers - Instructions for Students - Workspace for thesis supervision WebOodi Into portal for students Courses.aalto.fi Library Services - Resourcesguides - Imagoa / Open science and images IT Services Campus maps - Search spaces and see opening hours Restaurants in Otaniemi ASU Aalto Student Union Aalto Marketplace
  • ALLWELL?
    Study Skills Support for Studying Starting Point of Wellbeing About AllWell? study well-being questionnaire
  •   ‎(en)‎
      ‎(en)‎   ‎(fi)‎   ‎(sv)‎
  • Toggle Search menu
  • Hi guest! (Log in)

close

DOM-E5152 - Introduction to Creative Coding, 08.09.2020-25.09.2020

  1. Home
  2. Courses
  3. school of art...
  4. Department of Media
  5. dom-e5152 - i...
  6. Sections
  7. Assignments
Syllabus

Assignments

  • Assignments

    Assignments

    To pass the course, you need to be present at 80 % of the lectures, do the homework assignments, and complete the larger...

    Final Programming Assignment

    You are allowed to choose your own topic if you so please, but there will also be a ready-made option available below. A small project will earn you the minimum 3 ECTS, but if you do something considerably larger, you may earn up to 6. Discuss your idea with the teacher. Tutoring will be available before the deadline in case you need it – keep following your email for a Doodle link where you can book a meeting time.

    The deadline for the assignment is October 12 at 23:59. Zip the sketch folder with all the required files and send it by email to the lecturer. If you're doing a larger project the deadline can be extended by a week or two. In any case, you'll have to put into some meaningful use at least:

    • variables
    • arrays or lists
    • loops and if statements
    • own function(s)
    • comments
    • interaction with either the mouse or keyboard


    Default Option: Aliens!

    Oh no! Aliens from outer space are trying to invade Earth, and we can't let that happen. You and your trusty laser gun are our last hope. Requirements:

    • Aliens keep appearing from the top and moving down
    • If an alien gets to the bottom of the screen the game ends
    • Show the gun at the bottom of the screen
    • You can shoot a laser by clicking with the mouse
    • If you hit an alien it'll disappear
    • Zapping aliens awards you points which are shown on the screen

    Once you get it working you can experiment with things like more interesting motion, explosions for the aliens, title and end screens, different kinds of enemies and so on. If you extend the basic functionality far enough, it will earn you an extra credit point too.

    Aliens!

    Some tips

    • You can consider the aliens rectangles or circles when detecting if you hit them
    • Event handlers work well for games
    • A list makes more sense here than an array here (both can be made to work though)
      • Pay attention what happens to the list size and indices when removing items
    • Start building the solution progressively: this first, then that and so on
    • See previous days' examples for useful pieces of code
    • cursor() will let you change the shape of the mouse pointer

    Previous section

    ◄Materials

    Next section

    Day 1►
    Skip Upcoming events
    Upcoming events
    Loading There are no upcoming events
    Go to calendar...
    • DOM-E5152 - Introduction to Creative Coding, 08.09.2020-25.09.2020
    • Sections
    • General
    • Materials
    • Assignments
    • Day 1
    • Day 2
    • Day 3
    • Day 4
    • Day 5
    • Day 6
    • Day 7
    • Day 8
    • Day 9
    • Day 10
    • Day 11
    • Day 12
    • Home

    Aalto logo

    Tuki / Support
    • MyCourses help
    • mycourses(at)aalto.fi
    Palvelusta
    • MyCourses rekisteriseloste
    • Tietosuojailmoitus
    • Palvelukuvaus
    • Saavutettavuusseloste
    About service
    • MyCourses protection of privacy
    • Privacy notice
    • Service description
    • Accessibility summary
    Service
    • MyCourses registerbeskrivining
    • Dataskyddsmeddelande
    • Beskrivining av tjänsten
    • Sammanfattning av tillgängligheten
    
    Hi guest! (Log in)
    • Schools
      • School of Arts, Design, and Architecture (ARTS)
      • School of Business (BIZ)
      • School of Chemical Engineering (CHEM)
      • –sGuides for students (CHEM)
      • – Instructions for report writing (CHEM)
      • School of Electrical Engineering (ELEC)
      • School of Engineering (ENG)
      • School of Science (SCI)
      • Language Centre
      • Open University
      • Library
      • Aalto university pedagogical training program
      • UNI (exams)
      • Sandbox
    • CORONAVIRUS INFO
      • Koronavirus - tietoa opiskelijalle
      • Coronavirus - information for students
      • Coronavirus - information för studerande
      • Koronaviruksen vaikutus opiskeluun: kysymyksiä ja vastauksia
      • Effects of the coronavirus on studies: questions and answers
      • Coronaviruset och studierna: frågor och svar
      • Corona help for teachers
    • Service Links
      • MyCourses
      • - Instructions for Teachers
      • - Teacher book your online session with a specialist
      • - Digital tools for teaching
      • - Personal data protection instructions for teachers
      • - Instructions for Students
      • - Workspace for thesis supervision
      • WebOodi
      • Into portal for students
      • Courses.aalto.fi
      • Library Services
      • - Resourcesguides
      • - Imagoa / Open science and images
      • IT Services
      • Campus maps
      • - Search spaces and see opening hours
      • Restaurants in Otaniemi
      • ASU Aalto Student Union
      • Aalto Marketplace
    • ALLWELL?
      • Study Skills
      • Support for Studying
      • Starting Point of Wellbeing
      • About AllWell? study well-being questionnaire
    •   ‎(en)‎
      •   ‎(en)‎
      •   ‎(fi)‎
      •   ‎(sv)‎