Const720p/ja
From M.U.G.E.N Wiki
This page is in progress of being translated to ja. You can help translating it or go to another language version that follows:
Trigger: Const720p
Converts a value from the 720p coordinate space to the player's coordinate space. The conversion ratio between coordinate spaces is the ratio of their widths.
- Format:
- Const720p(exprn)
- Arguments:
- exprn
- Expression containing the value to convert. (float)
- Return type:
- float
- Error conditions:
- Returns SFalse if exprn evaluates to SFalse.
- Notes:
- Non-zero position and velocity offset values in common1.cns should use one of the Const triggers to maintain consistency with characters from a different coordinate space.
Example:
value = Const720p(12) Sets value 3 if the player has a coordinate space of 320x240 (240p). Sets value 6 if the player has a coordinate space of 640x480 (480p). Sets value 12 if the player has a coordinate space of 1280x720 (720p).