Yes, however this would be the slower alternative to a simple on_frame function like above.
how do you know?
Because wait(1) would place the function on the scheduler, store local variables and other state-specific information, where on_frame is just a simple function call and does not involve the scheduler.
Could anyone please point me in the right direction to using C++ to write my game? I've written with C++ many times before and have developed a sort of work flow that is more close to a standardized development process, so that it is easier to work in a team oriented scenario. Not to mention C++ has classes and inheritance, which is really a beautiful thing and it sort of confuses me as to why it is not in lite-C already. When I started programming classes/structs are one of the first things you understand, I didn't really find them mind boggling.
I under stand lite-C is very similar to C++, but I don't understand how to use things like the c_trace function which sets a variable "target". How do I access this from C++? Or can I not do this?