Author Topic: New Game: Pix  (Read 4465 times)

0 Members and 1 Guest are viewing this topic.

Offline EgoTrip

  • 6128 Plus
  • ******
  • Posts: 1.036
  • Country: gl
    • http://egochip.blogspot.co.uk/
  • Liked: 610
New Game: Pix
« on: 02:23, 25 March 13 »
This is a version of the game Picross on the Nintendo handheld consoles. Programmed in BASIC. Disk only sorry.


You have a grid, and you use the clues to uncover the image. There are numbers horizontally and vertically, and these tell you how many blocks to fill in. For example if a row or column has 1,3,5 then there is one block, then at least one space, then 3 blocks in a row, then at least one space, then 5 blocks in a row. You score a point for each block you uncover, but you lose one if you select the wrong square.


There are 16 puzzles in all.


EgoTrip's Stuff

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 10.103
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1967
Re: New Game: Pix
« Reply #1 on: 06:37, 25 March 13 »
Nice Game!
 
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Puresox

  • 6128 Plus
  • ******
  • Posts: 1.290
  • Country: 00
  • Liked: 242
Re: New Game: Pix
« Reply #2 on: 21:03, 25 March 13 »
Doh! I was hoping it was going to be a decent clone of Qix!  :( 

Offline MacDeath

  • Chaotic post writer and mock-up specialist
  • Supporter
  • 6128 Plus
  • *
  • Posts: 4.008
  • Country: fr
  • Liked: 1013
Re: New Game: Pix
« Reply #3 on: 23:32, 25 March 13 »
Quote
Disk only sorry.
You are more than welcomed to continue that way.
Now could you support a 128K RAM PLUS with full use of sprites, DMA sounds and Hardsprite with raster wankfest, I would appreciate too.
Also Bryce mouse and AMXmouse support would definitaly helps a lot.


 :D


Na kidding.
Nice to see a Locobasic 1.1 game theses days.


Nice Mode1 pixel art on the Logo, really.
« Last Edit: 23:34, 25 March 13 by MacDeath »

Offline EgoTrip

  • 6128 Plus
  • ******
  • Posts: 1.036
  • Country: gl
    • http://egochip.blogspot.co.uk/
  • Liked: 610
Re: New Game: Pix
« Reply #4 on: 00:01, 26 March 13 »
Its actually a 1.0 BASIC game, I developed it in bare bones 464 mode on winamp. Probably pointless considering its disk only, I did intend on doing a tape version but I was running into syntax errors every time i tried to load a binary file in for some reason.


The logo is actually some font, I cant tell you its name right now as its not installed on this PC.
« Last Edit: 00:03, 26 March 13 by EgoTrip »
EgoTrip's Stuff

Offline SuTeKH/Epyteor

  • 6128 Plus
  • ******
  • Posts: 1.161
  • Country: 00
  • Pure 6128 only... anything else is just $#!+
  • Liked: 1015
Re: New Game: Pix
« Reply #5 on: 11:38, 26 March 13 »
I really like this game, it has a very professional design and you gotta love MODE 1 LocoBASIC games! ^_^



I do have a few questions and/or points;

1. I guess reason for the MEMORY &7FFF command is to move the SYMBOL data to an address well below normal HIMEM. Was there any M/C code you were planning to put up there (ie 8000-A5FF) or are you defining the arrays to that upper limit?

2. Your first SYMBOL command is 141, so you could consider changing SYMBOL AFTER 32 to SYMBOL AFTER 141, as this will free-up a little bit of memory. (But the game is small enough for this to not really be a problem, but it's something to think about for your next, bigger project!)

3. From what I can see, all of your variables are integers (ie you're not using any floating point variables which takes the CPU longer to manipulate), so you may as well add DEFINT a-z to line 10. This will force the use of integers and significantly speed-up the game engine (which, unfortunately, may need the use of a CALL &BD19 to remove the disappearing arrows).

4. How do you complete a level? Is it an automatic thing when you've uncovered all the tiles or do you have to press a button to quit?
EDIT: I noticed I had 2 pixels missing on Harry's head... sorry! ^_^

5. What does the ESC key do? It doesn't do anything in WinAPE set as 464 (BASIC1.0, 64k, etc).
EDIT: Ok, it has just been disabled (KEY 66,0,0,0), no problem!

6. Does the game ever display the level name? It's an array that's defined, but I can't see where it's ever PRINTed.
EDIT: Yes, it appears on the high-score table when completed!

7. Instead of loading in those 17k screens, have you considered using MOVE & DRAW commands to produce the screens, instead? The game should be small enough for you to still have space to do it. This will remove the need for .bin files and then you can release the game as a TAPE game, too! (Using ConvImgCpc or any other file-to-tape utility)



Again, though, a very nice game. Make sure it is uploaded to CPCPower for prosperity!
« Last Edit: 12:32, 26 March 13 by tastefulmrship »

Offline Manu

  • CPC464
  • **
  • Posts: 27
    • Manuel Sagra
  • Liked: 17
Re: New Game: Pix
« Reply #6 on: 12:42, 26 March 13 »
Its actually a 1.0 BASIC game, I developed it in bare bones 464 mode on winamp.

Hey, that's an acomplishment!  8)

Nice work!

Offline EgoTrip

  • 6128 Plus
  • ******
  • Posts: 1.036
  • Country: gl
    • http://egochip.blogspot.co.uk/
  • Liked: 610
Re: New Game: Pix
« Reply #7 on: 13:49, 26 March 13 »
Thanks for the replies. I of course meant WinAPE.


Yes I intended on using compressed binary files for the images, rather than loading from disk which is why there is a memory command. I also intended on having music. However every time I tried to load them in it chucked a syntax error at me so I just gave up.

Thanks for the other hints. I did plan on having a full font, hence the symbol after 32, but I didn't see the point once I figured out how I'd be doing the front end. I just forgot to change it. I did consider DRAW commands for the interface, but I figured I'd still need some sort of machine code to display the images and logo so its probably just easier to stick with the way I have done it for now. TBH if I went down the including machine code route, i'd want the entire game to be done in machine code.

If I can get it working with binary files, then I will release a new version (and also on a tape image if I can figure out how to do it).
EgoTrip's Stuff

Offline SuTeKH/Epyteor

  • 6128 Plus
  • ******
  • Posts: 1.161
  • Country: 00
  • Pure 6128 only... anything else is just $#!+
  • Liked: 1015
Re: New Game: Pix
« Reply #8 on: 13:57, 26 March 13 »
Yes I intended on using compressed binary files for the images, rather than loading from disk which is why there is a memory command. I also intended on having music. However every time I tried to load them in it chucked a syntax error at me so I just gave up.

If I can get it working with binary files, then I will release a new version (and also on a tape image if I can figure out how to do it).
Using WinAPE makes combining BASIC and M/C pretty easy. If you open a "Find Graphics" window in the Debugger (press F7) you can see where the BASIC, any SYMBOLs and arrays/variables appear in memory and so you know where you can fit your M/C... in your case it looks like &8000-&A600 is still free.

Offline Puresox

  • 6128 Plus
  • ******
  • Posts: 1.290
  • Country: 00
  • Liked: 242
Re: New Game: Pix
« Reply #9 on: 01:27, 27 March 13 »
Great little game ! Really enjoyable , after I worked out what the concept of the game was!Good stuff!