DXS Applications

“DX Studio is a 3D editing + engine suite for Windows XP/Vista/7/8/10. It was most popular between 2005 and 2010, but can still be a useful tool for creating interactive 2D+3D on Windows.”


 scr_tb_redux

Tokenbuilder Redux (2009)

After having built something similar with 3DGS, now here’s my take on it with DXStudio by Worldweaver. Again, this is a test application to learn the use of this game engine.

The ‘game’ simulates playing with wooden tokens of different shapes. A few types and colors can be selected and positioned on a grid.

Fixed resolution for Tokenbuilder Redux is 1024×768. It will run in windowed mode only. MS Windows only (tested on XP).

Features

– Gui with moveable windows and button tooltips
– Automatic check for new client versions
– Save and load your builds to/from disk
– Upload/download to/from the tokenbuilder-server and share with others

Installation

Download the file below (it comes with the dxstudio player installation files, too). Start the game by unpacking and double-clicking the downloaded exe file.

Downloads
FileFile-DateSizeRemarks
tokenbuilder_redux_10.exe.zip2/13/200911.6 MBTokenBuilder Redux V1.0. With dxstudio player setup files
tb_redux.wvx2/13/2009615 KBA short and ugly video of the program in action

mymmog

Multiplayer Online Game Test (2009)

This is another test application, done with DXStudio. This time, focusing on using the network and physics capabilities.

The program will connect to this server and place you in a rather large (yet boring) game world. You can see other players walking around (if any online) and send messages via the basic chat message. The landscape is dynamically created and updated, depending on the player’s position. All objects have physics and dynamic shadowing switched to on.
Tip: When feeling lonely, just start two clients and talk to yourself. ;-P

Fixed resolution for myMMOG is 1024×768. It will run in windowed mode only. MS Windows only (tested on XP).

Features

– 51×51=2601 terrain tiles, being managed dynamically by player’s position
– a roughly calculated “world size” of 4km x 4km, based on avatar size
– over 36k of test objects, dynamically managed and linked to the terrain tiles
– very basic “walking animation”

Installation

Download the file below (it comes with the dxstudio player installation files, too). Start the game by unpacking and double-clicking the downloaded exe file.

Downloads
FileFile-DateSizeRemarks
myMMOG.exe.zip2/26/200915.4 MBmyMMOG Client v0.2. With dxstudio player setup files
myMMOG.wvx2/26/2009560 KBA short and ugly video of the program in action

 


mmog_scheme

DXStudio embedded and Enet (2009)

This time, I’m testing how DXStudio is doing when embedded as an ActiveX control. The hosting application is a VS C++ .net MFC dialog. To make things even worse, I skipped the DXStudio built-in network functions and used Enet, a light-weight network layer for both, linux and windows. This gives us the possibility to create a native server application on a linux machine.

Both programs, server and client, basically show how communication for an online game (server: Linux; client: Windows) could be set up, using DXStudio in embedded mode. The code is far from being complete, it rather shows a ‘design study’. So, making a ‘WoW-Killer’ would still take you some work, even when giving it a head-start using the files below. ;-P

The Enet source code (to compile a lib on Windows or Linux) is not included in the files below. It can be downloaded at their website: http://enet.bespin.org. My compiled *.lib and *.a is, though.

Features

– The client app got a plane and one object. On start, it registers with it’s unique ID at the server. On receiving positions for the object, it will place it accordingly
– The server app will check for clients and periodically send new object positions. It does handle connect/disconnect events aswell.

Please note that you might need to update the file location of the DXStudio player and the server IP/port in the client’s code.

Downloads
FileFile-DateSizeRemarks
dxs_MMOG.zip3/5/200910.5 MBIncluding VC C++ .net project, dxstudio document, server c-code, makefile, compiled enet libs.

tmaster_overview_pic

Turnipmaster Online (2009)

This multiplayer test game is about growing turnips of different colors. Upon login, you can select one out of 6 colors for your avatar (the “faction color”) and type in a name. There is no persistent login accounting, so choose whatever you want. Then, your task is to farm turnips for your faction. This would not work without the help of other factions, so you’d better help them, too!

The game plane consists of several fields, where one can grow turnips. Each such field is surrounded by a fence, and only turnips of one color can grow there. In the middle of each turnip field, you can see the “field post”. By clicking on the post, new turnips can be seeded. They need to grow before harvesting, though!

To grow your turnips, some turnip juice of another color than your own is needed. As you can only handle turnips (and juice) of your very own color, you rely on the help of other factions (colored players, that is). They need to click on the “feeder” on your field, and spend some of their juice. As you should do at their growing fields!

Click on a fully grown turnip (one that has your color) to harvest. Then walk over to the “Juice-o-mat” in the center of the game plane and process it to juice. You can see the current game’s stock at the lower right-hand screen. Don’t forget to seed new turnips by clicking on the “field post”. Only turnips that have been seeded before will grow when juice is spent!

Technical

The game has been written with DXStudio (both, client and server application). Microsoft Windows only. The server application was running on a Windows 2003 vServer, rented at United Hoster. Actually, it was the smallest one available there (1000 CPU units, 320MB RAM), so things might get choppy when many users should be online. Please note that the game server is not online anymore.

FileFile-DateSizeRemarks
turnipmaster10.exe.zip3/25/200915.7 MBTurnipmaster 0.21, including the DXStudio player. Debug output is on.

