Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Pentads, yet another Tetris clone  (Read 3385 times)

0 Members and 1 Guest are viewing this topic.

Relic

  • Newbie
  • *
  • Posts: 43
    • View Profile
Pentads, yet another Tetris clone
« on: August 14, 2011, 08:27:14 am »
"Pentads" is yet another tetris clone. Nothing special, maybe a bit more difficult to play. Blocks are harder to fit. Meteorites do not let you relax.

http://img26.imageshack.us/img26/9214/pentadsle.jpg
http://img42.imageshack.us/img42/7866/pentadsplay.jpg

The game binary pack (for Windows) is here: http://www.mediafire.com/?d29pfm9jff9zn8m

License is simple. The game is free of charge. Do what you want with it except selling and removing copyright note.

Free music and sounds were borrowed from pacdv.com (see the following terms of use).  

TERMS OF USE: You may use the sound effects on this web site free of charge in your video, film, audio and multimedia productions but DO NOT e-sell them, post on a web site for download, or link directly to individual sound files. If you use these sound effects, please consider linking back to this site but you don't have to. http://www.pacdv.com/sounds

This game was mainly used as a test application for my game framework. Though it lacks important parts of user interface, namely settings dialog, save result dialog, message windows, etc., it is quite playable. It already has music and sound effects. I intend to finish this game as soon as possible (maybe ;-)).
In spite of lack of settings dialog, one can change a few options by editing the configuration file manually. In the bottom part of this file relevant tags of the configuration are described.
The game framework used for developing "Pentads" is not finished yet as well. For now GUI has only a few widgets: button, panel, picture and label. The GUI supports widget focus tab-order. A user can press Tab key to move focus forward and Shift-Tab to move focus backward. Pressing Enter against focused widget is equivalent to its left-mouse-clicking. For now only two buttons in the main menu have click event handlers: Game and Quit. Besides, the game can not be paused.

How to change options in the file config.xml.

Audio subsystem. One can switch on/off music and sounds and set volumes.

Code: [Select]
<subsystem name="audio">
  <item key="useMusic" value="true" />
  <item key="useSounds" value="true" />
  <item key="volumeMusic" value="50" />
  <item key="volumeSounds" value="50" />
</subsystem>

 
Game look. Default skin is "Haze". Who finds it too dull can choose a skin from the list: "Ocean", "Grass", "Lilac", "Honey", "Haze", "Pink", "Navy".
 
Code: [Select]
<subsystem name="game">
  <item key="look" value="Haze" />
</subsystem>
   
 
Key map. Sorry, so far it's somewhat inconvenient to change default keys. A user has to look at SFML source to be able to manually change constants for keys. Key assignments can be seen in the main game window (label "Keys").

The following aliases for game control keys are used:

"left2" is assigned to "LEFT"
"right2" .. to "RIGHT"
"up2" .. to "ROTATE"
"down2" .. to "DOWN"
"jump2" .. to "DROP"

Code: [Select]
<subsystem name="keymap">
  <item key="left2" value="291" />
  <item key="right2" value="292" />
  <item key="up2" value="293" />
  <item key="down2" value="294" />
  <item key="jump2" value="277" />
  <item key="menu" value="256" />
  <item key="pause" value="320" />
</subsystem>

N1ghtly

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
Pentads, yet another Tetris clone
« Reply #1 on: August 26, 2011, 12:28:06 pm »
I really like the visual style!
I'll try it when I get home :)

Relic

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Pentads, yet another Tetris clone
« Reply #2 on: April 02, 2013, 07:32:52 am »
Sorry for resurrecting the old topic. Just want to let everyone who downloaded Pentads (27 downloads of alpha version) and maybe liked it, know that while waiting for the stable SFML-2 release to finish the game, just to get acquainted with development for Android I ported the game to libgdx and published it on GooglePlay. It looks a bit different. Of course it's free.
https://play.google.com/store/apps/details?id=com.relixoft.pentads&feature=search_result
« Last Edit: April 09, 2013, 09:50:26 am by Relic »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
AW: Pentads, yet another Tetris clone
« Reply #3 on: April 02, 2013, 10:57:34 am »
Feels and looks very good, way better than many other Tetris clones I've tried on Android.
One thing though, that annoyes me, is that one can't exit the game when play, i.e. you have to die till you get a chance to go back to the menu. Can't you make use of the back or menu button? :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Relic

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Pentads, yet another Tetris clone
« Reply #4 on: April 02, 2013, 12:47:55 pm »
Thank you for your feedback!
Frankly speaking, the lack of immediate exit annoys me too.;) I'll add it ASAP. By the way, in the 1st iteration of the game there was a zone in the upper left corner (like Esc key on a PC keyboard) of the touch-screen to tap for exit. Later it was removed.

 

anything