|
|
|||||
Topic, My Music Game | ||||||
| ||||||
You must register or log in to post a message.why then? (jan 1st 2010 maybe?) Or maybe 2011..... And yes, my samples are less than a millisecond. [edit]Don't forget that if you use Flash 10 you can even modify the pitch of a sound, wich means you need only one small loop for every sound. BUT I've never tested if BL is compatible with Flash 10 games. Should work but not tested. stop posting that link. We are not very intrested in that article. Anyway my ideas for this game have changed radically. Now it's going to be closer to a 2D version of Amplitude. I feel that I might be able to pull this off soon. P4M is my first priority, then this, or maybe another game inbetween. It will be great! :D I'd offer to do it for you but i'm busy on a different game that's for BL... You need FP10 to run it. This could be a good inspiration for a music game. blPlayLvl ( data: as2 String as3 ByteArray , official: Number ) When this method is called by the BL API (typically when you click on the PLAy button for a level), the game engine is supposed to display the level and let the player play it. Once the player has completed the level call BLManager.lvlCompleted (true, score). That's all you have to do to make a basic implementation. "In the first frame of your game and editor, add var BLManager:MyXxxxManager = MyXxxxManager(this); (Xxxx=Game or Xxxx=Editor). This is your BL manager, that receives comands from the BL user interface (typically, a command is sent from the BL interface to the XxxxManager.as, when a user want to play or to a level). " I don't understand what code I should use on the very first frame of my swf. Or should I just make the game without the API and then add it in when I've finished? If you don't want to spend too much time on the BLAPI, you can already work on those 3 simple methods (it will be very easy from these methods to implement the API, I can make it for you) : game.swf : playLevel(lvldata) >> start the level editor.swf : editLevel(lvldata) >> edit the level editor.swf : getEditedData() >> returns the level data currently edited I will finish the game one day! (it will take a long time though) | Flash game developmentFirst post of the topicI have a faint idea of what I want it to be about. You have a dot, with which you must dodge and collect a load of blocks. When the blocks hit the bar at the bottom of the screen, they play a sound. In the editor you can mix the different sounds together to make a song. This is my checklist: 1. Collect sounds. + 2. Create a movieclip for every sound. X 3. Create engine. X 4. Create editor. X There are probably other things I will have to do, but I'm gonna need a lot of help! |