Search found 37 matches
- March 16th, 2015, 9:10 pm
- Forum: Everything
- Topic: The score in my game doesn't display as I expected
- Replies: 1
- Views: 1474
The score in my game doesn't display as I expected
Hello all ! Well, I included a timer and a score in my game ( they are both displayed ) but when I start the game the score is already 1 and when I press the PLAY button in my game the score becomes 2 - I want it to be 0 until I collect a circle( like the poo game ). The problem might be in the Rese...
- March 10th, 2015, 7:58 pm
- Forum: Everything
- Topic: Adding background music for a game
- Replies: 5
- Views: 2299
Re: Adding background music for a game
And also everything became 72 MB
- March 10th, 2015, 7:03 pm
- Forum: Everything
- Topic: Adding background music for a game
- Replies: 5
- Views: 2299
Re: Adding background music for a game
I used the standard Sound.h library and converted the mp3 to wav and added it the same way chili added the fart.wav and the tinkle.wav in his poo game. I will definitely try your methods too, thank you, but can you tell me how can I replay the music after it finishes ?
- March 8th, 2015, 5:07 pm
- Forum: Everything
- Topic: Adding background music for a game
- Replies: 5
- Views: 2299
Adding background music for a game
Hello fellow programmers ! I've just come up with an idea for my game and I need a help because I'm not sure how am I actually going to do it. I want to add a background music for my game, a simple blues recorded with my guitar and backtracking drums, but the problem is when I finish recording it ( ...
- February 17th, 2015, 7:10 pm
- Forum: Everything
- Topic: Restarting a game
- Replies: 8
- Views: 3294
Re: Restarting a gam
I have followed the instructions and when I press Enter while playing, the game restarts but when the Game over spray pops out when I hit the "poo" when I press Enter the face and the poo get in random positions but the spray still stays and I can't take any action. Somehow I need to tell that when ...
- February 16th, 2015, 7:54 pm
- Forum: Everything
- Topic: Restarting a game
- Replies: 8
- Views: 3294
Re: Restarting a game
I really tried a couple of things but don't know exactly how to reset the variables.
- February 15th, 2015, 9:29 pm
- Forum: Everything
- Topic: Restarting a game
- Replies: 8
- Views: 3294
Restarting a game
Hi Chili people. I tried to make my game restarted when Enter(for instance) is pressed, but I haven't done something as it's used to be done.
In void Game::BeginFrame() I type this:
if (kbd.EnterIsPressed())
{
gfx.BeginFrame();
}
but surely it isn't the right thing. Help me friendzz
In void Game::BeginFrame() I type this:
if (kbd.EnterIsPressed())
{
gfx.BeginFrame();
}
but surely it isn't the right thing. Help me friendzz
- February 10th, 2015, 3:20 pm
- Forum: Everything
- Topic: How can I use the Timer.h in my games?
- Replies: 6
- Views: 2612
Re: How can I use the Timer.h in my games?
Thanks! It works fine now, but how can I actually display the Watch on the screen ?
- February 10th, 2015, 11:09 am
- Forum: Everything
- Topic: How can I use the Timer.h in my games?
- Replies: 6
- Views: 2612
Re: How can I use the Timer.h in my games?
This is what happens
- February 9th, 2015, 4:16 pm
- Forum: Everything
- Topic: Adding sound to games. assertion failed expression error ==0
- Replies: 2
- Views: 1603
Adding sound to games. assertion failed expression error ==0
This is what happens when I try to add a .wav file to my game. The game debugs with Chili's fart.wav and tinkle.wav but not with my own sounds. Help please