Random values in NPCs

Description: Report bugs of SMBX-38A here.
Forum rules: https://wohlsoft.ru/forum/viewtopic.php?f=64&t=1069
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

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

Post #1by Lx Xzit » 10 Jun 2020, 0:24

This NPC is extremely unfair and frustrating. It takes about 1 second to emerge and can immediately fill the screen out of fireballs which is impossible to react. And look how big their range is:

Spoiler
Honeycam 2020-06-09 18-11-05.gif
Spoiler
plants.png
plants.png (3.21 KiB) Viewed 596 times

People also often use it in irresponsable designs, by placing then in high areas and making them throw lots of projectiles. But even a small number of fireballs can be unfair because of their completely random trajectory.

My suggestions are:
a. Make it act like the Walking Piranha Plants fireballs, so you can expect fireballs to reach certain height and follow certain trajectory:
Spoiler
Honeycam 2020-06-09 18-15-21.gif

b. Make the fireballs be fired in order, and not all of them at the same time.

c. Set the maximum number of fireballs to 6. 100 it's just crazy.



I noticed that in SMBX38A, NPCs that uses random values tend to be very frustrating overall. For example, Hammer Bros can throw two hammers, jump and change facing direction at a very little interval of time, making them completely unpredictable, and unpredictable means frustrating. This also happens with Walking Piranha Plants, they turn randomly to the other direction.

Please set these random values (changing facing direction, jumping and throwing npcs from hammer bros) a minimum and a maximum range. So for example you can expect Hammer Bros to throw hammers every 3-4 seconds (with a 3 seconds of cooldown guaranteed). Also for hammer bros, it seems there are two counters to make them throw hammers, if so please remove one of them (the random one, I think the other is associated with the animations).

Remember that a good AI must be predictable.
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: 268
Joined: 23 Sep 2017
Location: Perú, Lima
Youtube channel URL

Post #2by NESTED ERNEST » 10 Jun 2020, 22:05

In Mario Forever they are thrown randomly but not all at the same time and have a little less gravity.

https://www.youtube.com/watch?v=wj0Ngy0ocys
Programming NPCs in SMBX-38A is fun:
That is me
Image
Image
Image
Image

Special image
  • yt-image-banner: https://yt3.ggpht.com/M_O1AzQEOJogSq5OJESIaA5kFLdbwdDNMihDOJkJgPiH7cOx-LWK41TU9GWzExmkmpn3EWYbJg=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj
  • image-to-up: https://3.bp.blogspot.com/-Y-LrpIS2rqw/UCBTtk7k-pI/AAAAAAAABBs/qZuI0sCStkc/s1600/jean-baptiste+beaudelle+girafe++escargot.jpg
  • image-to-left: https://us.123rf.com/450wm/trassnick/trassnick2007/trassnick200700002/152919781-el-marl%C3%ADn-negro-grande-salta-del-mar-pesca-extrema-del-pez-espada-negro-en-alta-mar-vacaciones-en-lo.jpg
  • image-last-w: 1


ROCKMAN GIF IN SMBX 38A

Image

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

Post #3by Lx Xzit » 11 Jun 2020, 0:12

Yes but it's Mario Forever. It's not a good example to fix the piranha plants. They are fairer in Mario Forever, but they're still bad.
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image


Return to “SMBX-38A Bug reports”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest