Classic TETRIS

User avatar
Фант
Posts: 1363
Joined: Sat Nov 30, 2013 10:01 am
My devices: iPad 4 (iOS 9.3), iMac (MAC OS 11.03)
Location: Россия,Санкт-Петербург
Flag: Russia
Contact:

Re: Classic TETRIS

Post by Фант »

Bensonmaam wrote:For the iOs keyboard?
Well, german.
no! Language & Region

Bensonmaam
Posts: 4
Joined: Thu Jan 01, 2015 10:19 pm
My devices: Ipad

Re: Classic TETRIS

Post by Bensonmaam »

Language is Deutsch means German
Region is Deutsch, also
Last edited by Bensonmaam on Fri Jan 02, 2015 10:35 am, edited 1 time in total.

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: Classic TETRIS

Post by Dutchman »

Bensonmaam wrote:When running tetris I get the error message
Input without data in file system/language/en.
What went wrong?
It tells me that the "language"-file 'en' in the folder 'system/language' is empty.
There should be also a file 'de', for Deutsch. So your game should start in die Deutsche Sprache. :D

User avatar
Фант
Posts: 1363
Joined: Sat Nov 30, 2013 10:01 am
My devices: iPad 4 (iOS 9.3), iMac (MAC OS 11.03)
Location: Россия,Санкт-Петербург
Flag: Russia
Contact:

Re: Classic TETRIS

Post by Фант »

check the contents of the folder System / Language. folder files should be en for English and de for German language
https://www.dropbox.com/sh/z2cjuosl59w9 ... guage?dl=0

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: Classic TETRIS

Post by Dutchman »

@ Mr. Fant:
I prefer to use the iPad upside down, so that it fits in a stand with the supply cable at te top.
Your game is then upside down.
I solved that in my game "Sea Combat' with the following code:

Code: Select all

GET ORIENTATION p
IF ODD(p) THEN
  SET ORIENTATION p
ELSE
  SET ORIENTATION TOP
ENDIF

User avatar
Фант
Posts: 1363
Joined: Sat Nov 30, 2013 10:01 am
My devices: iPad 4 (iOS 9.3), iMac (MAC OS 11.03)
Location: Россия,Санкт-Петербург
Flag: Russia
Contact:

Re: Classic TETRIS

Post by Фант »

Dutchman wrote:@ Mr. Fant:
I prefer to use the iPad upside down, so that it fits in a stand with the supply cable at te top.
Your game is then upside down.
I solved that in my game "Sea Combat' with the following code:

Code: Select all

GET ORIENTATION p
IF ODD(p) THEN
  SET ORIENTATION p
ELSE
  SET ORIENTATION TOP
ENDIF
thank you! I agree with you! Tetris-old version. in his last program I use when the application starts a universal orientation

GET ORIENTATION P
if p = 1 or p = 3 or p = 4 then set orientation 4 else set orientation 2

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Classic TETRIS

Post by Mr. Kibernetik »

Фант wrote: if p = 1 or p = 3 or p = 4 then set orientation 4 else set orientation 2
IF p=2 THEN set orientation 2 ELSE set orientation 4 :D

User avatar
Фант
Posts: 1363
Joined: Sat Nov 30, 2013 10:01 am
My devices: iPad 4 (iOS 9.3), iMac (MAC OS 11.03)
Location: Россия,Санкт-Петербург
Flag: Russia
Contact:

Re: Classic TETRIS

Post by Фант »

Mr. Kibernetik wrote:
Фант wrote: if p = 1 or p = 3 or p = 4 then set orientation 4 else set orientation 2
IF p=2 THEN set orientation 2 ELSE set orientation 4 :D
В моем случае исключается вертикальная ориентация для устройства-пример для игр только с ландшафтной ориентацией

Bensonmaam
Posts: 4
Joined: Thu Jan 01, 2015 10:19 pm
My devices: Ipad

Re: Classic TETRIS

Post by Bensonmaam »

Now I have created the folders. But I don't know what inputs I have to put in a file. Whilst I have no source of the tetris program, can someone provide the appropriate text file used by tetris?

User avatar
Фант
Posts: 1363
Joined: Sat Nov 30, 2013 10:01 am
My devices: iPad 4 (iOS 9.3), iMac (MAC OS 11.03)
Location: Россия,Санкт-Петербург
Flag: Russia
Contact:

Re: Classic TETRIS

Post by Фант »

Bensonmaam wrote:Now I have created the folders. But I don't know what inputs I have to put in a file. Whilst I have no source of the tetris program, can someone provide the appropriate text file used by tetris?
create do not need anything! sufficient to establish the content of links to any folder and run smart Basic file Tetris.cod
https://www.dropbox.com/sh/z2cjuosl59w9 ... OhmZtmu-Za

Post Reply