SailTris

Rating: 
4.8
Your rating: None Average: 4.8 (5 votes)

Classic tetris game, in SailfishOS style!

To play select 'New Game' in pulley menu!

Swipe Left, Right or Down to move the block, Swipe two consecutive times Down to instant drop the Block, click on the screen to Rotate it.
Swipe Up to Pause the Game, to resume Pull Up to show the Pulley Menu

You gain 1 point for each game step and 10 points for each completed line! You can choose to play fast or strategically! If you rush into fast lines completing your points are multiplied, and gravity will help you fill the holes each 4 lines completed! If you prefer taking it slow, multiple lines combo gives you 100 bonus points for each line completed! And 1000 points when four lines are cleared!!

Every 1000 point you pass to the next level, and the speed is increased!

Planned Features (Not in particular order):

- Different saving Slots
- Display something on the cover page
- (Highscores online) Really unlikely
- Anything that will come in my (or yours ;) ) mind

I will try to release it on Jolla store when i'll think the game is really completed :)
 

Now Transifex translations are available Here, go submit your language!

I want to thank the following users for helping me with translations :)

Dutch team:
Vistaus (Heimen Stoffels)
pljmn (Nathan Follens)

Finnish team:
tuomakin (Tuomas Kinnunen)

French team:
MohamedZ (Mohamed-Younès BOUMEDIENE)

Russian Team:
lewa (Alexey)

Spanish Team:
carmenfdezb

I'm really grateful to all of you :)

Github repository Here

This app is completely developed by me, if you like it, please consider making a small donation, i would really appreciate! Click on the pic below to donate :)

 

Screenshots: 

Category:

Application versions: 
AttachmentSizeDate
File harbour-sailtris-1.0.4-1.armv7hl.rpm33.18 KB06/08/2015 - 17:58
File harbour-sailtris-1.0.3-1.armv7hl.rpm33.06 KB18/03/2015 - 14:49
File harbour-sailtris-1.0.2-1.armv7hl.rpm30.31 KB16/03/2015 - 17:33
File harbour-sailtris-1.0.1-1.armv7hl.rpm32.15 KB11/03/2015 - 14:27
File harbour-sailtris-1.0-1.armv7hl.rpm32.03 KB11/03/2015 - 14:19
Changelog: 

- v1.0.4-1
-- Fixed combo behaviour when pausing and saving

- v1.0.3-1
-- Fixed missing localizations

- v1.0.2-1
-- Updated Spanish, French and Dutch translations

- v1.0.1-1
-- Fixed Cover Page
-- To Do:
-- - Add Saving Slots
-- - Edit Cover

- v1.0-1
-- ATTENTION: I did a lot of changes, so there could be some bugs that i haven't notices
Please report anything strange :)
-- NOTICE: before update i suggest to uninstall application (if not, you will have two sailtris) and delete folder:
/home/nemo/.local/share/SailTris
Saved game and highscores will anyways be lost, so you may want to clean up some unused files, since i changed the saving folder
-- Now there is more time for Combos, it is always related to difficulty
-- Added Russian, Spanish and Dutch translations, thanks to lewa, carmenfdezb and Vistaus
-- Fixed About Page, so are needed new translations for existing language
-- Fastened Saving process
-- Changed some things that harbour didn't like (not user side)
-- To Do:
-- - Fix combo behaviour when pausing and saving

Comments

mp107's picture

I would like to help with Polish translation but I didn't get a confirmation of my request to add Polish language.

BillyHalley's picture

Hi! It's been a while since i worked on jolla, since i don't use it anymore as my main phone.

I have a job right now, and since it's summer i don't have a lot of free time to develop, but i'll see what i can do in the next weeks!

Thanks for the interest, is really appreciated!

jollailija's picture

Great work, but there is one BIG missing feature:
When the bottom of falling blocks hits ground, they stop immediedly. This is really bad. How am I supposed to do cool moves & recoveries? Could you add some time before player loses control of the falling block? Like 100ms on the easiest difficulty or something. Thanks!

Btw, why do you keep your database at /home/nemo/.local/share/SailTris? RPM validator doesn't like that. I changed the path to /usr/bin/harbour-sailtris using search&replace in the SDK. Works like a charm and is Harbour approved. Also, your source code on GitHub is outdated. It's still version 1.0.3-1.

BillyHalley's picture

The block stops immediately only if you double swipe down, if you wait for it to reach the bottom it will stop only after the same time of a "step", i think ot makes sense, if you want to instantly drop the block, it should instantly touch the bottom, you can still speed it up by slowly swiping down, i should update the instructions

I'm using the right folder since version 1.0, you can see it in the changelog ;)

I don't have internet on my pc right now, so i can't update github, sorry, i uploaded the rpm via mobile, that's all i can do for now

jollailija's picture

Thanks for your reply. I experimented with different "pro-moves" using the most easy difficulty and found that out. I still find it a big buggy with new blocks that have just appeared. One time I lost the game even though there still was an empty line at the top.

But the GitHub version is 1.0.3 (= later than 1.0), why is it still using the old location? Also, have you tried the USB tethering app? It's really useful when your main internet is down.

BillyHalley's picture

I tried USB tethering for Jolla, thanks a lot :D

BillyHalley's picture

Well, no object can fit in one line, so you lose ;)

the fileio.cpp in github seems to have the new directories, where did you see the old ones? Maybe there is some unused part of the code that i should remove

