Hello!
4thBreakout is my first game developed with PureBasic:
You can download it here:
https://ricardo-sdl.itch.io/4thbreakout
You'll have access to the windows and linux binaries and source code.
The game is really simple, it was developed with the 5.71 LTS demonstration version of PureBasic. I've tested it on Lubuntu-18.10-x64 and Windos 10 64 bits.
PureBasic built-in libraries and commands really make it easy to program games. The simplicity of the language helps too.
Play the game, take a look at the source code. Your ideas and suggestions are welcome!
4thBreakout - Breakout with four paddles
-
- Enthusiast
- Posts: 115
- Joined: Sat Sep 21, 2019 4:24 pm
4thBreakout - Breakout with four paddles
You can check my games at:
https://ricardo-sdl.itch.io/
https://ricardo-sdl.itch.io/
- Kwai chang caine
- Always Here
- Posts: 5357
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: 4thBreakout - Breakout with four paddles
Good beginning for a first game
Works here on W10 X64 / v5.70 x86 with sources compiled
Thanks for sharing
Works here on W10 X64 / v5.70 x86 with sources compiled
Thanks for sharing
The happiness is a road...
Not a destination
Not a destination
-
- Enthusiast
- Posts: 115
- Joined: Sat Sep 21, 2019 4:24 pm
Re: 4thBreakout - Breakout with four paddles
Thank you! I already have made other simple games using other language/framework. But it is the first game created with PureBasicKwai chang caine wrote:Good beginning for a first game
Works here on W10 X64 / v5.70 x86 with sources compiled
Thanks for sharing
I hope to share other games in the future.
You can check my games at:
https://ricardo-sdl.itch.io/
https://ricardo-sdl.itch.io/
Re: 4thBreakout - Breakout with four paddles
Changing this lines is little bit easier to move the paddles.
Maybe you want to use it for "easy" and "harder" play options.
Maybe you want to use it for "easy" and "harder" play options.
Code: Select all
If LeftPressed Or UpPressed <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< add: Or UpPressed
Paddles()\x - 1000 * ElapsedTimneInS
ElseIf RightPressed Or DownPressed <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< add: Or DownPressed
Paddles()\x + 1000 * ElapsedTimneInS
EndIf
If Paddles()\x < 50;check boundaries
Paddles()\x = 50
ElseIf (Paddles()\x + SpriteWidth(#PaddleH)) > (ScreenWidth() - 50)
Paddles()\x = ScreenWidth() - 50 - SpriteWidth(#PaddleH)
EndIf
*HorizontalPaddle = @Paddles()
Else;vertical paddles
If UpPressed Or LeftPressed <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< add: Or LeftPressed
Paddles()\y - 1000 * ElapsedTimneInS
ElseIf DownPressed Or RightPressed <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< add: Or RightPressed
Paddles()\y + 1000 * ElapsedTimneInS
EndIf
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
-
- Enthusiast
- Posts: 115
- Joined: Sat Sep 21, 2019 4:24 pm
Re: 4thBreakout - Breakout with four paddles
Thanks for the suggestion IceSoft!
You can check my games at:
https://ricardo-sdl.itch.io/
https://ricardo-sdl.itch.io/
-
- Enthusiast
- Posts: 115
- Joined: Sat Sep 21, 2019 4:24 pm
Re: 4thBreakout - Breakout with four paddles
Hi!
Small update: The game source code is now compatible with SpiderBasic. Which means that you can play it on your browser!
You can check it out here:
https://ricardo-sdl.itch.io/4thbreakout
Small update: The game source code is now compatible with SpiderBasic. Which means that you can play it on your browser!
You can check it out here:
https://ricardo-sdl.itch.io/4thbreakout
You can check my games at:
https://ricardo-sdl.itch.io/
https://ricardo-sdl.itch.io/
Re: 4thBreakout - Breakout with four paddles
Great job! Maybe you could add some zones on the paddles so that the ball bounces at different angles?
Et cetera is my worst enemy
-
- Enthusiast
- Posts: 115
- Joined: Sat Sep 21, 2019 4:24 pm
Re: 4thBreakout - Breakout with four paddles
Thanks for the suggestion. I did try to implement something like this, but never got the hang of it. Maybe I'll try again.chi wrote:Great job! Maybe you could add some zones on the paddles so that the ball bounces at different angles?
You can check my games at:
https://ricardo-sdl.itch.io/
https://ricardo-sdl.itch.io/