I'm creating a 3d game platform for my game development needs. I'll use v8 for my scripting needs.
I need to call a function in the render system of the platform on a regular basis, say 30 times per second, so that display gets updated but I'm not sure where to place that call. When calling v8::Script::Run(), the virtual machine takes over from here and runs the script. I could install a function in the javascript world, say render(), that would call the render inside the platform, but I don't like that method because it's a burden that I don't want the javascript aspect to have to deal with. How can I setup a way to allow the engine to run internal systems (display, networking, etc) on a regular basis? Thanks ~vlad --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
