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

Author Topic: Man - A very simple and basic SFML 2.0 PacMan clone(source code included!)  (Read 14378 times)

0 Members and 2 Guests are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1845
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Windows exe:
https://docs.google.com/file/d/0B8dEkQw1a4WvaXJDSGk4dTR4ZFU/edit?usp=sharing

Code and 'assets'(compiles on both Windows and Linux with no changes at all):
https://github.com/FRex/Man

It's not that great and has some nasty design but it's very simple and works well enough as a clone. It even has the original PacMan ghost passing through bug. :)
Have fun.
« Last Edit: May 02, 2013, 09:08:44 pm by FRex »
Back to C++ gamedev with SFML in May 2023

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
Re: Man - A very simple and basic SFML 2.0 PacMan clone
« Reply #1 on: April 25, 2013, 01:11:44 am »
Haven't looked at the code yet, but nice to see such compact examples. :)

Some audio would be nice. :P
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

FRex

  • Hero Member
  • *****
  • Posts: 1845
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: Man - A very simple and basic SFML 2.0 PacMan clone
« Reply #2 on: April 25, 2013, 01:30:48 am »
This can be somewhat useful as example but is not really one. This is uni project I did some time ago and the goal was PacMan clone that'd work on Fedora. That's why there is some silly stuff in there, most people(who were like 2-3 months in C, and working with SDL btw..) did really silly stuff including(but not limited to) the 'delta time' nonsense so this wins easily. Also there are some comments in English and some in my native. I don't really have intention of working on this code, ever.
And I'm long aware of the high score bug. :P

Quote
Some audio would be nice. :P
This is quite stupid and ironic but because of the 'design', adding audio would require just few lines.
Back to C++ gamedev with SFML in May 2023

hatem.badawi

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • evision - Website Design & Hosting Services
    • Email
nice work !
Hatem Badawi
EVISION EGYPT Technical Support Operator
http://www.evisionegypt.com/
Telephone: +2(0111) 6032064
Private Email: hatem.badawi@gmail.com

Ivan

  • Newbie
  • *
  • Posts: 32
  • IT geek
    • View Profile
I looks great, good job and thanks for sharing  :D

 

anything