Notes: (this file modified 9-19-2007) VB6 6DX Extended Demo --------------------- ****************** IMPORTANT NOTICES: ****************** This demo is based on an Eldermage/Aztica demo and is provided free of charge and without warranty. The 6DX Distribution and System files include a license agreement and all restrictions/limitations therein apply. You must acquire the 6DX 3D engine directly from SourceForge.com, it is not included in this distribution. When developing in Visual Basic with 6DX, do not run your application in VB's "immediate mode", as this can cause problems. Instead compile your app and run the new EXE. Please do not redistribute this file, as it is modified and updated on a regular basis and thus will be "out of date" in a short time. Permission is granted to use "code snippets" from this demo in your own application, provided you agree to hold AAA Multimedia and all it's representatives harmless from any legal action resulting from such use. NO WARRANTY of any kind, express or implied, is offered with this demo. ****************** Use DLLs with the indicated date stamp (or above): 6dx_atl.dll & 6dxv19.dll dated: 2/18/2003 Version: 2.0.4.5 Demo Features (programming notes throughout) : A CONSOLE USED TO REPORT PROGRAM ACTIVITY read 6DX version info Initialize application (form based vs. child window) Initialize music Load map from disk relocate a map select sky cube or dome initialize sky textures and light make water reflective load a 6DX mouse cursor and a Windows mouse cursor detect mouse location screen pick a trigger with mouse screen pick an actor with mouse assign movement to keypress (including "side step") assign look up/down to keypress initialize a camera first and third person views create and display a user actor assign camera to collider change camera-collider location detect camera collisions load map-entities and assign to actors load an MD2 from disk load an MD3 from disk Change orientation of an actor to face camera load/animate a static actor (a "carried" object) load a shadow map and activate it hide an actor (make invisible) change an MD2's animation move an actor to a specific location calculate center screen for key initiated screen pick animate weapon and play a sound when "shooting" create and launch a missile detect missile collisions with world detect missile collisions with actors create effects and particle emitters execute "snow" effect execute "explosion" effects (cylinder, sphere, flat, billboard) enable fog effects change light level display a GUI form with child controls create a 6DX callback for GUI control events Display an MD2 actor with GUI Display an MD3 actor with GUI Hide a GUI form with 6DX Script object generate and display a gridmap/terrain The map files included demonstrate several types of map entities but require a separate editing program such as Quark (available at www.aztica.com). This demo in no way attempts to demonstrate "game programming". It is intended to show the Visual Basic programmer examples of 6DX coding, for implementing original works in what ever genre and manner desired. While most 6DX objects are touched on in this demo, it in no way attempts to explore the possibilities made available to 3D programmers with 6DX. The flexibility of 6DX can not be exposed in a single demo. Many more program features can be designed with these tools (such as "free look" or mouse-movement etc.) than this demo's scope allows. Have fun coding, Montie Miles www.aaa-multimedia.com
Changes:
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use