vsl366 / pacman

A simple pacman game in C using raylib. Just change the file paths if you're not using windows, and you're good to go !!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


This File is split into two parts , with the first part solely being dedicated for the installation purposes of raylib. Please feel free to skip this part if you already have installed raylib.


RAYLIB INSTALLATION

raylib is highly inspired by Borland BGI graphics lib and by XNA framework and it's especially well suited for prototyping, tooling, graphical applications, embedded systems and education.

features

  • NO external dependencies, all required libraries are bundled into raylib
  • Multiple platforms supported: Windows, Linux, MacOS, RPI, Android, HTML5... and more!
  • Written in plain C code (C99) using PascalCase/camelCase notation
  • Hardware accelerated with OpenGL (1.1, 2.1, 3.3, 4.3, ES 2.0, ES 3.0)
  • Unique OpenGL abstraction layer (usable as standalone module): rlgl
  • Multiple Fonts formats supported (TTF, OTF, Image fonts, AngelCode fonts)
  • Multiple texture formats supported, including compressed formats (DXT, ETC, ASTC)
  • Full 3D support, including 3D Shapes, Models, Billboards, Heightmaps and more!
  • Flexible Materials system, supporting classic maps and PBR maps
  • Animated 3D models supported (skeletal bones animation) (IQM, M3D, glTF)
  • Shaders support, including model shaders and postprocessing shaders
  • Powerful math module for Vector, Matrix and Quaternion operations: raymath
  • Audio loading and playing with streaming support (WAV, QOA, OGG, MP3, FLAC, XM, MOD)
  • VR stereo rendering support with configurable HMD device parameters
  • Huge examples collection with +140 code examples!
  • Bindings to +70 programming languages!
  • Free and open source

DOWNLOAD DIRECTLY FROM THEIR OFFICIAL WEBSITE

https://raysan5.itch.io/raylib/purchase?popup=1

This is the official site of raylib. Just Copy paste this link in your browser and press the "No thanks, just take me to the downloads" button. Once it is downloaded, press extract. Some systems may say that its not safe to run, but dont worry, just press the more info option and press "run anyways" when u extract raylib from the downloaded file

This would create a copy of your RAYLIB files in OS(C:) drive. Make sure that a copy is made, for only when this happens, you can proceed to run our code.


RUNNING THE CODE

The zip file for running this code has been given in the same drive link in which this ReadMe file has been attached.

Steps to have a copy of our code in the proper place:

  1. Download the given zip file wherever you want, but preferably downloads.
  2. Extract the given zip file in the file path given "C:\raylib\raylib" 3)The two raylibs are NOT a typo, please save our zip file named "Team2_PACMAN_CSEC" in the specified location.

Steps to run the code once you save it

  1. Open the file "Team2_PACMAN_CSEC" which you have just installed
  2. In that, there would be two folders, namely "Resources" which contain the images, audios and fonts necessary, and another folder named "Codes", containing the code, the executable, and a file to save high score 3)The executable would have the raylib icon and be named "PACMAN". Please open that file and play the game

NOTE: 1)As we have done this project in a windows system, all the file paths of the images contain their paths with reference to c drive. Hence, this code would run in any OS , BUT all the images and audios necessary wont be displayed. 2)Some systems might throw a warning that the zip file is not safe. We assure you that the file is free of any viruses and is completely safe to open. When such sorts of pop ups appear, just click more info and press "Run anyway" when extracting the zip file

HAPPY PLAYING !!!


About

A simple pacman game in C using raylib. Just change the file paths if you're not using windows, and you're good to go !!