Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Bazoik - A clone of the arcade game Berzerk  (Read 828 times)

0 Members and 1 Guest are viewing this topic.

Billy2600

  • Newbie
  • *
  • Posts: 9
  • RIP Oderus Urungus
    • View Profile
    • Retro of the Week (dead)
    • Email
Bazoik - A clone of the arcade game Berzerk
« on: July 23, 2020, 07:11:59 pm »
Bazoik is a free and open source clone of the 80's arcade game Berzerk. I actually created this in 2018, with a couple friends doing everything that wasn't code. If you do take a look at the code, please know that it's not up to my current standards and doesn't really take advantage of C++11 features, etc. Currently Windows only.

I'd love see hear what you think of the game.

Gameplay video

Itch.io

Github


« Last Edit: July 23, 2020, 10:59:31 pm by Billy2600 »

Hapax

  • Hero Member
  • *****
  • Posts: 3040
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Bazoik - A clone of the arcade game Berzerk
« Reply #1 on: July 23, 2020, 10:07:23 pm »
It would be interesting to hear about how you used SFML in this project.

Also, a video would be great ;)
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

Billy2600

  • Newbie
  • *
  • Posts: 9
  • RIP Oderus Urungus
    • View Profile
    • Retro of the Week (dead)
    • Email
Re: Bazoik - A clone of the arcade game Berzerk
« Reply #2 on: July 23, 2020, 11:01:08 pm »
Oh man, it'd almost be easier to explain where I didn't use SFML. This code takes advantage of the SFML features you'd expect, like window handling, input handling, sprite drawing, etc. But also, the SFML data types were used quite a bit. Positions are stored as Vector2s, hitboxes are FloatRects, etc. Only a couple other libraries were used, like one to perform line clipping for testing the robots' line of sight, and another to parse XML files.

I have added link to a video to the first post, showing a little over a minute of gameplay. I didn't see a way to embed a video from YouTube.

Hapax

  • Hero Member
  • *****
  • Posts: 3040
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Bazoik - A clone of the arcade game Berzerk
« Reply #3 on: July 27, 2020, 11:52:36 pm »
I watched the video; it's a cute and fun-looking game!

If you add the URL to the forum, it automatically embeds the video. Have a look at your post; it embedded it for you! ;)
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter