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 - achpile

Pages: [1] 2 3 ... 16
1
SFML projects / Re: Dispersio 3
« on: December 04, 2024, 08:49:14 am »
Hi again and it's great to see you back at it!

I'll be interested to see your progress throughout.

Thanks mate!  ;)

2
SFML projects / Dispersio 3
« on: November 22, 2024, 09:00:36 am »
Hello guys! After a long break I decided to start working on my another game.
This time it's a run and gun. For now it's just a tech demo to show my engine capabilities.

And this time it's open source:

https://github.com/achpile/dispersio3


http://www.youtube.com/watch?v=h2UsCIuzh2E

3
SFML projects / Re: 3 'Free to play" games I made with SFML
« on: February 03, 2024, 03:46:23 pm »
Hey played your game Dispersio , very well done .
few questions if i may .
How long did it take you to finish the game ?
How did you do the music ?
why you are not monetizing the game ? why its free ?

Hey! Thanks.

1. Despersio took about 6 months, AchBall - 3 months and Dispersio 2 - about 2-3 years, I took a lot of breaks
2. I just didn't. My friend "Creepue" did :)
3. At first I did, but changed it last October.I made a post about it here: https://store.steampowered.com/news/app/563180/view/3727348610017318871?l=english

4
SFML projects / 3 'Free to play" games I made with SFML
« on: January 28, 2024, 04:28:27 pm »
Not sure if it is related to SFML projects, since it's just an announcement :D

I changed all my 3 games to "Free to play"

https://store.steampowered.com/search/?developer=Achpile

Related topics:

https://en.sfml-dev.org/forums/index.php?topic=20444.0
https://en.sfml-dev.org/forums/index.php?topic=22570.0
https://en.sfml-dev.org/forums/index.php?topic=22171.0

I'm not sure if I ever open my code tho, sorry.

5
SFML projects / Re: Dispersio 2
« on: January 21, 2021, 06:49:18 am »

6
Audio / Re: Music stops playing sometimes
« on: January 20, 2021, 03:36:48 pm »
Oh, sorry. My bad... I'm using old SFML version for windows build....

7
Audio / Re: Music stops playing sometimes
« on: January 20, 2021, 02:54:35 pm »
I found this thread, but it looks dead
https://en.sfml-dev.org/forums/index.php?topic=25298

Did anyone found the solution?

8
Audio / [SOLVED, i am idiot] Music stops playing sometimes
« on: January 20, 2021, 02:48:35 pm »
Good day. I've encountered a weird bug, which I have no idea how to reproduce in "small example"...
It happened in windows (built with mingw 32bit).

So I start music like this:

track->stop();
track->openFromFile(...);
track->setLoop(loop);
track->play();
track->setPlayingOffset(cache->musics[current]);
 

After this I added the log:
Loop = true
Offset = 4739
Length = 96000
 

So the output is getLoop(), getPlayingOffset() and getDuration().

And sometimes it just stops playing... I added a log:

Track loop = true
Offset = 0
Length = 96000
Status = Stopped
 

Have anyone had this bug, or have any ideas what could cause it? Thanks

9
System / Re: We got a keyboard without any keys (1) (OSX Big Sur)
« on: December 29, 2020, 04:53:10 pm »
I just faced this issue. If you run app from terminal - go to Security settings -> Then something with keyboard icon, then in the list mark the checkbox (terminal). And it should work fine. SFML is not the issue, it's MacOS's "feature"

10
Graphics / Re: OSX - failed to compile fragment shader
« on: December 29, 2020, 09:54:03 am »
Removing the 'f' should be ok. Just '1.0' for literals.

Oh, silly me :D Thanks Laurent. Yeah, I guess i'm way too used to put 'f' and "0:1" confused me.  :D

11
Graphics / OSX - failed to compile fragment shader
« on: December 29, 2020, 09:32:16 am »
Good day. I'm not expirienced OSX user, so have no idea about it.

I'm getting this error:
Failed to compile fragment shader:
ERROR: 0:1: 'f' : syntax error: syntax error

Failed to compile fragment shader:
ERROR: 0:1: 'f' : syntax error: syntax error

Failed to compile fragment shader:
ERROR: 0:1: 'f' : syntax error: syntax error
 

SFML version is 2.5.1

There's no such error on Linux 32/64 nor Windows 32/64

Shaders are:

#define SHADER_INVERT                                         \
        "uniform sampler2D texture;                             " \
        "                                                       " \
        "void main() {                                          " \
        "    vec4 pixel = texture2D(texture, gl_TexCoord[0].xy);" \
        "                                                       " \
        "    pixel.r = 1.0f - pixel.r;                          " \
        "    pixel.g = 1.0f - pixel.g;                          " \
        "    pixel.b = 1.0f - pixel.b;                          " \
        "                                                       " \
        "    gl_FragColor = pixel;                              " \
        "}                                                      "



#define SHADER_WHITE                                          \
        "uniform sampler2D texture;                             " \
        "                                                       " \
        "void main() {                                          " \
        "    vec4 pixel = texture2D(texture, gl_TexCoord[0].xy);" \
        "                                                       " \
        "    pixel.r = 1.0f;                                    " \
        "    pixel.g = 1.0f;                                    " \
        "    pixel.b = 1.0f;                                    " \
        "                                                       " \
        "    gl_FragColor = pixel;                              " \
        "}                                                      "



#define SHADER_GREY                                           \
        "uniform sampler2D texture;                             " \
        "                                                       " \
        "void main() {                                          " \
        "    vec4 pixel = texture2D(texture, gl_TexCoord[0].xy);" \
        "                                                       " \
        "    gl_FragColor.r = (pixel.r+pixel.g+pixel.b) / 3.0f; " \
        "    gl_FragColor.g = gl_FragColor.r;                   " \
        "    gl_FragColor.b = gl_FragColor.r;                   " \
        "    gl_FragColor.a = pixel.a;                          " \
        "}                                                      "

 

Loading code:
        shaders.white.loadFromMemory (SHADER_WHITE , sf::Shader::Fragment);
        shaders.grey.loadFromMemory  (SHADER_GREY  , sf::Shader::Fragment);
        shaders.invert.loadFromMemory(SHADER_INVERT, sf::Shader::Fragment);
 

Bonus question bonus not related to graphics, but related to Mac OS X:
After app start i got this:
"We got a keyboard without any keys (1)"

I use Mac mini with standart usb keyboard attached

12
SFML projects / Re: Dispersio 2
« on: December 10, 2020, 06:51:19 pm »
I know it's been a while, but project is finnaly close to be released :D
And steam store page is finally out! So now you can add it to your wishlist  :)

https://store.steampowered.com/app/1489850

13
SFML projects / Dispersio 3
« on: April 09, 2019, 01:00:37 pm »
Actually it's 3, but i renamed the 2 to 3, so it's 2 now  ;D
So i decided to take a short break on my previous project and i will probably release this one earlier - so I had to rename them  :D

This game will be very similar to the first one, but instead of different abilities on each level you will face different obstacles. I hope to make it as good as first one - and same hard as well  ;D

http://www.youtube.com/watch?v=fSVzTsDdxMg

14
Graphics / Re: sf::Rect
« on: September 11, 2018, 11:00:39 am »
Quote
There's no truth, only conventions.

Sad but true....
So I guess topic can be closed

15
Graphics / Re: sf::Rect
« on: September 11, 2018, 10:45:11 am »
Quote
It doesn't, because by convention, point (2, 2) belongs to pixel (2, 2).

But it also belongs to pixels (1,1), (1,2) and (2,1)

Pages: [1] 2 3 ... 16