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.


Messages - fatih

Pages: [1]
1
Audio / Re: Problem with sound
« on: January 04, 2013, 03:11:14 pm »
Thank you a lot. It will help me in game programming.

2
Audio / Problem with sound
« on: January 04, 2013, 01:59:51 pm »
I have created project to check music(is it working or what ever). I loaded two musics from project file, first i play one music then in play second music , and there is strange sound playing, pls help. sorry for my english.
#include <iostream>
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>

using namespace std;

int main()
{
    sf::Music Pocetak;
    if(!Pocetak.OpenFromFile("marioprvizvuk.ogg"))return 1;

    sf::Music Nastavak;
    if(!Nastavak.OpenFromFile("mariodrugizvuk.ogg"))return 1;
int e=1;
Pocetak.Play();
for(int i=1;i<=10000000;i++){}
    while(e)
    {
        Nastavak.Play();
    }
    return 0;
}

 

3
Audio / Can i play two or more musics at once?
« on: January 01, 2013, 12:57:55 pm »
i tried to play background music and when my character jump i play another music then there is strange sound looping

4
General / I have problem with character
« on: December 31, 2012, 03:18:54 pm »
I was coding my game for about four days. Everything is working except moving right/left when character jumps. When character is going up he can not move right/left, but when he reaches maximum height, he starts falling and then he can move right/left.

5
Graphics / Re: My character has box around it
« on: December 29, 2012, 06:52:28 pm »
Thanks, you are all right, but i found best solution: go to aseprite pick transparent color and draw mask. Sorry for my Englich.

6
Graphics / My character has box around it
« on: December 28, 2012, 07:41:47 pm »
I am trying to make some basic exercise of one simly game. Character  is loaded from file, but it have box around it. With aseprite i put transparent background of character, but it still have box. Dimensions of character is 30x30.

[attachment deleted by admin]

Pages: [1]
anything