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
→
Suggestion Archives
→
getters and setters
Pages:
1
getters and setters
Shadowblitz16
Posts: 44
August 05, 2015, 08:24:30 pm
just a simple suggestion for the next update
can every block have a getters and a setters
or at least the ones its feasible please
just would make stencyl a lot easier to use
« Last Edit: August 05, 2015, 08:39:57 pm by Shadowblitz16 »
SadiQ
Posts: 1795
August 05, 2015, 09:44:10 pm
You'll have to be more explicit about what you mean. The getters and setters for attributes are in there:
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.
Shadowblitz16
Posts: 44
August 06, 2015, 12:07:58 pm
like for things like movement/motion blocks preferably
I have a topic about it here but it is a suggestion for a extension
http://community.stencyl.com/index.php/topic,43073.new.html#new
SadiQ
Posts: 1795
August 06, 2015, 12:21:28 pm
It would be a lot faster and easier for us if you would actually tell us what you want to achieve.
Even if GameMaker has a feature that Stencyl lacks, there are many ways to achieve the same task.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.
Shadowblitz16
Posts: 44
August 06, 2015, 12:25:33 pm
i want to achieve easier direction movement in general
for people who don't want or don't know how to do it with the built in functions
for example
it would be nice to have a way to read or get the motion the player is traveling in and set it without messing up their motion
and that wouldn't be all you could do with it
SadiQ
Posts: 1795
August 06, 2015, 08:34:47 pm
Stencyl already has blocks that allow you to read an actor's speed, and it has a block to set the actors velocity as well (set velocity to ... block).
You can look at some of the preshipped behaviors to see how some rules of motion work.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.
Shadowblitz16
Posts: 44
August 09, 2015, 12:47:41 pm
tell me where I can read the actor's speed then
I don't mean xspeed and yspeed I mean speed(directional)
and maybe then it needs a getter and setter for angle of motion too
also it needs a airfriction getter and setter
letmethink
Posts: 2545
August 09, 2015, 12:59:10 pm
What would you read in speed as? Direction and velocity?
~Letmethink
DTH
Posts: 148
August 09, 2015, 01:07:46 pm
Quote from: Shadowblitz16 on August 09, 2015, 12:47:41 pm
tell me where I can read the actor's speed then
Easy Math Extensions "magnitude of velocity for" does just that I beleive
Pages:
1