Porting "Robots!" to a screenlet
Brought to you by:
micheillehky
Turn "Robots!" into a screenlet
∘ figure out how screenlets work
‣ find how each command works and how it should be placed
• Search through screenlet code and experiment
∘ create test screenlet
‣ Figure out how screenlets work first
‣ Add a square.
‣ Add a circle
∘ Remove livewires
∘ Add screenlet code to "Robots!"
I looked at your tasks, and here is how think you might want to proceed:
1. create random_between()
I think you are already done this. If the original game – with livewires still in there – still runs fine, then you are done. Check the working version (with import livewires) in; in the SVN comment do not forget to mention the number of this request: 2933165. Close the request.
2. create wait_for_keys()
I think you might want to look at this one next. It should NOT need any screenlets stuff to accomplish this. When you get to this one, I think initially I will have to help you a lot.
Again, if the original game – with livewires still in there – still runs fine, then you are done. Check it in.
3.create circle() + allow_movables() + move_to()
I think you should work on these three next. After you complete #2 above, you will have some idea where to start to figure these out.
You will not be able to do this together with livewires. I will show you how you will have to approach developing this. Out of this list, this will be the most difficult!
4. create begin_graphics() + end_graphics()
I suspect these will be done using mostly screenlets. By the time you complete #3 above, I think this will be quite easy for you.