I've never heard of USB thetering, i'll give it a look

jollailija's picture

Well, if your strategy is to have a pole in the center and use it to slide blocks to the sides this will become a problem. Sliding blocks more than one space on flat surfaces is a pain (is it even possible?), could you, say, give the player more time after the first slide? That could be exploited to "shake" a block forever in the same place, so it would need some code to make sure the same block can't slide both directions on the same surface.

For the fileio.cpp in Github, look at lines 15, 18 and 29 for example. It says "v0.9-1" for the commit name.

https://github.com/BillyHalley/SailTris/blob/master/lib/fileio.cpp

By the way, you should set the cover to "undefined" (at least until you make a proper one). That way the user would see a scaled down version of the app instead of just a plain cover with "SailTris" on it.

BillyHalley's picture

Well, if i understand you are saying that the player should be able to move the block in one direction, without falling until he stops moving it. I think this makes the game too much easyer

directories from v0.9-1 are the same as 1.0, the old directory was /home/nemo/.local/share/Sailtris

the new directory is /home/nemo/.local/share/harbour-sailtris, as stated in the sailfish guideline for which i didn't know the link at the moment, and not /usr/bin/harbour-sailtris ,i'm not sure this is a path an app should access ( the last time i misread your post )

I think the validator doesn't like it because the path is hardcoded, i'll find a way

In the next update i'll work on the cover

objectifnul's picture

Note: as long as version 0.8-2 is still listed in Harbour, although the install file is missing, "pkcon update" won't work (fatal error)

BillyHalley's picture

Just uninstall and install againg, or download rpm file from openrepos page

I already removed 0.8-2

objectifnul's picture

Yes I know. Just try this: devel-su + pkcon update (without package name) and you will see. Missing installation file 0.8-2 causes a fatal error.

BillyHalley's picture

pkcon update doesn't show any error to me, i don't think it is related to this app

can you show me the output you get?

objectifnul's picture

Here it is:

,---
| SailfishOS 1.1.2.16 (Yliaavanlampi) (armv7hl)
'---
[nemo@Jolla ~]$ pkcon update
Getting updates
Waiting in queue
Starting
Querying
Refreshing software list
Updating packages
Waiting in queue
Starting
Resolving dependencies
Installing updates
Installing packages
Updating packages
Waiting in queue
Waiting for authentication
Waiting in queue
Starting
Resolving dependencies
Installing updates
Downloading packages
Fatal error: File './s/sailtris-0.8-2.armv7hl.rpm' not found on medium 'http://sailfish.openrepos.net/BillyHalley/personal/main'

BillyHalley's picture

Did you uninstall it from warehouse?

objectifnul's picture

I uninstalled it, don't remember for sure if from Openrepos or not. Then I deleted "/home/nemo/.local/share/SailTris", then I rebooted, then I downloaded 0.8-1 then I installed it, then I rebooted again. It's now working OK.

Then I performed "pkcon get-updates": it says there is an update 0.8-2 available, then "pkcon update" failed due to missing file.

Warehouse is still mentioning 0.8-2: that's probably the problem.

BillyHalley's picture

Uninstall from warehouse app, and maybe try disabling my repository, and then reinstall
for me warehouse doesn't show 0.8-2

objectifnul's picture

Problem solved: I had to perform "check updates" twice in warehouse to have 0.8-2 removed for good.

tvicol's picture

Latest version does not start even I delete

/home/nemo/.local/share/SailTris
BillyHalley's picture

Downgrade and reboot phone

objectifnul's picture

version 0.8-2 doesn't work. 0.8-1 was fine, so I tried to downgrade, but it doesn't work anymore. I deleted home/nemo/.local/share/SailTris but it didn't help.
EDIT: version 0.8-1 reinstalled and working (after reboot). Lost my outstanding score :(

BillyHalley's picture

I downgraded to 0.8-1 and rebooted phone and it works

tex's picture

Installed the latest version of the day for the first time. The game won't start. It tries to start, animated icon rotates a while in the cover, then it just shuts down or crashes.

tex's picture

Removed the previously installed version out of frustration. Well, later re-installed, now version 0.8-1. Onitial version failed at first but reboot fixed the situation.

BillyHalley's picture

Thanks for reporting, i'll see what can be done, in the mean time have you tried rebooting your phone?
If still not working install v 0.8-1 untill i'll find a solution

elastic's picture

with the latest update the blocks stopped falling :-( also I can't choose a difficulty level - reinstall didn't change anything :-( 

BillyHalley's picture

I think it's related to the issue I listed in the changelog,  at the moment i'm not sure how I got it working, if you can use terminal you can try

rm -rf /home/nemo/.local/share/SailTris

And this should work.
If you can't, I am afraid you have to wait next update ( i was thinking of releasing it tomorrow afternoon, but if is needed, i'll release it in the morning )

elastic's picture

No this doesn't solve the issue - the blocks don't fall down - I can swipe them left and right and even swipe them down but the won't fall automatically also the level of difficulty can not be choosen ... 

The last version worked perfect ... so it must be related to somethinh in the latest update ...

BillyHalley's picture

Try uninstalling from warehouse, installing an older version and then upgrading

I really don't know what could be the problem, i have 0.5-2 installed and it works fine

BillyHalley's picture

Maybe bug is fixed with 0.6-1, give it a try :)

Pages