Page 1 of 1

BallBrick (game)

Posted: Sat Nov 11, 2023 12:39 pm
by AZJIO
BallBrick
Download: yandex
If it doesn't work, use version 5.73

Image

Re: BallBrick (game)

Posted: Sun Nov 12, 2023 6:53 pm
by Caronte3D
It works well here :D
Reminds me of the old Arkanoid days.

Re: BallBrick (game)

Posted: Mon Nov 13, 2023 2:05 pm
by miso
Nice One!
(For information: It worked for me with 5.73, failed with 6.0 and 6.03, WIN7 64 bit)

Re: BallBrick (game)

Posted: Fri Nov 17, 2023 4:40 am
by AZJIO
Added a program for creating and editing levels. It is possible to open an image and convert it into a game level.
Added sounds.

Re: BallBrick (game)

Posted: Fri Nov 17, 2023 7:38 am
by miso
Works well, thanks for sharing.

Re: BallBrick (game)

Posted: Mon Dec 04, 2023 2:48 am
by AZJIO
Updated
When you hit exploding bricks, all connecting exploding bricks are destroyed, not just those that are close to each other.


The ball moves 6 pixels per frame in height, so in the previous frame it does not touch a single brick, and in the next it already covers 2 bricks. Because of this, behavior is sometimes not obvious. At any moment, 2 bricks can disappear, and the ball flies through.

In the game I create many identical sprites, but reading the forum I come to the conclusion that I need to use one sprite and draw it in different coordinates. The SpritePixelCollision() function uses the sprite ID. If I display one sprite in different coordinates, then the SpritePixelCollision check is based only on the coordinates and sizes of the sprite calculated by id? So the identifier in this case is used to determine the size of the sprite?

And I have a problem on Linux-Fedora, I get an error when compiling. I forgot to copy the error text, but I tried to install different packages, maybe some package is missing.

Re: BallBrick (game)

Posted: Mon Dec 04, 2023 7:30 pm
by Kwai chang caine
Works nice here :D
Thanks a lot for sharing 8)

Re: BallBrick (game)

Posted: Tue Jul 23, 2024 7:21 pm
by SPH
@AZJIO : guitar or Cobra's psychogun ?? :!:

Re: BallBrick (game)

Posted: Tue Jul 23, 2024 7:28 pm
by AZJIO
SPH wrote: Tue Jul 23, 2024 7:21 pm @AZJIO : guitar or Cobra's psychogun ?? :!:
guitar
I took some drawings and used an editor that exports any drawing to the game map

Re: BallBrick (game)

Posted: Tue Jul 23, 2024 11:47 pm
by moulder61
@AZJIO

The compiled Linux binaries don't work on my machine. I tried all 3 versions(not sure what the difference is?) on Void, Antix, Devuan, Arch and Salix but nothing displayed, I just got the background music starting. I don't have Mint or Xubuntu to try them on.

I tried the source but that didn't work either. I had to comment out the Resize(@ScreenW, @ScreenH, 1280, 1024) line. Then it worked but on my dual screens I get the game on both screens which also messes up my display settings.

Nice game though. :)

I'll see if I can get it to work in Linux in a borderless windowed screen. Speed the ball up a bit too. :P
Unless you want to have a look at it yourself? :wink:

Moulder.