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
1
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.

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

3
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?

4
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:
https://education.github.com/pack

5
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.

6
General / Re: Getting SFML program to work
« on: February 05, 2016, 09:31:17 pm »
I believe that this is your solution:
http://stackoverflow.com/questions/6404636/libstdc-6-dll-not-found

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

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

8
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.
e.g
const std::string menuFS = "menu.ttf";
font.loadFromFile(menuFS);

instead of:
font.loadFromFile("menu.ttf");

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

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

11
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&)'|

12
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.
http://fr.sfml-dev.org/forums/index.php?topic=16574.0

13
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.

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

15
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
anything