Official Shared Source from the Asteria Game - http://playasteria.com
C#
Latest commit f2ac7bc Sep 29, 2015 @Lone-Coder Update README.md
Permalink
Failed to load latest commit information.
Example Updated to 0.9.3 Sep 6, 2013
HD.Asteria Updated for 1.0.1 release. Nov 27, 2013
.gitignore Initial commit Jul 22, 2013
README.md Update README.md Sep 29, 2015

README.md

Asteria

Official Shared Source from the Asteria Game - http://playasteria.com

This is the source for the core of the game. It builds into a .net assembly dll thst is loaded at runtime by the game engine.

The language is C#, which is the same language the game is built in so it's very tightly integrated. It's not so much a scripting language like JS but actually loading code directly into the core of the game. There's no scripting plugin barrier, everything is exposed directly to you. And strong typing and intellisense will make your life a lot easier.

We're using a very loose hacky Javascript style of coding though. It looks a lot like JSON with all the Object Initalizers and has pretty heavy use of lambda expressions (Anonymous Methods in .Net lingo). Check it out: https://github.com/Lone-Coder/asteria/blob/master/HD.Asteria/Items.cs

Feel free to use any of this code in your own Asteria mods.

Building

To build this you will need Visual Studio 2010 or 2010 Express (http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express). It won't build with Visual Studio 2012 because XNA doesn't support 2012.

You'll also need XNA Game Studio installed: http://www.microsoft.com/en-us/download/details.aspx?id=23714

To install XNA on Windows 8 you'll first need to install games for windows client first: http://www.xbox.com/en-US/LIVE/PC/DownloadClient

Someday when we switch to MonoGame you'll be able to use any Visual Studio version and won't need to install XNA.

Enemy Creation Tutorial

This 10 minute video shows you how create a proximity mine enemy type. It shows the basics of the EnemyType class and how to do things like play an animation, delay an action using the enemy scheduler and create an explosion in the map terrain engine. It also explains how to setup your plugin project.

Source Code Tour

This is a tour of the source code release explaning the various parts and quickly shows how they work.

I know I said "uh" way too much in that video. I've not done a lot of videos and I'll slow it down a bit next time.

World Generator Tour

Here's a quick introduction to the map generator code that you can use as a base to build your own procedurally generated worlds with.

Support

Use our development forum for any questions or problems that come up: http://forum.playasteria.com/category/development

If you create a mod please announce it on or mod forum: http://forum.playasteria.com/category/mods