Thread: Missile code?
View Single Post
Senior Member
RavenOfCode's Avatar
Status: Offline
Posts: 408
Join Date: Oct 2013
Location: Northern Virginia
Default 01-13-2015, 03:52 PM

Originally Posted by chickentree View Post
It seems to me that events in Alice are more efficient and less error prone than infinite loops yet they are rarely mentioned. It there a reason not to put actions in an event rather than an infinite loop?
The types of events make it easy to check for conditions and to turn the events on and off and you don't have to figure out what infinite loop your code is stuck in when it doesn't do what you want.

True, I have just gotten used to loops. There are alternatives to almost everything in Alice... that's what makes it useful

Stuff + Other Stuff + Different Other Stuff = Things :)

My best Alice game:

Clash of the Cubes (an arena fighting game):
Reply With Quote