Jump to content

Photo

"Joyas" game, extended version

game FastBasic

9 replies to this topic

#1 dmsc OFFLINE  

dmsc

    Moonsweeper

  • 474 posts
  • Location:Viña del Mar, Chile

Posted Tue Jan 22, 2019 7:02 PM

Hi all!

As you may have read in the thread Merge 3 Games , with the help of MrFish I expanded my tenliner "joyas" to a full game.

I ported the game from TurboBasic to FastBasic to include as an example in the distribution, so it is written completely in FastBasic, and the source is available to expand and modify.

The game is a variation on the match-three pieces kind of game, there are 3 main game modes with two difficulty levels each:

- Moves: in this mode, you start with 15 moves and gain one move at each power of two points (2, 4, 8, 16, etc.). When you run out of moves, the game ends.
- Timer: In this mode, you start with 15 seconds, and you gain one second for each three pieces matched, two seconds for each four-match, three seconds for five-match, etc. After the time runs out, the game ends.
- Hard: This is a combination of both above, you start with 15 moves and *loose* one move each second, but gain moves on matches.

Also, there are "+" versions of the moves with increased difficulty: the pieces that match at the start of the game don't add to the points.

Screenshot from 2019-01-22 21-59-20.png

Attached is the XEX and the source, you can compile it with the fastbasic cross compiler or type in the Atari IDE.

All the graphics are drawn by MrFish, the code is by me.

(simple) suggestions welcomed!

Attached Files



#2 Sikor OFFLINE  

Sikor

    Stargunner

  • 1,451 posts
  • Location:Warsaw/Poland

Posted Fri Jan 25, 2019 5:51 AM

and the source, you can compile it with the fastbasic cross compiler or type in the Atari IDE.

 

Hello, dmsc!

I have question - where I can find more info about this cross-compiler and fast-basic knowledge? I usually write my programs in Turba Basic XL, but maybe fast basic is good alternative for me (sometimes)?



#3 devwebcl ONLINE  

devwebcl

    Stargunner

  • 1,238 posts
  • Location:Chile

Posted Fri Jan 25, 2019 6:26 AM

Hello, dmsc!

I have question - where I can find more info about this cross-compiler and fast-basic knowledge? I usually write my programs in Turba Basic XL, but maybe fast basic is good alternative for me (sometimes)?

 

http://atariage.com/...summer-release/

https://github.com/dmsc/fastbasic



#4 Sikor OFFLINE  

Sikor

    Stargunner

  • 1,451 posts
  • Location:Warsaw/Poland

Posted Fri Jan 25, 2019 6:34 AM

Thx. I forgot about this thread. So now I can learn this dialect ;)



#5 Philsan OFFLINE  

Philsan

    River Patroller

  • 3,804 posts
  • New Orleans Saints Super Bowl XLIV Champions
  • Location:Switzerland

Posted Fri Jan 25, 2019 9:23 AM

Thx. I forgot about this thread. So now I can learn this dialect ;)

I used to program with Turbo-Basic XL too, but FastBasic is way better!

#6 dmsc OFFLINE  

dmsc

    Moonsweeper

  • Topic Starter
  • 474 posts
  • Location:Viña del Mar, Chile

Posted Sun Jan 27, 2019 6:04 PM

Hi all!

I have a new version, with some changes suggested by MrFish:

- A new game mode with diagonal combinations, try it!
- Better cursor movement, with sound,
- A better intro screen, with more information,
- Scores shown besides the board.

As always, source and binary attached, have fun!!

Screenshot from 2019-01-27 20-59-28.png Screenshot from 2019-01-27 21-01-04.png

Attached Files



#7 ivop OFFLINE  

ivop

    Dragonstomper

  • 861 posts
  • Location:The Netherlands

Posted Wed Jan 30, 2019 3:33 PM

OK, let's not let this thread die because it has been "cleaned up" and let's get back on-topic.

 

So, instead of commenting on the shapes, let's talk about colors :)  Having four colors and six shapes means two pairs will have the same color. I think it's crucial that the symbols that share a color, should be as different as possible otherwise (shapewise :)).  Green is covered imho, but red is not.  They look too much alike. Perhaps the yellow shape could be switched with the red inverted-cross shape. I think that'll be easier on the eyes and makes one see patterns more quickly.

 

 

Also, how about a title tune? Any ideas about style/genre/etc..? Could add to the tutorial style, i.e. how to include an RMT music file in FastBasic.


Edited by ivop, Wed Jan 30, 2019 3:34 PM.


#8 MrFish OFFLINE  

MrFish

  • 5,351 posts

Posted Wed Jan 30, 2019 3:58 PM

So, instead of commenting on the shapes, let's talk about colors :)  Having four colors and six shapes means two pairs will have the same color. I think it's crucial that the symbols that share a color, should be as different as possible otherwise (shapewise :)).  Green is covered imho, but red is not.  They look too much alike. Perhaps the yellow shape could be switched with the red inverted-cross shape. I think that'll be easier on the eyes and makes one see patterns more quickly.

 

I'm of the same opinion (which I think I may have stated before... maybe in P/M only, though...), about making the pieces with the same color different enough to be easily distinguishable from each other; and I'd been thinking to swap those exact pieces; so, here it is...

 

Attached File  joyas (color change).xex   4.04KB   16 downloads

 

joyas color change.png

 


Edited by MrFish, Wed Jan 30, 2019 4:11 PM.


#9 pseudografx OFFLINE  

pseudografx

    Dragonstomper

  • 758 posts
  • Location:Czech Republic

Posted Fri Feb 1, 2019 7:06 AM

I know it would not be a minor change, but I'd go for PMG underlay to add the missing colours. This would give you enough colours to have every shape different.



#10 MrFish OFFLINE  

MrFish

  • 5,351 posts

Posted Fri Feb 1, 2019 7:16 AM

I know it would not be a minor change, but I'd go for PMG underlay to add the missing colours. This would give you enough colours to have every shape different.

 

Yeah, I would always start designing any puzzle-type game with that in mind; so, it's been hard for me not to suggest it yet. It's always worth adding PMG's to any display...







Also tagged with one or more of these keywords: game, FastBasic

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users