Lease this WebApp and get rid of the ads.
Puckdropper
DIFF
Thu Dec 28, 2017 10:47pm
68.62.124.255

Line 1174 Add
IF (p.topJumpY < 0) THEN
p.topJumpY = 0
END IF

New space Bar handling code:
'space bar
IF INP(96) = 57 THEN
IF p.isJumping = FALSE AND p.hasJumpLanded = TRUE AND p.hasReachedJumpHeight = FALSE THEN

PLAY "O1 L48 C E G"

p.isJumping = TRUE
p.hasJumpLanded = FALSE
p.hasReachedJumpHeight = FALSE
p.topJumpY = p.y - maxJumpHeight
IF (p.topJumpY < 0) THEN
p.topJumpY = 0
END IF
END IF
END IF


I hope this doesn't screw anything else up, but it's playing good. I almost got to level 10.

Btw, you can jump while falling. Could be an interesting way through a level. I don't remember if one of the earlier Marios did that, but fall off a cliff and jump! (I did it all the time with Yoshi.)

  • Another issuePuckdropper, Thu Dec 28 10:19pm
    Shows up on level 10: When Santa hits the ceiling, he falls through the blocks. It's kinda hard to do anything without hitting the ceiling. My guess is that the Y position isn't properly updated and... more
    • DIFF ☻ Puckdropper, Thu Dec 28 10:47pm
      • So about that QB64...Puckdropper, Fri Dec 29 3:26am
        If you add a _FULLSCREEN directive, the output will be full screen. I don't think you can leave it in non QB64 code, unfortunately.
        • _FULLSCREEN and QB 4.5Erik, Thu Jan 4 2:30pm
          Actually, I was surprised that qb 4.5 didn't even show the line with _FULLSCREEN on it. I had to open it up in Notepad to make sure it was actually there. I wonder if there's something in the old... more
Click here to receive daily updates
"Don't quote me." - Erik