alice-teacher Glitch with Alice 3 and black screen

Don Slater dslater at andrew.cmu.edu
Thu Jan 30 14:25:01 EST 2014


In looking at your code, I see that all of your program code has been placed in the performCustomSetup method of the Scene class. This method is defined to execute code that should happen before the Runtime Window is drawn and the rest of the program is executed. And I believe this is what was causing your display problems.

I have moved all of the code that was in performCustomSetup into myFirstMethod of the Scene class, and it now seems to be executing correctly. I have attached this corrected version.

(BTW, Having just seen the play Wicked, I really enjoyed this project)

Please let us know if you continue to have problems.

Later,
Don Slater

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wicked3.a3p
Type: application/octet-stream
Size: 139593 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140130/16366f84/attachment-0001.obj 
-------------- next part --------------


On Jan 30, 2014, at 1:21 PM, Emily Higgins <erphiggins at gmail.com> wrote:

> Hello All -
>  I am having a problem in which a program gives a black screen when played.  I have attached the program.  Any ideas why this happens?  We tried transferring the program from one computer to another, removing all commands, etc., but still - a black screen.  
> 
> Thanks,
> Emily Higgins
> Boothbay Region High School
> Boothbay Harbor, Maine
> <wicked2.a3p>_______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers



More information about the alice-teachers mailing list