scene.org File Archive

File download

<root>­/­parties­/­2016­/­cpcretrodev16­/­gamedev/amsthrees_glasnostcorp.zip

File size:
330 740 bytes (322.99K)
File date:
2025-03-08 16:55:06
Download count:
all-time: 4

Preview

  • Amsthrees/ dir
  • Amsthrees/Amsthrees.cdt 55.41K
  • Amsthrees/Amsthrees.dsk 199.75K
  • Amsthrees/credits.txt 172B
  • Amsthrees/doc/ dir
  • Amsthrees/doc/Amsthrees-Makingof.pdf 33.15K
  • Amsthrees/doc/Amsthrees-Manual.pdf 63.23K
  • Amsthrees/project/ dir
  • Amsthrees/project/assets/ dir
  • Amsthrees/project/assets/border.png 24.59K
  • Amsthrees/project/assets/camelotBadge.png 3.19K
  • Amsthrees/project/assets/fonts-big.png 3.47K
  • Amsthrees/project/assets/icons.png 2.84K
  • Amsthrees/project/assets/loading screen.jpg 26.78K
  • Amsthrees/project/assets/logo-micro.png 3.70K
  • Amsthrees/project/assets/logo-small.png 5.17K
  • Amsthrees/project/assets/marker.png 2.77K
  • Amsthrees/project/assets/numbers-big.png 2.93K
  • Amsthrees/project/assets/song00.aks 28.81K
  • Amsthrees/project/assets/song02-2.aks 29.32K
  • Amsthrees/project/assets/song05.aks 13.65K
  • Amsthrees/project/assets/symbols.png 24.81K
  • Amsthrees/project/assets/table-tiles.png 3.61K
  • Amsthrees/project/assets/table.tmx 2.95K
  • Amsthrees/project/assets/tiles.png 1.93K
  • Amsthrees/project/assets/tiles3.png 15.56K
  • Amsthrees/project/assets/tiles4.png 6.15K
  • Amsthrees/project/cdt_files/ dir
  • Amsthrees/project/cdt_files/AMSTHRE3.SCR 17.00K
  • Amsthrees/project/cdt_files/AMSTHREE.BIN 38.00K
  • Amsthrees/project/cdt_files/LOADER.BAS 1.00K
  • Amsthrees/project/cfg/ dir
  • Amsthrees/project/cfg/build_config.mk 7.26K
  • Amsthrees/project/cfg/image_conversion.mk 5.10K
  • Amsthrees/project/cfg/music_conversion.mk 3.53K
  • Amsthrees/project/cfg/tilemap_conversion.mk 3.78K
  • Amsthrees/project/dsk_files/ dir
  • Amsthrees/project/dsk_files/AMSTHRE3.SCR 17.00K
  • Amsthrees/project/dsk_files/LOADER.BAS 1.00K
  • Amsthrees/project/LICENSE 34.32K
  • Amsthrees/project/Makefile 1.94K
  • Amsthrees/project/README.md 4.20K
  • Amsthrees/project/src/ dir
  • Amsthrees/project/src/game.c 35.69K
  • Amsthrees/project/src/game.h 1.89K
  • Amsthrees/project/src/main.c 0.99K
  • Amsthrees/project/src/music/ dir
  • Amsthrees/project/src/music/song00.h 376B
  • Amsthrees/project/src/music/song00.s 577B
  • Amsthrees/project/src/music/song02-2.h 377B
  • Amsthrees/project/src/music/song02-2.s 3.49K
  • Amsthrees/project/src/music/song05.h 376B
  • Amsthrees/project/src/music/song05.s 1.48K
  • Amsthrees/project/src/sprites/ dir
  • Amsthrees/project/src/sprites/border.c 1.16K
  • Amsthrees/project/src/sprites/border.h 906B
  • Amsthrees/project/src/sprites/camelotBadge.c 4.80K
  • Amsthrees/project/src/sprites/camelotBadge.h 247B
  • Amsthrees/project/src/sprites/cards.c 40.47K
  • Amsthrees/project/src/sprites/cards.h 855B
  • Amsthrees/project/src/sprites/fonts-big.c 9.65K
  • Amsthrees/project/src/sprites/fonts-big.h 3.20K
  • Amsthrees/project/src/sprites/icons.c 1.20K
  • Amsthrees/project/src/sprites/icons.h 468B
  • Amsthrees/project/src/sprites/logo-micro.c 728B
  • Amsthrees/project/src/sprites/logo-micro.h 168B
  • Amsthrees/project/src/sprites/logo-small.c 5.00K
  • Amsthrees/project/src/sprites/logo-small.h 169B
  • Amsthrees/project/src/sprites/marker.c 622B
  • Amsthrees/project/src/sprites/marker.h 218B
  • Amsthrees/project/src/sprites/numbers-big.c 3.02K
  • Amsthrees/project/src/sprites/numbers-big.h 1.13K
  • Amsthrees/project/src/sprites/symbols.c 1.55K
  • Amsthrees/project/src/sprites/symbols.h 645B
  • Amsthrees/project/src/sprites/table.c 7.87K
  • Amsthrees/project/src/sprites/table.h 1.29K
  • Amsthrees/project/src/sprites/tilemap.c 1.46K
  • Amsthrees/project/src/sprites/tilemap.h 1.24K
  • Amsthrees/project/src/sprites/tiles4.c 37.93K
  • Amsthrees/project/src/sprites/tiles4.h 1.34K
  • Amsthrees/project/src/text/ dir
  • Amsthrees/project/src/text/text.c 3.66K
  • Amsthrees/project/src/text/text.h 1.06K
  • Amsthrees/project/src/utils/ dir
  • Amsthrees/project/src/utils/itoa.c 756B
  • Amsthrees/project/src/utils/itoa.h 910B
  • Amsthrees/project/src/utils/keyboard.c 2.97K
  • Amsthrees/project/src/utils/keyboard.h 1.09K
  • Amsthrees/project/src/video/ dir
  • Amsthrees/project/src/video/video.c 3.09K
  • Amsthrees/project/src/video/video.h 1.20K

