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
just make a "super armor" switch and if it's on you can't go to flinch/knockback state
I was thinking along the lines of having feedback for each hit (since Objects don't have a visual or auditory "reaction" to Attack boxes meeting Collision boxes unless you make it so, whether it's the included "blinking" effect from the set invincibility period, or a more specific animation. In my case, I want to show the enemy's "hit" animation, accompanied by a sound effect). My first thought was that it runs parallel to the "state of vulnerability," but I've been unable to figure out how to do that with PGM.
I tried studying & copying the Common Action method used in the "Witch & 66 Mushrooms" demo, but my limited understanding of Japanese has made it rather difficult to follow.
Looks like: Hit an Attack Detection -> Knife Hit = Switch ON -> Unconditionally return to previous Action Box. If Object Self Knife Hit = Switch ON -> Object Self Knife Hit Switch OFF -> unconditionally return to previous Action Box.
Of course, simply copying that leads to the "window of vulnerability" Action Box resetting each time the player attacks the enemy, leading to the player being able to "stun-lock" the enemy with attacks. I'd assume something other than the Common Actions & those particular switches is being utilized, but it's difficult to pinpoint the exact process... Whether it's the language barrier, I'm overlooking something simple, or I'm just stupid, I don't know.
Also you can add other conditions like the objects Invincibility switch must be OFF.
I made a "Vulnerable" Object Self variable, default set to "2" or "3" or whatever (the "window of vulnerability" length). When that variable equals zero (from the countdown), proceed to the next Action Box. At any point, the "Vulnerability" Object Self variable is set back to two (also, the Timer Function has to be stopped at the same time, to maintain consistent timing).
I guess I mistakenly assumed the Timer Function is the same as the "After Certain Time Passes" link. I still don't entirely understand how, admittedly, but I hope I'm able to help others with similar problems.
I'd like to thank you guys, still. I never messed around with some of this stuff (e.g. Object Connections) before, so I expanded my knowledge in multiple ways, in the end!