The Daily Click ::. Forums ::. Klik Coding Help ::. How to unlock something while just finished the last level of a game?
 

Post Reply  Post Oekaki 
 

Posted By Message

Videogameget



Registered
  03/07/2011
Points
  405
6th November, 2011 at 20:40:53 -

Yeah please respond!

 
In reconstruction.

Phredreeke

Don't listen to this idiot

Registered
  03/08/2002
Points
  4504

You've Been Circy'd!VIP MemberPS3 Owner
6th November, 2011 at 20:51:38 -

INI object?

 
- Ok, you must admit that was the most creative cussing this site have ever seen -

Make some more box arts damnit!
http://create-games.com/forum_post.asp?id=285363

Videogameget



Registered
  03/07/2011
Points
  405
6th November, 2011 at 21:25:32 -

0% experience on INI

 
In reconstruction.

Sumo148

Super amazing fantastic user

Registered
  26/01/2009
Points
  530

360 OwnerThe Cake is a LieVIP MemberPokemon Ball!I am an April FoolI donated an open source projectSanta Hat
6th November, 2011 at 23:26:53 -

INI tutorial:
http://www.clickteam.com/website/usa/img/uploads/tutorials/download/ini_tutorial.pdf

INI is mostly used for save-load systems for your games. For example if you unlock an item, you can write a value or string in the INI and then save that .ini file. You can then load the file up the next time someone plays your game and retrieve that data.

If your just talking about unlocks in your game across multiple frames, you can use the global strings and values to communicate data between the frames. For example, at the end of the frame set global string A to "unlocked". Then at the next frame when you test Global String A = "unlocked" you do an action.

 
n/a

Videogameget



Registered
  03/07/2011
Points
  405
6th November, 2011 at 23:42:56 -

Global wha? Ok it sounds ocmplicated idk if you can explain it a bit more easy because it's a button that must be enable! Get it?

 
In reconstruction.

Fish20



Registered
  03/12/2007
Points
  263

VIP MemberPS3 OwnerI like Aliens!I'm a Storm TrooperIt's-a me, Mario!I am an April FoolPicture Me This Round 48 Winner!
7th November, 2011 at 04:30:07 -

Final Frame
(Player finshes game)
-Set Global String A to "unlock"


Menu
Global String A = "unlock"
-Create "Button"

 
All your base are in another castle, take this.

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
7th November, 2011 at 08:51:29 -

if you want to achieve what you are asking you will need to use a save/load feature using INI or array. I suggest you read the ini tutorial and it will help you loads with this and future games.

 
n/a

Fordom

Nordanrikets konung

Registered
  12/02/2009
Points
  190

VIP Member
9th November, 2011 at 23:51:49 -

I would use a custom data file using the tokens object to load data from commands, then i would encrypt it.

So:

unlock.machinegun'true'
unlock.pistol'true'

to allow for better flexibility. I always do like that...

etc.

Then i would store it a very strange path like windows/system32/asfdiah/dslkla/ to be extra security.
THen i would use hash to check integrity of file, so people cannot editit it




 
This forum is full of trolls and disinfo agents.

markno2



Registered
  06/06/2006
Points
  865

Game of the Week WinnerVIP MemberPicture Me This Round 30 Winner!Weekly Picture Me This Round 39 Winner!Kliktober Special Award Tag
10th November, 2011 at 04:58:44 -

I would just give them a message, saying "press X five times in menu" to unlock. I'm sure the player would prefer that to having .INI stored in System32.

 
Discarded pizza boxes are an indispensable source of cheese.

Videogameget



Registered
  03/07/2011
Points
  405
11th November, 2011 at 20:00:02 -

That would be cheating pressing X five times.

Im kinda understanding this but i still need more.

 
In reconstruction.

markno2



Registered
  06/06/2006
Points
  865

Game of the Week WinnerVIP MemberPicture Me This Round 30 Winner!Weekly Picture Me This Round 39 Winner!Kliktober Special Award Tag
12th November, 2011 at 20:05:44 -

Well then, I made an example. This is the absolute easiest way to unlock something using INI. Hope it helps.

http://mfa.aquadasoft.com/upload/1321127905-FastestINI.mfa

 
Discarded pizza boxes are an indispensable source of cheese.
   

Post Reply



 



Advertisement

Worth A Click