Parallax error (FIXED with patch 6)

Description: Report bugs of SMBX-38A here.
Moderators: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

Nezumi
Topic author, Nice citizen
Nice citizen
Avatar
Nezumi
Topic author, Nice citizen
Nice citizen
Reputation: 1
Posts: 13
Joined: 10 Feb 2017
YouTube

Post #1by Nezumi » 8 Jul 2019, 0:16

The error was resolved in patch 6. Thanks

It happens in all levels, in some it is noticed more than in others. I guess it can be accommodated, in the previous version this did not happen. But when playing with two players there were always parallax errors in all versions. I leave you video.



val(ScreenX)=sysval(Player1scrX)
val(ScreenY)=sysval(Player1scrY)

do

call LMove(Parallax1, (val(ScreenX)-sysval(Player1scrX))/(+2), (val(ScreenY)-sysval(Player1scrY))\(-100), 100)
call LMove(Parallax2, (val(ScreenX)-sysval(Player1scrX))/(-1), (val(ScreenY)-sysval(Player1scrY))\(-1), 1)
call LMove(Parallax3, (val(ScreenX)-sysval(Player1scrX))/(-1.25), (val(ScreenY)-sysval(Player1scrY))\(-2), 2)
call LMove(Parallax4, (val(ScreenX)-sysval(Player1scrX))/(-1.50), (val(ScreenY)-sysval(Player1scrY))\(-2), 2)
call LMove(Parallax5, (val(ScreenX)-sysval(Player1scrX))/(-2), (val(ScreenY)-sysval(Player1scrY))\(-2), 2)
call LMove(Parallax6, (val(ScreenX)-sysval(Player1scrX))/(-3), (val(ScreenY)-sysval(Player1scrY))\(-2), 2)
call LMove(Parallax7, (val(ScreenX)-sysval(Player1scrX))/(-5), (val(ScreenY)-sysval(Player1scrY))\(-2), 2)
call LMove(Parallax8, (val(ScreenX)-sysval(Player1scrX))/(-1.80), (val(ScreenY)-sysval(Player1scrY))\(-2), 2)
call LMove(Parallax9, (val(ScreenX)-sysval(Player1scrX))/(-1.25), (val(ScreenY)-sysval(Player1scrY))\(-100), 100)
call LMove(Parallax10, (val(ScreenX)-sysval(Player1scrX))/(-2), (val(ScreenY)-sysval(Player1scrY))\(-100), 100)
call LMove(Parallax11, (val(ScreenX)-sysval(Player1scrX))/(-4), (val(ScreenY)-sysval(Player1scrY))\(-100), 100)
call LMove(Parallax12, (val(ScreenX)-sysval(Player1scrX))/(+2), (val(ScreenY)-sysval(Player1scrY))\(-100), 100)
call LMove(Parallax35, (val(ScreenX)-sysval(Player1scrX))/(+1), (val(ScreenY)-sysval(Player1scrY))\(-100), 100)
call LMove(Parallax37, (val(ScreenX)-sysval(Player1scrX))/(+1), (val(ScreenY)-sysval(Player1scrY))\(-100), 100)
call LMove(Parallax6b, (val(ScreenX)-sysval(Player1scrX))/(-10), (val(ScreenY)-sysval(Player1scrY))\(-2), 2)

call sleep(1)
loop
Attachments
smbx 1.4.5.mp4 (42.36 MiB) Viewed 18 times
smbx 1.4.4.mp4 (26.39 MiB) Viewed 7 times
Last edited by Nezumi on 12 Jul 2019, 2:35, edited 6 times in total.

Nezumi
Topic author, Nice citizen
Nice citizen
Avatar
Nezumi
Topic author, Nice citizen
Nice citizen
Reputation: 1
Posts: 13
Joined: 10 Feb 2017
YouTube

Post #2by Nezumi » 8 Jul 2019, 21:49

Error updated

5438A38A
Developer
Developer
5438A38A
Developer
Developer
Reputation: 38
Posts: 13
Joined: 25 Jan 2016

Post #3by 5438A38A » 9 Jul 2019, 14:31

The script piece works as expect, upload your level please.

Eri7 M
Viscount
Viscount
Avatar
Eri7 M
Viscount
Viscount
Age: 18
Reputation: 82
Posts: 327
Joined: 19 Dec 2016
Location: Germany , Bonn

Post #4by Eri7 » 9 Jul 2019, 16:08

The script doesn't work for me as well and i don't know why since it worked perfectly in 1.4.4.
Join the discord server about Nova Projects.
Image

Image

NESTED ERNEST M
Duke
Duke
Avatar
NESTED ERNEST M
Duke
Duke
Reputation: 7
Posts: 119
Joined: 23 Sep 2017
Location: Perú, Lima
Website

Post #5by NESTED ERNEST » 9 Jul 2019, 16:56

But the last parameter of lmove should only be 1 or 0.
Programming NPCs in SMBX-38A is fun:

ROCKMAN GIF IN SMBX 38A

Image

Nezumi
Topic author, Nice citizen
Nice citizen
Avatar
Nezumi
Topic author, Nice citizen
Nice citizen
Reputation: 1
Posts: 13
Joined: 10 Feb 2017
YouTube

Post #6by Nezumi » 9 Jul 2019, 22:20

5438A38A wrote:The script piece works as expect, upload your level please.

Although the error of the orange background (parallax 2) is the most notable. It also happens with the other funds. If you try to do the same as in the video, the error will occur and the funds will be disarmed. In other levels, the error appears when you advance a little during the level. It's weird, I did not have problems like that in version 1.4.4, except in multiplayer as I mentioned. I leave the level to download, thanks, if you need something else, let me know.



Added after 28 seconds:
NESTED ERNEST wrote:But the last parameter of lmove should only be 1 or 0.

Mm ... No. In the previous version it worked perfect.
Last edited by Nezumi on 10 Jul 2019, 19:57, edited 1 time in total.

Nezumi
Topic author, Nice citizen
Nice citizen
Avatar
Nezumi
Topic author, Nice citizen
Nice citizen
Reputation: 1
Posts: 13
Joined: 10 Feb 2017
YouTube

Post #7by Nezumi » 10 Jul 2019, 19:34

5438A38A,

Thank you very much 38a now works excellent with patch 6 :)


Return to “Bug reports”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest