NESmaker pi beta (3.14x) and tutorials!

User avatar
Rob Burrito
Posts: 100
Joined: Mon Apr 23, 2018 4:31 pm

Re: NESmaker pi beta (3.14x) and tutorials!

Post by Rob Burrito » Tue Jun 19, 2018 4:54 pm

for some reason the game is freezing with a palette change when i touch the checkpoint tile. moved the bubbles away and they are fine to walk through as a nothing object, just the checkpoint tile itself causing it. thoughts? re-watched the section on checkpoints and object bubbles (monster) and couldn't find any discrepancies on making a checkpoint tile, seems pretty straightforward. as far as i can tell the checkpoint tile is the same palette (only one dungeon palette group, and the change remains within the groups palettes)
User avatar
TheNew8bitHeroes
Posts: 324
Joined: Fri Feb 16, 2018 9:24 pm
Location: Sarasota, FL
Contact:

Re: NESmaker pi beta (3.14x) and tutorials!

Post by TheNew8bitHeroes » Tue Jun 19, 2018 5:46 pm

Yeah, palette should have zero to do with it. More likely it has to do with the collision. Could it be trying to play a non-existing sound, again? By the end of the tutorial, I had a sound there.
User avatar
Rob Burrito
Posts: 100
Joined: Mon Apr 23, 2018 4:31 pm

Re: NESmaker pi beta (3.14x) and tutorials!

Post by Rob Burrito » Wed Jun 20, 2018 8:23 pm

that was it! thanks again for the help. the code wasn't present at the time of the tutorial and you write it in at 2:44:45. some other folks will likely run into this. i went into the code and removed 'PlaySound #$01, #$00' and it works as it shows in the tutorial with no freezeup, and saves the checkpoint location. on the tutorial it shows as working without sfx on your test at 2:31:00,the version that got sent out will freeze up without taking out that script first. so some folks are gonna see that snag when testing and be wondering what they did wrong. could note on the video that it will freeze till the sounds are added or to remove the code for now.
Last edited by Rob Burrito on Wed Jun 20, 2018 9:36 pm, edited 1 time in total.
User avatar
Rob Burrito
Posts: 100
Joined: Mon Apr 23, 2018 4:31 pm

Re: NESmaker pi beta (3.14x) and tutorials!

Post by Rob Burrito » Wed Jun 20, 2018 8:28 pm

not sure if it's of interest, but also noted if a projectile without any collisions turned on, and no gravity, is travelling right; on the edge of the screen to the right will respawn it from the left infinently, but it will stop when shooting left and hitting the left side of the screen.
User avatar
Rob Burrito
Posts: 100
Joined: Mon Apr 23, 2018 4:31 pm

Re: NESmaker pi beta (3.14x) and tutorials!

Post by Rob Burrito » Wed Jun 20, 2018 9:21 pm

ok so nearly finished the tutorial here, and noticed two possible bugs:
day triggered monster palette- when the triggered monsters respawn (get item/trigger, leave, then return to screen) cant seem to get the monster palettes to assign. fun to have them a different look, but would prefer to set their palette.

walking into the screen with an item for some reason will occasionally lose all health while entering a room, but not die. 0 hearts, and when taking a hit in the screen or leaving the room the hearts mostly return at random intervals per instance. definitely taking one or more hits by entering the screen. i've moved the location of monster 1 and it still happened. entry location is about X0 Y12 and first monster is X6 Y12. haven't seen this happen entering any other room yet. think it's definitely having a collision with a monster that isn't drawn yet, as it will occasionally push me to the right upon entering the room. pic included of the no hearts per entry:
no hp.PNG
no hp.PNG (42.66 KiB) Viewed 406 times
User avatar
dale_coop
Posts: 1269
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: NESmaker pi beta (3.14x) and tutorials!

Post by dale_coop » Wed Jun 20, 2018 10:39 pm

For your palette monster, check your screen info, in the triggered tab, and verify you have assigned the right palette to your triggered monsters... ?

For your empty heart... maybe just HUD infos not updated ? Did you wrote/modified your

Code: Select all

  LDA #HUD_ELEMENT_2
  STA HUD_updateHealth

in the InitLoads.asm script ?
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE
User avatar
Rob Burrito
Posts: 100
Joined: Mon Apr 23, 2018 4:31 pm

Re: NESmaker pi beta (3.14x) and tutorials!

Post by Rob Burrito » Thu Jun 21, 2018 12:09 am

thanks for the thoughts dale, i'll work on the monster palettes next. wanted to mention i figured out the mystery hit. it has to do with the left edge anomolies, likely tied to the object floating getting stuck on the left of the screen too. if a monster from the previous screen is in the same location (x0 y12 in my case) as the player draw to location on the next screen it will register a hit. that explains why it wasn't every time, and happening while the screen info is loading most likely. i removed the monster from the previous page and couldn't get the bug to repeat, then confirmed by waiting for him to get to the edge. tough to pin down since it was a random variable on a previous page! in further exploration of the glitch, oddly received a negative heart amount by getting hit from a monster in the previous screen and bouncing me into that screen while the other monster was at x0 y12. erased the player object completely and gave a heart to the last position. game didn't freeze but player object was destroyed:
heart b damned.PNG
heart b damned.PNG (43.29 KiB) Viewed 388 times
User avatar
TheNew8bitHeroes
Posts: 324
Joined: Fri Feb 16, 2018 9:24 pm
Location: Sarasota, FL
Contact:

Re: NESmaker pi beta (3.14x) and tutorials!

Post by TheNew8bitHeroes » Thu Jun 21, 2018 1:18 am

Fascinating stress test here. I'll definitely have to look into these things! No monster data from the previous page should have any bearing on new data loaded. POSSIBLY there is an order of events issue that's causing the hit. Like - the player's position may be updated prior to the monster positions being zeroed out. That seems perfectly reasonable, and if so, I have an easy solution (a lot of this code is code-lite...Mystic Searches, for instance, I know does not have this issue). As for the erasure of the player / negative heart...that's peculiar. Here's my guess...the hit happened when the drawing was turned off, and was trying to turn drawing back on in the middle, which messes up drawing addresses for these routines. Again, I think my planned fix will take care of it, but probably won't be until an official patch.

Thanks for the notice though!
User avatar
Rob Burrito
Posts: 100
Joined: Mon Apr 23, 2018 4:31 pm

Re: NESmaker pi beta (3.14x) and tutorials!

Post by Rob Burrito » Thu Jun 21, 2018 5:27 am

i figured out another potentially big clue for the triggered monsters. i set each monster palette to a unique palette, and found it's respawning them loading whichever palette is set at 'monster palette 32'. answered my question, now just know to change up that particular palette in the meantime for monsters who i want to respawn in a triggered state. might want to look at that as a known issue, hope it helps!
User avatar
dale_coop
Posts: 1269
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: NESmaker pi beta (3.14x) and tutorials!

Post by dale_coop » Thu Jun 21, 2018 6:00 am

Wow interesting, nice found! Definitely need to try that.
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE
Locked