Here you go:
(had much fun while doing this)
Download .capx
I'd go with a dictionary.
It works like this:
Also, I'd be happy if you would provide the project context, so we know what object suits your purpose the most.
Usually, the .exe takes a bit to launch.
Check the Taskmanager for the nw.exe.
Otherwise, did you install DirectX 9? If not, do so with the dxwebsetup.exe.
If all that doesn't work, you will need us to provide with your .capx to debug the issue.
You know what would be helpful? If you would actually state the following:
Either put comments into the .capx or state in this thread what you need.
You can't expect us to read through all your code and try to figure out what you are trying to achieve through just that.
[EDIT] Did you just edit this thread's topic? Either create a new topic or delete this one if it isn't important to you anymore. Please be user-friendly.
Do you want both objects to move simultaneosly?
If so, simply assign a sine behaviour to the red object aswell, with the same parameters and start both behaviours at the same time.
If you could state the context in which you want to use the sine behaviour (platform, obstacle), we could help better.
Until you reach 500 reputation points, make sure to tick "Do not automatically parse URLs" at the bottom of your thread or your link will be shortened and not usable by us.
Edit your post, paste your link again, tick the above-mentioned box and save the changes.
Give the Rock the "SOLID" behaviour and give the player the "PUSH OUT SOLID" behaviour.
Now, add an event "on start of layout", and an action "Player: Add obstacle: Rock" under that.
Develop games in your browser. Powerful, performant & highly capable.
glerikud Thanks for your answer, unfortunately, I'm not able to download r240 atm, because of internet issues.
But I'll have a look at it asap.
Download
Just use "Apply force at angle".
Use 0 for movement to the right and 180 for movement to the left.
You probably wonder why you don't have any responses.
The thing is:
Your post is not specific enough.
And too short.
You can't possibly expect people to know what you mean by "swipe"..
What do you want to use it for?
Which specifications does it have to have?
..?
Umm, could you explain that a bit more detailed?
Do you simply want the ships to collide?
Go with the "Physics" behaviour and adjust for your needs.
Also, please provide a .capx of your project, that makes helping you easier.
Member since 26 Sep, 2016