pacwars_logo

PacWars (Summer’09 Competition)

This is my submission to the DXStudio Summer 2009 Demo Contest, running 18 June 2009 to 17 Sept 2009. It actually won a prize back then.

It is a multiplayer 3D spaceflight simulation demo, featuring good old pac-man as enemy AI. And is is kind of a tribute to the MMO space game Jumpgate by Netdevil, which I used to play for quite a long time. Multiplayer ability is being realized without a dedicated server application, just using a message dispatcher on a remote server for data transfer between the clients.

Features
  • MS Windows only, windowed in fixed size 1024×768
  • Client-only multiplayer with connection to a central server, used as data dispatcher
  • 3D space flight with a “newtonian-like” acceleration and drag behaviour
  • Selection of different ship types with different attributes
  • Three AI enemy types (“MadPacs”) with basic “distributed spawning” (clients can trigger AI spawn on other clients)
  • Player versus Player fights with client sync’ing
  • Basic asteroid mining and ship hull repair feature
  • Switching of views (1st person main view)
  • ChatWindow (one channel only)
  • Dynamic creation/removal of objects in space (e.g. asteroids), based on a position-bitmap
  • Object-to-object interaction done by ray-casting and face collision tests, not using physics engine
  • Persistant player data saved to local xml file (encrypted data)
  • Usage of dynamic shadowing, basic animations and bumpmapping
  • Distant-related sounds on several channels
  • In-application webbrowser (used for help/credits screens)
  • In-application video play (used for a “TV” in space)
Known Issues
  • BY DESIGN: As network message processing is linked to the clients’ framerate, weak clients (having very low fps) could bog down communication.
  • BY DESIGN: On program startup, the 3D scene(s) are already running in background (to ensure quick availability when launching). So, even when showing the main menu only, fps need some time to recover after startup. This is notable especially when running the program and immediately switching to the “Intro” topic.
  • BUG: Shooting at the main station’s landing lights causes a ‘function not found’ error
Introduction Video

For those who want to have a headstart with a video (rather than reading through the ingame manual). There is an ingame video with comments, recorded with the free version of AVS Video Editor 4 (showing a watermark in the beginning). See Downloads below.

Installation

Download and unzip the file below. Preferably, store it to a separate folder, as some temporary files are created at runtime. Start by double-clicking the extracted *.exe. If not already present on your machine, the DXStudio player will be installed automatically then, too. To run, PacWars needs an internet connection, as the program contacts the “multiplayer data dispatcher” (aka DXStudioServer.exe) on demo.dxstudio.com. There is no “pure offline” operation mode.

Screenshots

pacwars_scrn1

pacwars_scrn2

pacwars_scrn3

Downloads
FileFile-DateSizeRemarks
pacwars_10.zip9/13/200950.3 MBV1.0, 'PacWars' DXStudio competition submission. With dxstudio player setup files
pacwars_video.wvx9/13/200917.8 MBAn introduction video of the program in action. recorded with the free version of AVS Video Editor 4 (showing a watermark in the beginning)

dxstl_2

DXS TwitterListener

DXSTwitterListener is a C#/CLR application that polls the rss feed of DXStudio on Twitter, and shows a popup whenever a new ‘tweet’ has come in.
I made it to follow this particular channel on my PC without the need to log in or receive something on my cell phone etc. It is not of use anymore.

Features

The rss feed to poll is hard coded. It will be retrieved every two minutes. If it has changed, a popup showing the latest ‘tweet’ is shown in the upper left screen area. The popup can be closed again by clicking on it. When minimized, the app hides in the system tray. Double-click there (or right-click for a menu) to restore it again.
The app comes with an installer, all created with VS 2008 C# Express.

Downloads
FileFile-DateSizeRemarks
DXStudioChess_090.exe.zip12/04/1032 MBDXStudio Chess v0.9.0. Locked source. Comes with the DXStudio player packaged

forumcountscreenshot

DXS ForumCount (2010)

A pure fun program, not really of use anymore. It does periodically poll the DXStudio website for the number of registered forum users. Then shows that number in a ‘faked’ gadget-like desktop window (calling it ‘faked’, because it is a normal app that hides in the taskbar and has a window, looking like a gadget. Therefore, it should run on XP aswell). This is a managed C++ app with the DXStudio player embedded.

Downloads
FileFile-DateSizeRemarks
101114_DXSForumMemberCount_Release.zip11/15/102.2 MBDXSForumCount App
101114_DXSForumMemberCount_Source.zip11/15/107.5 MBDXSForumCount Source. Visual C++ 2008 Source (CLR).

dxstudiochessscreen1

DXStudio Chess (2010)

A 3D game of chess.

License

DXStudio Chess uses one of my DXStudio Plugins. This plugin is under the GPL, while the DXStudio application provided below is freeware – with no source publicly available, though.

Features

– White vs. PC, Black vs. PC and PC vs. PC mode
– Two different 3D token sets to select from
– Two different 3D environments to select from
– Export moves history
– Save/Load game
– Switch shadows on/off for performance adjustment
– Switch sounds on/off

Screenshots

dxstudiochessscreen2

dxstudiochessscreen3

Downloads
FileFile-DateSizeRemarks
DXStudioChess_090.exe.zip12/04/1032 MBDXStudio Chess v0.9.0. Locked source. Comes with the DXStudio player packaged