playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Playmaker 1.9.1 Released!
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Money system
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Money system (Read 1299 times)
Ayman
Playmaker Newbie
Posts: 24
Money system
«
on:
August 15, 2018, 10:30:16 AM »
Hi guys what i want to do is when the player finish the level get the amount of money i set . And when he goes to next level the money not reset (stay saved) . Sorry for my bad english and thaanks
Logged
Fat Pug Studio
Beta Group
Hero Member
Posts: 1294
Re: Money system
«
Reply #1 on:
August 15, 2018, 12:06:42 PM »
Save it in global variable.
Logged
Available for Playmaker work
Ayman
Playmaker Newbie
Posts: 24
Re: Money system
«
Reply #2 on:
August 15, 2018, 02:19:55 PM »
Thanks, but still confused ho can i make when the level complete the player get money . Can you tell me exactly what should i do
Logged
Fat Pug Studio
Beta Group
Hero Member
Posts: 1294
Re: Money system
«
Reply #3 on:
August 15, 2018, 03:16:24 PM »
Make a new local int variable named "money"
Change local variable to global variable
At the end of the level use int add x to y, where x is the amount of money you want add, and y is global int variable money.
Logged
Available for Playmaker work
Ayman
Playmaker Newbie
Posts: 24
Re: Money system
«
Reply #4 on:
August 15, 2018, 07:55:35 PM »
Okay thank you i m gonna try
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Money system