AndyDentFree / rbstuff

Automatically exported from code.google.com/p/rbstuff
2 stars 0 forks source link

rbKarel movies and snapshots #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Another logger that could be added fairly trivially would record a series of 
snapshots to a specified 
directory. I will leave the task of assembling them into an actual movie as 
something for later or 
external tools.

Logging takes place on every action so you might want to filter it to only log 
on visible changes in 
state (ie: move or turn)

Original issue reported on code.google.com by dentaroo@gmail.com on 28 Apr 2009 at 2:53

GoogleCodeExporter commented 9 years ago
Yeah this is a nice idea. It would certainly be handy for preparing a demo of 
what a student needs to achieve in 
their code.

Although this feature would not be a top priority for me immediately, it would 
certainly be handy.

Original comment by jeffreya...@gmail.com on 28 Apr 2009 at 4:22

GoogleCodeExporter commented 9 years ago

Original comment by dentaroo@gmail.com on 28 Apr 2009 at 5:44

GoogleCodeExporter commented 9 years ago
I was just thinking about this. It can be implemented as an extension of the 
logging class but would it be 
useful to make it a verb in the KarelScript instead, or as well?

A snapshot logger would just record the picture at each action step, like the 
speech logger.

A Snapshot verb would let you specify the snapshot prefix (might vary depending 
on position in the program) 
and only do the snapshots when you wanted them, so you could do a series of 
moves or only take a snapshot 
based on a certain state, or before and after picking up a beeper.

It is a very trivial thing to change how it is triggered once the basic 
snapshot is implemented. The main thing 
is the UI for specifying names and where they go, possibly to a default 
directory adjacent to the KarelWorlds.

Original comment by dentaroo@gmail.com on 10 May 2009 at 2:05

GoogleCodeExporter commented 9 years ago
not intending to fix in Milestone 1.0

Original comment by dentaroo@gmail.com on 10 May 2009 at 4:30