Hello
all,
I am new to this
list and Neko in general. But, it looks like it might be a viable solution to my
problem.
First a little
background. The company I work for designs gaming machines and we have
built our initial version using C++ and the Flash player. The gm is an embedded
target, not a web based application. We purchased the Flash SDK from MM, or
Adobe, because we needed to have tight communication with ActionScript and our
application, and the standard Flash player didn't give us enough
control. Unfortunately, the SDK does not keep up with the current player
releases and the artists are wanting to use some of the new Flash 8 goodies,
which we cannot play. Not only that, but it looks like ActionScript 2 is going
to be depreciated in favor of AS3. And who knows when v3 will be replaced by v4,
etc, etc.
One of the biggest
reasons that we went with Flash is because of the speed at which the artists can
develop the games that are on our gaming machine. Also it does offer AS which is
a powerful scripting language. But, due to some of the problems mentioned
above, I'm having doubts about how well AS is going to be a continuing
solution for our gm. From reading about Neko, it looks like
it might solve my problems with AS. I need to be able to develop
multiple games for our gm, we figure more than a 100, so I want
to make sure the language supports reusability, substitute OOP if desired.
The display, Flash MovieClips, and the scripting language need to
be thin and communicate with the C++ application to get real data. It is
one requirement that the display and the scripting do not manipulate or store
data. So I basically need a client-server type of architecture where
our C++ application is the server.
So I have a few
initial questions before I present any possible solution to my boss.
- It looks
like I can embed the Neko VM into my C++ application. Is this true? And if I do,
can I communicate between my Neko code and my C++ application? Also, is the Neko
VM as fast or faster than the Flash VM?
- Can I load a
swf file that only contains MovieClips using Neko, or by combining it with haXe?
And if I can load the swf, can I attach those MovieClips and use one of the
fore mentioned languages to control the MovieClips and manipulate their
properties?
- If the
preceding questions are all, "It can be done", can you attach a Neko or haXe
class to any of the loaded MovieClips?
- If I need to
use haXe to communicate with MovieClips, can I use a Neko wrapper
so any future programmers do not need to learn haXe, only
Neko?
Thanks for any
answers. I must say, so far I am very impressed with what Motion-Twin has
done.
brent
-- Neko : One VM to run them all (http://nekovm.org)
