![]() ![]() But what's the point if nobody can see it!!? I'm running version 2.1.2, if that matters at all. I had given up on this problem for a few months, but I've decided I really want to continue working on this game. If you have ever found adding sound into Greenfoot difficult then this short video will give you the confidence you need. And I'm pretty sure even that's small enough to upload, as some of the games I've seen on this website are definitely much larger than mine. ![]() and now my scenario is only about 25MB, but I still get the same message when trying to upload! I'm not even sure how big the file was before i got rid of certain things, but it couldn't have been more than 50MB. So I got rid of a few levels, sounds, etc. Scenario too large, or something like that. If you want to use it in an actor subclass you can use it like this: GreenfootImage drawedImage new GreenfootImage ('imageName.png') //the image that is drawed getWorld ().getBackground ().drawImage (drawedImage, 100, 100) //this will draw the image at the position (100100) of the world //The images left top corner will be. But, when I tried to upload it to the Greenfoot website, I got the message: Published Failed. Things like waiting for mouse clicks, keystrokes, etc. A GreenfootSound loads the audio from a file. The only thing the world constructor should do is construct the world (initialize the cell and window size, and anything that needs done prior to the scenario being started (add objects, set up variables, and the such). Okay, so I had a game with like 6 or 7 levels, a bunch of audio files, and pages and pages of programming (Hopefully I still have that version backed up somewhere). Represents audio that can be played in Greenfoot.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |