TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Resolved Questions
→
[HALF SOLVED] How do I make an in-game store?
Pages:
1
2
[HALF SOLVED] How do I make an in-game store?
rob1221
Posts: 9473
November 01, 2011, 02:16:15 pm
Just do that right before the transition to the next scene.
https://twitter.com/Rob1221dev
Mattcus
Posts: 24
November 01, 2011, 10:46:09 pm
Thanks it works the way i want it to. Now i have to create the shop itself and take money away.
Hectate
Posts: 4643
November 02, 2011, 07:17:14 am
You can have whatever behavior handles the scene change also handle saving the values together.
So, right before the "change scene" block for "when actor enters region", add one that does your "set Money to (Money + MoneyFoundThisLevel)"
Edit: Whoops, I was on the last page. Glad that it's working, haha!
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.
Mattcus
Posts: 24
November 02, 2011, 01:17:35 pm
Yeah i've looked on the wrong page before. Thanks anyway.
Pages:
1
2