hpi-swa-teaching / GameMecha

A library providing implementations for common patterns in Squeak/Smalltalk game development.
MIT License
12 stars 2 forks source link

add Sound Loading/Manager [2] #37

Closed benrobby closed 6 years ago

benrobby commented 6 years ago

Story

As a swa student I want to have an easy way to load Sounds from my pc. I don't want sound to be loaded multiple times.

Description

  1. Why: Sound loading is very common and many SWA students had issues with the squeak sound player

  2. What:

    • [x] Loading sounds into the squeak image
    • [x] Being able to give a relative/absolute path from which the sounds are chosen (just like image loader)
    • [x] give sound a name and address it by the name
    • [x] method to flush cache
    • [x] throw error if sound doesn't exist
  3. Done: Checklist complete

benrobby commented 6 years ago

estimation: 2

ekrebs5 commented 6 years ago

accepted