GithubHelp home page GithubHelp logo

mirceanton / pacman Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 12.0 732 KB

A multiplayer Pacman clone written in C++ using SFML.

License: GNU General Public License v3.0

C++ 94.78% CMake 4.57% Objective-C++ 0.66%
pacman pacman-game sfml sfml-game sfml2 sfml-graphics-library sfml-cpp sfml-2d-engine sfml2-game cpp17

pacman's Introduction

Hi there ๐Ÿ‘‹

I'm Mircea Anton, a ML OPS Engineer from Bucharest, Romania

  • ๐Ÿ”ญ Iโ€™m currently working on...
    • ... implementing the entirety of my HomeLab via GitOps
    • ... My health and fitness ๐Ÿ’ช
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate... with other open-source devs
  • ๐Ÿ“ซ How to reach me ... shoot me a DM
  • โšก Fun fact ... I โค๏ธ iced latte

pacman's People

Contributors

longwater1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pacman's Issues

Known Issue for SFML 2.5.1 built on arm64 platform

Platform: Mac M1
SFML ver: 2.5.1

When building SMFL 2.5.1 from source code on the arm64 platform (Mac M1, as I used), there are two issues due to the change of constructors.

In MainMenu::initWindow:

const sf::VideoMode videoMode = sf::VideoMode(800, 600);
const sf::Uint32 style = sf::Style::Close | sf::Style::Titlebar;

to

const sf::VideoMode videoMode = sf::VideoMode(sf::Vector2u(800, 600), 32);
const std::uint32_t style = sf::Style::Close | sf::Style::Titlebar;

Similar to in the Game.cpp.

Cheers,
Cha

Known Issue for building with SMFL 2.5.1

Platform: Mac Intel x86
SFML ver: 2.5.1. Obtained from brew install SFML as of 3/16/2023
Issue:

Two building issues with SFML 2.5.1:

  1. will report errors for this map initialization. Actually, it is unnecessary.
PerfLogger::PerfLogger() { 
    start_times = {};
    durations = {};
}
  1. After linking it will report:
Linking... Done
Failed to open sound file "res/audio/background_music.wav" (format not supported)
ERROR: Failed to load res/audio/background_music.wav
make: *** [execute-debug] Abort trap: 6

about audio file

I used cmake build the project and it done. but when I run the exe file. they tell me that the backgroundmusic.wav can't open. i don't figure out what reason.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.