file_id.diz

#Amsthrees

Story
Amsthrees is the free adaptation of the mobile platforms game “Threes”. 
The main goal of the game is to slide cards in a grid to combine them and create the highest multiple of three possible.
How high will you get??


How to load
Tape:Press CTRL and small ENTER and press PLAY in the tape. Alternatively type RUN”, then ENTER, and follow the instructions on the screen.
Disk:Type ‘Run”Loader’


How to Play
Use your controls to slide the 4x4 grid in the four main directions (up,down,left and right). All the cards in the grid will move accordingly, combining with each other when no movement to a free slot is possible.
The cards that may combine keeps the following schema:
1 + 2 = 3
3 + 3 = 6
6 + 6 = 12
12+12 = 24
...
And so on.
After no more moves left, the game ends, showing the score for every card higher than 2 that is on the grid. The higher the card is, the higher the score.


Controls
The game can be handled with a joystick plugged into the first joystick slot, or by the keyboard.
The user can redefine the keys in the main screen. And the default keys are:
Up, Down, Left, Right : Arrow keys.
Fire: “Space”
Music ON/OFF: “M”
Pause: “DEL”
Abort: “ESC”


Development
Language: “C” with some ASM inline.
Libraries: CPCTelera in all it’s glory. Branch “v1.5” to be able to automate the integration of the music.
Technical Details:
Base system: Mac Book Pro. OS X El capitan.
It took me several months to be comfortable and have a complete system, but at the end… it rocks!! (except for some problems with some shell scripts, and complex CDT files generation… peanuts)
Virtual System:Virtual box running on the Mac. Guest SO: Windows XP. 
Necessary to run some tools that don’t work properly in WIne for OSX… p.e: ConvimgCPC, Arkos tracker, CDTMaster...
Real Machine:.Amstrad CPC 464, with C4CPC to ease the testing in the real machine thanks to the SD interface, and also a fake cassette with a jack cable connected to my mobile phone, to test the CDT files.
Programming Language: “C” with some inline ASM.
Libraries: CPCTelera in all it’s glory. Branch “v1.5” to be able to automate the integration of the music. Although in the final version the assets files conversion is not activated.
Tools:
C Compiler: SDCC
Graphics: Photoshop Cs6 and Gimp
Image conversion: ConvimgCPC
Music: Arkos tracker
CPCTelera integrated tools: 
img2CPC, 
2CDT, , 
hex2bin, 
iDsk
PC Emulation: Wine. To run the CPC emulators in OSX
CPC Emulation: Winape and WinCPC
TapDancer: Android app to play the CDT files to test the application in real CPCs.


License
GNU General Public License, Versión 3. Source Code is included.


Building the game
The source code of the game is included.
The game is built in Cpctelera v1.5.
To get the game compiled do the following
Download the 1.5 version of Cpctelera from github 
“git clone -b v1.5 https://github.com/lronaldo/cpctelera.git”
Compile Cpctelera
“cd cpctelera”
“./setup.sh”
Uncompress Amsthrees zip file in the desired folder
“unzip Amsthrees.zip”
Make the game
“cd Amsthrees”
“make”


Credits
AMSTHREES 
©2016 Glasnost Corp. Powered by CPCtelera.
Game created and coded by John Lobo
Originally Design for mobile platforms by Sirvo
Music and SFX by John Lobo
Graphics by John Lobo


Thanks to...
Sirvo (Asher Vollmer, Greg Wohlwend, and Jimmy Hinson): The development team that created the original concept that brought to many people so many hours of fun playing, and in my case, also programming.
Fran Gallego: Thanks for this amazing platform that is CPCTelera. Not only for the ease that has brought to the Amstrad scene, but for the didactics of all his appearances in the most popular forums, podcasts, and the fabulous series of instructing videos in youtube. Here is a big fan of you Fran. Great job!! 
Toni Ramirez: Programmer of Space Moves, source of inspiration for the game structure at the beginning of the project.
Winape emulator and Wincpc emulators. Great pieces of software that help many people, like me, to go back in time 30 years, and feel like a child again.
And last but not least… thanks to my girl and my kids (Maria, Diego y Martín), for all their support and all those hours that I have been stoling them to work in this project.