Author Topic: Tetris 64! (Full release 1.0a[update])  (Read 10700 times)

0 Members and 1 Guest are viewing this topic.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Tetris 64! (Full release 1.0a[update])
« Reply #15 on: November 03, 2018, 09:01:34 pm »
Hi Cobalt,

OK tried it with just the 3 files you mentioned in separate folder. I was surprised to see all the graphics but there was no sound.
Using very same bas file in old folder I did get sound.

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: Tetris 64! (Full release 1.0a[update])
« Reply #16 on: November 03, 2018, 10:28:26 pm »
Hi Cobalt,

OK tried it with just the 3 files you mentioned in separate folder. I was surprised to see all the graphics but there was no sound.
Using very same bas file in old folder I did get sound.

;( nobody reads my posts *sob sob*
some OS versions do not like the sounds so its default is off, you have to switch commented lines.
when you look at the BAS you should see these 2 lines around line 111 or so.

'LoadGameStuff LoadIt
LoadGameStuff NoSound

just flip the comment ' around and the sounds will load.

Granted after becoming radioactive I only have a half-life!

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Tetris 64! (Full release 1.0a[update])
« Reply #17 on: November 04, 2018, 01:33:50 am »
Looks like it was set to load sound:
Code: QB64: [Select]
  1.  
  2. st! = TIMER
  3.  
  4. PRINT "loading.";
  5.  
  6. LoadGameStuff LoadIt
  7. 'LoadGameStuff NoSound
  8.  
  9. _CLEARCOLOR _RGB32(0, 0, 0), MenuB
  10. _CLEARCOLOR _RGB32(0, 0, 0), MenuC
  11. _CLEARCOLOR _RGB32(0, 89, 251), EndSprtA
  12. BoardSetup
  13. MenuID%% = 0
  14. 'G.Height = 0
  15. 'G.Level = 9
  16. 'P.Score = 124000
  17. 'EndScreen
  18. '_PUTIMAGE , Temp&, _DISPLAY
  19. 'END
  20.  

Why would the same bas file untouched, same as shown above, play sound in one setting and not with the 3 files alone?
« Last Edit: November 04, 2018, 01:51:28 am by bplus »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Tetris 64! (Full release 1.0a[update])
« Reply #18 on: November 04, 2018, 01:50:13 am »

"the correct GFX and SFX are in this earlier reply. and you should just need 3 files a BAS, a GFX, and a SFX"

The file that makes the difference is not "a SFX" but the Tetris_Original.SFX

Hey Petr doe that get sound for you now? Don't use Tetris.SFX use Tetris_Original.SFX

Offline Petr

  • Forum Resident
  • Posts: 1720
  • The best code is the DNA of the hops.
    • View Profile
Re: Tetris 64! (Full release 1.0a[update])
« Reply #19 on: November 04, 2018, 03:17:32 am »
Hi. The time shift between us is a good hurdle, so I answer right now as I got out of bed (yesterday I was here until 1 am). So switching the comment that describes Cobalt did not help. Only when the tetris_original.sfx file was used the sound started to play.

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: Tetris 64! (Full release 1.0a[update])
« Reply #20 on: November 04, 2018, 12:25:50 pm »
OH you were still trying with the stuff from the rar file, that explains it.
Nothing I can do to prevent someone from using an out of date resource.
However I deleted the rar(very out of date) so hopefully no one else falls into that trap. though if your still using the anything from the rar file I'm surprised anything works.  The graphics were modified along the way, even the image formats. so how you got it to work with the rar is beyond me. The very way I stored and recalled the data in the GFX\SFX files is different from the stuff in the rar file. Impressed you didn't say it was broke from the get go, as it should have been.

But hopefully now nobody will encounter that issue. May have to add a menu at startup to set sound loading, thought about a command line option...
« Last Edit: November 04, 2018, 12:37:32 pm by Cobalt »
Granted after becoming radioactive I only have a half-life!

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Tetris 64! (Full release 1.0a[update])
« Reply #21 on: November 04, 2018, 01:59:40 pm »
Hi Cobalt
Downloaded, compiled and run.
I find it very cool!

I have no record of this version of tetris. The first I saw is BlockOut a DOS version in 3D. Then I have seen more TetrisClone on PC.

Here I fine the history of Tetris on video...
https://www.youtube.com/watch?v=c95UcYHa-PY

PS: I don't know if in the original version there was an Help, but after exploring the keyboard I find the key to play!
Lazly I have not read whole your post, where you define key to use to play plus mouse.

Thanks to share
Programming isn't difficult, only it's  consuming time and coffee

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: Tetris 64! (Full release 1.0a[update])
« Reply #22 on: November 04, 2018, 02:36:01 pm »
I am glad you like playing it TempB.

this version has it's base on the Nintendo version.

Also glad that you did not have any issues running the program, Thanks to Bplus and Petr I think I have resolved the issue and nobody else should encounter it. Unless they somehow find an old copy of the rar.
Granted after becoming radioactive I only have a half-life!