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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - bongobl

Pages: [1]
1
SFML projects / SimpleBowl Demo
« on: August 29, 2017, 08:36:21 pm »
Hi guys.

Lately, I wrote a simple API called SimpleBowl which handles all the logic behind bowling score keeping. This will allow developers writing a bowling app to spend more time on the dynamics of the game itself such as physics, appearance, style, etc without having to deal with the logistics of score keeping.

They would just call bowlingGame.throwBall(int) for example again and again specifying the number of pins knocked for each throw and the API takes care of the rest.

I know this sounds easy, but the API also contains fields for each cell on a bowling score board displaying an "X", a "/", a number or nothing accordingly, while also handling invalid input.

Heres the repo
https://github.com/bongobl/SimpleBowl

To see it in action, run the demo exe.

Let me know what you guys think. I'm hoping to get a code review sometime.

2
SFML projects / Othello Board Game Project
« on: August 29, 2017, 08:18:54 pm »
Hi guys, Early this summer I coded a digital version of the board game Othello (or Reversi). The repo containing the .exe and source code is on Github here.

https://github.com/bongobl/OthelloProject.

I'm afraid I don't have a binary for mac/linux. I should get around to compiling them. But all the source code and dependencies are in the repo.

Let me know what you guys think.

3
General / SFML Game cannot run on another computer
« on: November 25, 2014, 12:47:18 am »
Hi, I am new to the SFML forums so forgive me if I do not adequately present my issue clearly,

I wrote a simple game in SFML and it runs fine on my computer, but when I copy my game folder (includes game application called "Third.exe" and all required DLL's) to another computer, I get these error messages from the console whenever I run Third.exe:

**********************************************************************
D:\test-1>third
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/gunsight.png". Reason : Unable to open file
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/MainHUD.png". Reason : Unable to open file
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/Ammo/Ammo_0.png". Reason : Unable to open file
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/Ammo/Ammo_1.png". Reason : Unable to open file
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/Ammo/Ammo_2.png". Reason : Unable to open file
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/Ammo/Ammo_3.png". Reason : Unable to open file
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/Ammo/Ammo_4.png". Reason : Unable to open file
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/Ammo/Ammo_5.png". Reason : Unable to open file
Failed to open sound file "C:/Users/Alex/Documents/Visual Studio 2012/Projects/T
hird/Third/Resources/Sounds/Sniper_sound.ogg" (System error : The system cannot
find the path specified.
)
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/Enemy/enemy.png". Reason : Unable to open file
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/Enemy/enemy_dead.png". Reason : Unable to open file
Random Number: 2
Failed to load image "C:/Users/Alex/Documents/Visual Studio 2012/Projects/Third/
Third/Resources/Background.png". Reason : Unable to open file
********************************************************************

It seems that the resource files I used such as .png's, .ogg's cannot be found. The problem is that I didn't think these files were needed at runtime.
So my question is, what must I do to properly run the game on another computer? Do I need to statically compile, or include the resource files with the game, etc?
Any help would be appreciated.

-Alex 



Pages: [1]
anything