I was about to put this in the wishlist area, the ability to read object x/y positions and mouse x/y position into variables.
Then I discovered that the 'Set Variable' event does support using MouseX() as value.
Is this also possible for object, to get their position, angle or dimmension and use them in variables?
Can you read the X / Y value from objects into variables?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Can you read the X / Y value from objects into variables?
No, but something like this is planned for the next version. Of course you can also use custom code for this, e.g.
Code: Select all
varname = GetAttribute(#LAYER, %!OBJECTID, #ATTRXPOS)
Re: Can you read the X / Y value from objects into variables?
Yes. Designer is like a Wolf in Sheep's clothing.
Aperently it can do many basic tasks, but by using code it can do anything.
I got the Designer some years ago along with HollyWood, thinking that it would be easier to start with instead of learning Hollywood. But then, due to many good example code and good documentation, I found that Hollywood was not that hard even for beginners.
Now I decided to re-discover Designer, and I made myself a project which I stubbornly try to se how far I can get without using code.
But I am now curious about the plans for Designer. You mention stuff that may be in the next release, and some issues in other posts you already have labeled as FIXED.
Do you plan to relase builds with minor changes for the things already fixed, or will everything be put together in the next major release?
(It would be nice to have at least the issues that was bugs resolved in a not to long timeframe)
Aperently it can do many basic tasks, but by using code it can do anything.
I got the Designer some years ago along with HollyWood, thinking that it would be easier to start with instead of learning Hollywood. But then, due to many good example code and good documentation, I found that Hollywood was not that hard even for beginners.
Now I decided to re-discover Designer, and I made myself a project which I stubbornly try to se how far I can get without using code.
But I am now curious about the plans for Designer. You mention stuff that may be in the next release, and some issues in other posts you already have labeled as FIXED.
Do you plan to relase builds with minor changes for the things already fixed, or will everything be put together in the next major release?
(It would be nice to have at least the issues that was bugs resolved in a not to long timeframe)
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Can you read the X / Y value from objects into variables?
Code: Select all
- New: Added "Get object attribute" action event; this is an extensive action event which allows you to
read all sorts of states into a user variable, e.g. object position, size, transformation, color, anim
and video states, sound states, mouse and keyboard states and so on; this can be quite useful when
using action objects to write subroutines in Designer