Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
basically, (Ill try and explain it more briefly:)
There are instances of 'obj_enemy,' which spawn inside an object 'obj_limit.' obj_limit is basically a big empty rectangle, with only the boundaries of the rectangle being the drawn parts of the sprite (and thus the Collision mask)
I want to, using other methods than Collision Event, make the enemy-objects stop or turn around when they collide with obj_limit (as in, its boundaries, so basically just obj_limit)
Somehow, place_meeting() and position_meeting() don't register any code that is supposed to affect the movement of obj_enemy's, like stopping them, turning them around etc. this never happens on collision.
i managed to solve the issue actually, using mp_potential_step for the enemy objects to avoid the limits when needed. but when they can pass through, they just ignore the avoid-code and get new values for speed and direction, allowing them to pass through the obj_limit.
I found your code useful as well, thanks for response