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

Pages: [1] 2 3 ... 11
General / Best technique to create infinite sidescroller
« on: November 16, 2023, 10:43:29 pm »
Hi all,
I couldn't find any thread regarding best techniques to create infinite sidescroller.
I thought there would be something like sf::View::set_loop(bool); function that would make it so that if you sf::View::move() outside of the view it would overflow to show start. But there isn't such a feature  :(

For example think of a game like flappy bird, one would want to simply create 2xWidth render size view and infinitely scroll, add pipes as it goes along and view gets recycled
But just keeping bird steady and moving pipes is ok too I guess.

General discussions / Re: IRC chat (70+ users)
« on: March 09, 2019, 01:52:57 pm »
Is there any matrix channel? IRC seems pretty empty.

SFML projects / "Our Dear Paper Fighters" - Top down shooter
« on: April 06, 2016, 11:46:34 pm »
Wow, very nice. What program did you use for your art?

SFML projects / Re: Temporarily Named MMORPG: The Adventure Game
« on: February 12, 2016, 11:57:36 pm »
If you you are still attending school or if you are attending college (not sure about college) you can get 5 free github repositories here:

General discussions / Re: can I modify SFML?
« on: February 07, 2016, 01:10:57 pm »
You are over thinking it. You just have to clearly say that you have forked SFML. If you do something wrong SFML police will warn you before shooting.

General / Re: Getting SFML program to work
« on: February 05, 2016, 09:31:17 pm »
I believe that this is your solution:

Also I would recommend you to use latest SFML version.

The easiest way is to install Ubuntu 14.04 alongside Windows for programming. (my approach after I had tons of problems when I tried to use Ogre (before I've realised that its just a graphics engine))

General / Re: sfml with gcc 5.2
« on: February 05, 2016, 04:37:53 pm »
It is working now for some reason. I've just updated Ubuntu and I've put sfml-network above sfml-system in linker settings.

General / Re: sfml with gcc 5.2
« on: February 05, 2016, 03:42:35 pm »
I'm usually using CodeBlocks

EDIT: it seems that I just have to define const strings instead of just writing in file names.
const std::string menuFS = "menu.ttf";

instead of:

General / Re: sfml with gcc 5.2
« on: February 05, 2016, 09:41:57 am »
That's the version in the Ubuntu 15.10

General / Re: sfml with gcc 5.2
« on: February 04, 2016, 02:56:50 pm »
It is still not working, even after compiling it. I still have the same error message undefined reference to `sf::Font::loadFromFile(std::string const&)'|
and similar errors:
(click to show/hide)

Make log:
(click to show/hide)
Code is correct and libraries are correctly linked.
Code: https://github.com/paupav/boxGame

General / sfml with gcc 5.2
« on: February 03, 2016, 10:39:29 pm »
compile it and put on the website plox
I'm getting error message:   undefined reference to `sf::Texture::loadFromFile(std::string const&, sf::Rect<int> const&)'|

SFML projects / Re: Simple Snake Game
« on: January 09, 2016, 06:09:16 pm »
Quote from: Nexus
You should find a design that works without global variables.

SFML projects / Re: Simple Snake Game
« on: January 04, 2016, 11:57:46 pm »
I don't wanna sound like a smartass especially because I did same thing with my snake game, but you should split code in multiple files. Also you should avoid global functions.

Network / Re: Simple UDP connection that transfers message using packets
« on: January 03, 2016, 04:04:22 pm »

SFML projects / Re: boxGame
« on: January 03, 2016, 01:02:26 am »
if this one is fine then i will continue using it. thanks :)

Pages: [1] 2 3 ... 11