#pragma once #include "ofMain.h" #include "ofxSprite.h" #include "music.h" #include "Asterisk.h" #include "Puppet.h" #include "Animal.h" /* this library? https://github.com/micknoise/Maximilian Maximilian is an audio synthesis and signal processing library written in C++. It's cross-platform compatible with MacOS, Windows, Linux and IOS systems. The main features are: - sample playback, recording and looping - read from WAV and OGG files. - a selection of oscillators and filters - enveloping - multichannel mixing for 1, 2, 4 and 8 channel setups - controller mapping functions - effects including delay, distortion, chorus, flanging - granular synthesis, including time and pitch stretching - atom synthesis - realtime music information retrieval functions: spectrum analysis, spectral features, octave analysis, and MFCCs - example projects for Windows and MacOS, using command line and OpenFrameworks environments game design demo state - game started, game over while playing - game full volume - if you miss a flake - starts countdown - game gets quieter and stars get fainter - when countdown is down 'game over' keys - volume - control drawing of stars - game state changes 05112012 event suppression working? overlap character class- load sprites from xml- play behaviours- block animations when others are playing //hooking up the backend 1 - start game - sends message - starts if acknowledged 2 - receive dtmf 3 - hang up */ class testApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void exit(); void keyPressed (int key); void keyReleased(int key); void mouseMoved(int x, int y ); void mouseDragged(int x, int y, int button); void mousePressed(int x, int y, int button); void mouseReleased(int x, int y, int button); void windowResized(int w, int h); void dragEvent(ofDragInfo dragInfo); void gotMessage(ofMessage msg); song *testsong; vector penguins; Puppet testpenguin; Asterisk game; bool showFPS; };