Product Chat / OMG! another just for fun - hangman game

Author
Message
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 15th Feb 2017 13:56
Hi guys
Simple version of hangman game in GG.
You can improve it, for example:
- giving the chance to game over, without re-load level.
- Uploading sprittes, instead of images like I did, and doing than all happens, inside the spritte.
- You can change images and put your owns.
- You can expand the quantity of target words.
- You can add sounds.

How to
Like in the standard game. Jus press a char key.

stats
You've the user char on the screen
You've the hits and fails too.
You've the images appearing accordingly with the fails.

Just put some dynamic entity and attach the script (I'm using a barrel)

Unzip file attached.
Place hangman image folder in scriptbank>images
Place script in scriptbank folder.
Script is well commented.

and enjoy.

hangman gameOver




hangman win



3com

Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

Attachments

Login to view attachments
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 15th Feb 2017 16:17
Hangman, quite a good way to get into string manipulation You should really show the letters that you correctly guess though, not just a count of correct guesses


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 18th Feb 2017 22:25
Sorry for the delay, I'm working on a very large pack.
The idea is to show the character introduced by the player briefly, and replace this character with the next, in order to increase the difficulty.
In return the player has as many opportunities as the word is long, which he has to guess.
In other words, if the word has 10 characters, the player will have 10 chances to guess the word.

The player will have to use memory, or a pencil and a paper.

That's why the code is modifiable, so the user with a little knowledge of LUA, can modify the game to his own liking.

Use it as a basis to create your own version of the game and share it with the community.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM

Login to post a reply

Server time is: 2024-07-08 08:17:08
Your offset time is: 2024-07-08 08:17:08