Posted By
|
Message
|
Oskar,,,
Registered 21/04/2018 14:20:46
Points 904
|
29th April, 2018 at 29/04/2018 16:38:16 -
Can someone help me with random enemy movement using clickteam fusion 2.5? Because with my method the enemies go out of the map.
monik aka Oskar
|
AndyUK Mascot Maniac
Registered 01/08/2002
Points 14586
|
29th April, 2018 at 29/04/2018 16:51:56 -
Are you able to show us your attempt? upload it somewhere?
.
|
Oskar,,,
Registered 21/04/2018 14:20:46
Points 904
|
29th April, 2018 at 29/04/2018 16:59:14 -
https://imgur.com/a/5Kln1ZP
X( "Active 4" ) + Random(20 )
Y( "Active 4" ) + Random(20 )
monik aka Oskar
|
Oskar,,,
Registered 21/04/2018 14:20:46
Points 904
|
29th April, 2018 at 29/04/2018 17:01:32 -
+ active4 colides with background (set as obstycle) bounce
monik aka Oskar
|
UrbanMonk BRING BACK MITCH
Registered 07/07/2008
Points 49667
|
30th April, 2018 at 30/04/2018 21:08:38 -
Movement actions only apply to built-in movements.
You're mixing manual positioning with built-in movement actions.
Maybe what you should do instead is apply the bouncy ball movement to your enemies and set a random direction every 2 seconds instead. That way fusion will manage their position *and* the bounce action will work.
If you only want them to move a little bit each time you set a random direction you can also set the deceleration in the movement properties to a value larger than zero, and then adjust the speed each time you select a new random direction.
n/a
|
|
|