I am just getting started with the Boostrap Reactive. I did copy and pasted the code into Pyret and pressed run. Results 0 out of 2 Tested failed. Is there additional code necessary to get the solution to work. Do program solutions exist for each unit and
other exercises.
Matt
Hi Matt - you can make a reactor run by typing interact(<reactor name>). In this case, the name of the reactor is sunset-react.(You can find this in Unit 3, in the section on animations, just below Step 4.)
--
You received this message because you are subscribed to the Google Groups "Bootstrap-Teachers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bootstrap-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Reetu,a-sunsetState.xpos is divided into a "left side" and "right side" by the dot. In human language, it means "a-sunsetState is an object, and we need to look inside of it to grab the xpos value." The error you're getting is telling you that a-sunsetState (the "lefthand side") is not an object, and therefore it can't look up the value of xpos.But if it's not an object, what is it? I'll give you a hint: it's an image.Now you might be asking, "how the heck is draw-state being called with an image??" If so, that's the right question to ask, and it means you're now on the right track. Look back at Joe's latest reply: are you sure the examples for next-state-tick needed to change before? (Here's another hint: there is no bug whatsoever in your draw-state function.)
--
You received this message because you are subscribed to the Google Groups "Bootstrap-Teachers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bootstrap-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.