Project: Robot 2
Deutsch ist toll.
Robot is a adventure-game, where you lead your controled body through different very exiting rooms up to the bad king. For your way, you need the right keys for the dors, you need to destroy your enemies (the robots) and you have to solve some problems.
The idea based on the very old, famous, same-named DOS-game Robot. The gameplay is the same, but the original game is much more complex, the graphics are better and the world is bigger.
The project Robot 2 is a port of my old Visual Basic project Robot 1, one of my very first games. Robot 2 was coded in Object Pascal for Free Pascal with Lazarus. You can desribe Lazarus as a plattform-independend, open-source and free alternative to Delphi. Take a look at it, it is very nice.
The beta version (all version less than 2.0) was coded for beginning programmers. I wanted to show how you can code a complex game like this with very basic programming technics. After a little tutorial in Delphi or Lazarus, everyone should be able to read and understand the whole source code. See also my coding for absolute dummies tutorial (german only at the moment) for more information.
The Super Special Laura Edition (1.6) (renamed to 'Hopper') is a special version for Laura and contains some modifications of the look onto the game...
Version 1.7 now contains a complete new world with new mysteries and an ingame-leveleditor.
All beta versions after 1.7 contains an ingame-leveleditor.
The control is easy:
Go into the editor mode (menu). All game-objects are listed in your knapsack. Simply select an object and place it in the present room by left-clicking at the wanted position. You can also select the objects in the knapsack by clicking on them. With a right-click, you can remove an object. With Ctrl+Arrowkey, you can switch to other rooms. Don't forget to come back to the room where your body is, because else, you can't resume playing on exiting the editor mode.
Control of your body
The movement is controlled by the arrow-keys. You can catch things laying around by simple go to them. They will be put into your knapsack. Select the thing in your knapsack you want to use with spacebar. You can use them by pressing enter. There are corrosive liquids filled in bottles laying around. You can remove walls with it (only the bright walls). Every door needs a key to enter it. The are 3 diamonds laying somewhere around. You need them to defeat the bad king. You have to put them near of the diamond-places (go there and select it in your knapsack). You can save the game with the clocks laying around. ...
You can change any event of some game-object or everything else by simply change the dependent source code. You don't need any programming experience, it is very easy. Open the Lazarus project-file (robot.lpi) with Lazarus (download it here) and look at the code of umainform.pas.
Perhaps the most interesting functions for you are MoveToPlace and UseKnapsackSelection.
If you make any change and think it will be interesting for others, simply mail me.
Robot 1.5 - inside of the game - Linux GTK
Robot 1.7 - startscreen - Linux GTK
Robot 1.7 - leveleditor - Linux GTK
All archives include a precompiled Linux x86 bin, a Windows EXE and the complete source code with the Lazarus project-file.
Robot 1.5 - Beta
Robot 1.5 - Beta - source only
Hopper 1.6 - Super Special Laura Edition
Robot 1.7 with new levels and an ingame-eveleditor and additional Linux ppc bin:
Download at Lazarus-CCR Sourceforge (faster download)
Robot 1.7 - everything
Robot 1.7 - win32 exec + source
Robot 1.7 - linux x86 bin + source
Robot 1.7 - linux ppc bin + source
Robot 1.7 - source only
If you understand german, my tutorial coding for absolute dummies may be interesting for you. After some basic programing technics, it uses this game as a main sample.
If you want to support my work, please donate via Gittip/Flattr here: Portierung von Robot in Free Pascal
The program published here is under the copyright of Albert Zeyer. In that case there is the source code to download, it is under the LGPL-licence. Distributions of it are only allowed with a reference to this page.
- Other projects
Albert Zeyer (Mail) Homepage with many open source projects including source code, artworks, both images and music, pictures and some writings about technical stuff, tutorials and some stories.
You are the 1068014th guy, who loves this site.
"Harder!" sighed the large-boned hussy as the pile-driving paraplegic pothead ravished her dribbling fried eggs and slammed his hole splitting tool into her loose cockpit.
18:01:14 up 77 days, 1:20, 0 users, load average: 0.00, 0.01, 0.05
The code can be seen here. Please contact me if you find any problems. :)