Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3D Breakout, just a quick test
#6
(02-02-2025, 05:01 AM)1micha.elok Wrote:
(02-01-2025, 06:40 PM)johnno56 Wrote: ...
Only one thing missing: Aliens. There were no aliens... lol
...

An alien popped from the pixelated sky,
In 3D Breakout it blinked with a glowing eye.
"Invade the Earth!" it beeped, "or I’ll blast you away",
Who invited me here? Was it Bob yesterday?"

...

Nice alien!

Oh, there's a bug in the collision code for the upper wall?

I'll fix it in my post. In UpdateBall:

Code:
elseif iz > 10
    ball.z = 10 - 0.251; ball.dz = -|ball.dz|
    PlaySound3D(vWallSound, 1, ball.x, 0.25, ball.z, vSoundMaxD)
endif

, should be:

Code:
elseif iz >= 10
    ball.z = 10 - 0.251; ball.dz = -|ball.dz|
    PlaySound3D(vWallSound, 1, ball.x, 0.25, ball.z, vSoundMaxD)
endif
Reply


Messages In This Thread
3D Breakout, just a quick test - by Marcus - 02-01-2025, 04:52 PM
RE: 3D Breakout, just a quick test - by johnno56 - 02-01-2025, 06:40 PM
RE: 3D Breakout, just a quick test - by Marcus - 02-02-2025, 07:20 AM
RE: 3D Breakout, just a quick test - by kevin - 02-01-2025, 06:50 PM
RE: 3D Breakout, just a quick test - by johnno56 - 02-02-2025, 06:53 AM
RE: 3D Breakout, just a quick test - by Marcus - 02-02-2025, 07:42 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)