pironc / bonk_csfml

csfml "game" created to train my skills in C with CSFML graphical library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bonk_CSFML

This program was made using the CSFML Graphical Library, a binding of the C++ SFML Library.

I used it to train my skills and learn newer ones as I will need them for my studies next year. The purpose is not to make a beautiful looking game with amazing gameplay but to understand new ways of coding I was lacking last year such as function pointers, more advanced structure usages, allocation and free with the use of malloc, etc...

I also struggled a lot with the CSFML Library, but I also really like graphical projects so I though that using the CSFML would be a nice way to train all of these skills during my free time before going back to uni.

  • Requirements

You will need to have the CSFML library installed on your computer. It is a binding of the C++ SFML library.

  • Compile & run
make; ./bonk
  • Key mapping

Main_menu :

  • E : Exit the program

The "quit" button will eventually... quit the program.

Settings :

  • W : Set the screen resolution to 1600 * 800
  • C : Set the screen resolution to 800 * 450
  • E : Exit the program

Level_1 :

  • A : Return back to the menu
  • E : Exit the program

You can move the emoji and click on it to "bonk" it in the level_1 scene.

Please take care of him and don't bonk him too much.

About

csfml "game" created to train my skills in C with CSFML graphical library


Languages

Language:C 94.1%Language:Makefile 5.9%