Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Spybotics Databattle System

poccil

Sponsor

This is a remake I made of the databattle system as found in the little known game
Spybotics: The Nightfall Incident that was on lego.com.  It supports all units
and all commands found in that game and replicates the system accurately.  The
Nightfall Incident uses a phase-based tactical battle system, that is, a system
where the player moves its units and attacks, and then the enemy does the same.

Here are the necessary script calls.  For more information, look at the script
sections DataBattle and Main in the sample project.

Databattle functions

pbDataBattle(name) - Starts a databattle with the layout specified by _name_.
That layout can be edited using the databattle editor and must be placed in the
Data folder.  This function returns either 1 if the player won, or 2 if the
player lost.
pbDataBattleEditor - Opens the databattle editor.

Functions that manage the player's programs.  The actual list is stored in
$game_system.programlist .

pbGainProgram(name,quantity) - Adds a program to the player's programs.  The amount
is specified in _quantity_.
pbLoseProgram(name,quantity) - Removes a program from the player's programs.
The amount is specified in _quantity_.
pbProgramQuantity(name) - Returns how many of a program the player has.

Link to the project:

DataBattle (February 1, 2008)
 

prepe

Member

Good game. A little confusing, but fun nun the less. Just one question tho, I have never played Spybotics, So whats the point of the game is?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top