0 Replies - 2186 Views - Last Post: 07 September 2012 - 05:28 PM

#1 yothsoggoth  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 17
  • View blog
  • Posts: 40
  • Joined: 19-June 12

TurretDefence Programming Game

Posted 07 September 2012 - 05:28 PM

Here's a little project I'm working on at the minute. It's a game where the player controls a turret that's under attack from several enemies, and must try to destroy all of said enemies.
The catch is that it is non-interactive. The player must write a script that controls the turret, and is loaded by the game at runtime.

A 32-bit Windows Debug build can be downloaded here: https://dl.dropbox.c...retGame_0.1.zip

The file to edit is turret.lua (and as I'm sure you can see, the programming language is Lua).

At the moment the project is only in it's early stages (and in fact is very easy to win once you've got a basic script together) but I thought I'd share early and often.
For more information, and a video of the game in-action with my script, have a look at my blog post here: http://www.robotgobl...-preview-0-0-1/

The functions you can use in the Lua script are written in a comment at the bottom of the script, and I forgot to mention there's also some mathematical functions (sin, asin, cos, acos, tan, atan (all using degrees) and sqrt).

I look forward to hearing and comments, reviews, suggestions, or opinions.

Is This A Good Question/Topic? 2
  • +

Page 1 of 1