• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Archived

This topic is now archived and is closed to further replies.

Joviex

[java] Intergration with Visual Basic...

3 posts in this topic

I am assuming this is a definate possibility, considering the JNI is 100% COM compliant. However, I have yet to find any resources on the subject, and am wondering if anyone has attmepted anything like this before?? I have played with this idea in C++ and it is great to be able to pass funct. calls back and forth, Java makes for a superior scripting language. So.... I would like to extend it into the Visual Basic area, but seeing as how my COM skills are next to zero, I am looking for some descent papers/tutorials on the subject. Anyone? "Five passengers set sail that day, for a three hour tour, a three hour tour...."
0

Share this post


Link to post
Share on other sites
First my opinion (which you are more than welcome to ignore)

I have encountered instances where there was the need to have VB COM components communicate with Java code/beans, but you seem to be proposing using Java as a ‘scripting engine’ for a system written in Visual Basic (maybe I am misunderstanding you?). The list of reasons not to go this route would fill pages of this thread. Unless you just really need to use Java for some reason, you are probably FAR better off using VB or VBScript as your scripting language for your VB system. Microsoft’s VBA and / or the Microsoft Scripting Component make this very easy to do.

Assuming you have to use Java for some reason, interfacing to COM from JNI is completely possible - though if you are not THOROUGHLY familiar with COM its best you try to use some kind of tool.

There are a couple of commercial products for accessing COM objects from Java, but you might want to start with a free tool from IBM''s Alphaworks that will provide for most of the functionality you would need to use Java as a scripting language in VB. It is called Bridge2Java and you can find out more information from http://alphaworks.ibm.com/tech/bridge2java .

Another route would be to use Microsoft’s Java tools (including J++). Java classes are COM accessible under the Microsoft JVM, and tools included with The Microsoft Java SDK and J++ facilitate COM to Java usage under various circumstances (including using Java objects in MTS). This path to using Java and VB might be most straightforward, but it comes with a list of ‘gotchas’. One is that Microsoft’s SDK only supports up to Java 1.1.

Some others from the FAQ - “there may be some doubt as to Microsoft''s commitment to continuing J++. There have been a lot of editorials in trade magazines declaring J++ all but dead. A few weeks ago Microsoft released a great deal of information about the next version of Visual Studio and I did not see one mention of J++. There haven''t been any significant J++ news releases in well over a year. Microsoft has also stated that they do not intend on releasing Java bindings to DirectX 7.0. The latest release of DirectX with Java support was DirectX 3.0.”
0

Share this post


Link to post
Share on other sites
Thanks for the reply.

So, the next logical question is, as I have been pounding the streets looking for good "scripting" systems to use is....

What about Python?? I know, not a python message board. Or, to get back on topic, JPython??

As to the other things mentioned, do you have any, or anyone else for that matter, resource links/info on using VBscript via VB?? That is prolly a no-brainer, as the web more than likely has a ton, I''ll go hunting.

I am just thinking of possibilities and intergration techniques really. I am building two engines, side-by-side, one in VB one in C++. Call me crazy, what a hobby.

"Five passengers set sail that day, for a three hour tour, a three hour tour...."
0

Share this post


Link to post
Share on other sites
JPython on it''s own right now is kinda shaky. There hasn''t been any official work in a while because of ownership disputes with some big corp. I would suggest you look at IBM''s BSF (http://oss.software.ibm.com/developerworks/opensource/bsf/). If you want to use scripting languages in Java then that is the way to go. If you want to use Java to script components of another language, you will have to use some form of a native interface.
0

Share this post


Link to post
Share on other sites