Smbx 1.4.5: something weird on npc 48, 130, 131(fixed path 26, only npc 48)

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

NESTED ERNEST M
Topic author, Count
Count
Avatar
NESTED ERNEST M
Topic author, Count
Count
Reputation: 71
Posts: 268
Joined: 23 Sep 2017
Location: Perú, Lima
Youtube channel URL

Post #1by NESTED ERNEST » 28 Nov 2019, 0:12

Obviously this is when the npc has a script.

Spoiler

Code: Select all

with npc(sysval(param1))   
   .ysp=.ysp+0.26
   if .ysp>8 then
      .ysp=8
   end if   
   
   if .stand=1 then
   .ivala=.ivala+1
   if .ivala=1 then
      .xsp=0
   end if
   end if
   
   if .ivala>=66*3 then      
      .ysp=-8
      .xsp=1.5*(1-2*.facing)
      .ivala=0
   end if
   
end with

If I put the script(on spoiler) on npc-48 this always has an additional bounce(it is bad), this does not happen in other npc.

You can make npc 130 and 131 that when I put the script(on spoiler) it doesn't vibrate anymore.

Look at this custom npc vibra.
Image
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

Return to “SMBX-38A Bug reports”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest