SA-MP Forums Archive
[Include] PBlock (PMinigames) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] PBlock (PMinigames) (/showthread.php?tid=281584)

Pages: 1 2


PBlock (PMinigames) - Phanto90 - 06.09.2011

What's this?
This is a little game I’ve seen somewhere (maybe on a sa:mp server, but I've not seen released anywhere) that I rebuild.
The game is the follow:
• Player can move a block that is spawned up in a table and can move it freely around in a table of 5x10
• When 3 or more blocks of the same color are places one next to another they will cancel and player will score a point.
• It uses only 5 textdraws for all players, so don’t worry about textdraw’s number.
• Nice sound effects. (If you hates that stupid music just remove PB_PlaySound function when the game starts)
• Use RIGHT and LEFT to play! Include in your gamemode & Have a nice game!
Changelog
Код:
** Version 1.1
-Added rows checking algorithm (altought a bit rough as system)
Main Fuctions

• PBlock_StartGame(playerid)
Start the game for a player.

• PBlock_ExitGame(playerid)
Terminates the game for a player.
Note: It is automatically called when a player disconnects


Screens
*Note: the background is grey because my character was falling in nothing.



Download
PBlock 1.1 (pastebin) [save as PBlock.inc]

//Sorry for my awful english :P


Re: PBlock (PMinigames) - FireCat - 06.09.2011

Hahahahaha epic! Aka tetris >: D


Re: PBlock (PMinigames) - Anzipane! - 06.09.2011

Pretty cool Phanto! Thanks for sharing


Re: PBlock (PMinigames) - dowster - 06.09.2011

i remember this too, he had it on his server


Re: PBlock (PMinigames) - LDR_ - 06.09.2011

LoL, Phanto ottimo!!


Re: PBlock (PMinigames) - Phanto90 - 06.09.2011

Quote:
Originally Posted by dowster
Посмотреть сообщение
i remember this too, he had it on his server
If can I ask, he who?


Re: PBlock (PMinigames) - =WoR=Varth - 06.09.2011

Lol epic XD


Re: PBlock (PMinigames) - Phanto90 - 06.09.2011

Quote:
Originally Posted by Anzipane!
Посмотреть сообщение
Pretty cool Phanto! Thanks for sharing
:P
Quote:
Originally Posted by varthshenon
Посмотреть сообщение
Lol epic XD

Quote:
Originally Posted by FireCat
Посмотреть сообщение
Hahahahaha epic! Aka tetris >: D
Well the tetris i know it's a bit different, anyway thanks all
Hope to finish soon the rows deleting code


Re: PBlock (PMinigames) - _All3Xz_ - 06.09.2011

bravo panto!


Re: PBlock (PMinigames) - dowster - 06.09.2011

Quote:
Originally Posted by Phanto90
Посмотреть сообщение
If can I ask, he who?
no idea, ill check my long list of subbed threads lol


Re: PBlock (PMinigames) - [IKS]Niko_Hs™ - 06.09.2011

Bravo Phanto!

Una Bella idea quella del tetris .


Re: PBlock (PMinigames) - 26_RUSSS - 06.09.2011

good. thanks!


Re: PBlock (PMinigames) - TheBluec0de - 06.09.2011

Bello.


Re: PBlock (PMinigames) - peppinux. - 07.09.2011

Good Phanto!


Re: PBlock (PMinigames) - Sasino97 - 07.09.2011

Fantastico, ma perchи 'PBlock', non sarebbe meglio 'PTetris' o qualcosa del genere? A me sembra piu un tetris .


Re: PBlock (PMinigames) - Kaperstone - 07.09.2011

awasome


Re: PBlock (PMinigames) - xpeppe - 07.09.2011

Awesome! Good Job!


Re: PBlock (PMinigames) - Pintinhas - 07.09.2011

Real Cool!

GoodJob


Re: PBlock (PMinigames) - Phanto90 - 07.09.2011

Quote:
Originally Posted by Pintinhas
Посмотреть сообщение
Real Cool!

GoodJob
Thanks :P


Re: PBlock (PMinigames) - iMonk3y - 07.09.2011

I had in mind to create a tetris minigame (with objects though), but never really had enough motivation to begin working on it... This is well done job!