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
→
Change the position of a Number Attribute
Pages:
1
Change the position of a Number Attribute
krazziebone02
Posts: 113
February 28, 2015, 03:53:31 am
sir i want to know is how will i change the x and y of a number attribute for example i already declared the number attribute in the the when drawing event so i want to know is when i press a button the number attribute will change the x and y
i want to be the best user of stencyl
t4u
Posts: 418
February 28, 2015, 05:40:32 am
I dont understand. rephrase post
USE PICTURES WHEN YOU ASK SOMETHING!
If I helped you be sure to mention it in your game.
Tutorials + downloads:
http://t4upl.blogspot.com/
krazziebone02
Posts: 113
February 28, 2015, 06:20:01 am
Quote from: t4u on February 28, 2015, 05:40:32 am
I dont understand. rephrase post
what i mean sir is i have a number attribute and i draw it in when drawing event so what i want to happen is when i press enter the position of x and y of the number attribute will change.....for example the position of number attribute is x = 100 and y = 100 and then i press then after that the position of the number attribute will move
i want to be the best user of stencyl
Bhoopalan
Posts: 1018
February 28, 2015, 09:10:55 am
Add an event as 'when enter is pressed'
from the setters tab in the game attribute, select 'set [game attribute] to game attribute + 10'. Try this. I'm not completely sure though
If I helped you at anytime, help me back build my twitter followers
https://twitter.com/imbhoopalan
Pages:
1