Recent

Author Topic: Arkanoid  (Read 605 times)

lazarusprogrammer

  • New Member
  • *
  • Posts: 22
Arkanoid
« on: June 11, 2026, 08:14:21 pm »

Arkanoid with mouse control for windows console.




Tomi

  • Full Member
  • ***
  • Posts: 136
Re: Arkanoid
« Reply #1 on: June 13, 2026, 09:46:46 am »
It looks like interesting, but I downloaded the .EXE file and the program doesn't show some elements but shows '?' instead of those. Besides, I couldn't shoot out the ball from the bat. The ball always follows the bat.

lazarusprogrammer

  • New Member
  • *
  • Posts: 22
Re: Arkanoid
« Reply #2 on: June 26, 2026, 01:13:33 am »
It looks like interesting, but I downloaded the .EXE file and the program doesn't show some elements but shows '?' instead of those. Besides, I couldn't shoot out the ball from the bat. The ball always follows the bat.
To release a ball try spamming keyboard keys. I didn't manage to get mouse keys events from winapi as well as font size. Not sure if winapi not working or i am doing something wrong. So i made it with if keypressed.

Wrong characters is due to codepage difference i guess. The only way i can get this classical dos characters is by using SetUseACP(False);. You can try set it to true but honestly i have no idea if you can have it on your system.

BTW it's laggy and barely playable. But it's second game i made fully by myself so i am proud anyway.

 

TinyPortal © 2005-2018