char().invanim

Description: Have any suggestions or new ideas for SMBX-38A? This is a place for you. Good suggestions may appear in future versions of SMBX-38A.
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

Lx Xzit M
Topic author, Moderator
Moderator
Avatar
Lx Xzit M
Topic author, Moderator
Moderator
Reputation: 399
Posts: 753
Joined: 9 Nov 2015
Website

Post #1by Lx Xzit » 27 Aug 2020, 20:09

This function returns true when player cannot move after getting a power-up/getting hurt (37 frames for powering up/down, 11 for getting an special power up) Read only.

It's really hard (or even impossible) to detect accurately when the player is frozen due powering up/down without using Autorun events. Everytime I make scripts oriented to the player I struggle with this animation, a lot. So please consider adding it in a future version!
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image

NESTED ERNEST M
Count
Count
Avatar
NESTED ERNEST M
Count
Count
Reputation: 71
Posts: 261
Joined: 23 Sep 2017
Location: Perú, Lima
Website

Post #2by NESTED ERNEST » 28 Aug 2020, 1:53

When is this of 11 frames?
Programming NPCs in SMBX-38A is fun:
That is me
Image
Image
Image
Image

ROCKMAN GIF IN SMBX 38A

Image

Lx Xzit M
Topic author, Moderator
Moderator
Avatar
Lx Xzit M
Topic author, Moderator
Moderator
Reputation: 399
Posts: 753
Joined: 9 Nov 2015
Website

Post #3by Lx Xzit » 28 Aug 2020, 1:58

When getting a "special" power-up (Leaf, Tanooki Suit, Hammer Suit and/or Frog Suit). I call them "Special" because they have a different animation
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image


Return to “Ideas & Suggestions”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest