2 related suggestions

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: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

NESTED ERNEST M
Topic author, Duke
Duke
Avatar
NESTED ERNEST M
Topic author, Duke
Duke
Reputation: 14
Posts: 133
Joined: 23 Sep 2017
Location: Perú, Lima
Website

Post #1by NESTED ERNEST » 18 Sep 2019, 17:36

1) Damage hearts of different amount
Add a property called "damagehearts" (maybe in miscellaneous of game object editor) for the npc.- so that when the player(toad, peach and link) is damaged by this npc, this npc will remove different amount of hearts to player, (by default it is one)

2) sysval(PlayerHitPointMax) or char(1).hitpointmax
This is the maximum amount of hearts the player(toad, peach and link) has, that by default is 3.

It would not matter if only the first 3 hearts are visible in the HUD.
Attachments
hhu.png
hhu.png (1.87 KiB) Viewed 862 times
Programming NPCs in SMBX-38A is fun:

ROCKMAN GIF IN SMBX 38A

Image

Lx Xzit M
Moderator
Moderator
Avatar
Lx Xzit M
Moderator
Moderator
Reputation: 272
Posts: 618
Joined: 9 Nov 2015
Website

Post #2by Lx Xzit » 18 Sep 2019, 19:13

I'd rather call them "heartdmg" and "maxHP". I think they also could fit in sysvals
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: 4 guests