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

Pages: [1] 2 3 ... 63
1
Window / Re: ACCESS VİOLATİON ERROR?
« on: August 11, 2023, 04:51:20 pm »
Definitely need to initialize your pointer  ???

2
General / Re: Question
« on: August 10, 2023, 09:46:48 am »
Bare minimum for an input text box would be
sf::RectangleShape or sf::Sprite to display the box
sf::Text & sf::Font to display the the text
The TextEntered event to catch the text inputted by the user
and of course the mandatory basics of how to create a windows, a correct event and main loop

Could also use a GUI library like TGUI or SFGUI, but I don't know anything about them

3
General / Re: Difficulty with wall collision (FIXED)
« on: August 08, 2023, 09:50:43 pm »
Nothing, you can update the title with fixed or solved like you did but there's nothing more :)

4
General / Re: LNK2001 Error for unknown reason
« on: July 20, 2023, 04:05:00 pm »
That's literally not the same error though.

In one screenshot your path is c/libraries/sfml2.6, in the other one it's c/sfml2.6, is that right? ???

5
General / Re: LNK2001 Error for unknown reason
« on: July 19, 2023, 06:28:45 pm »
Looks like you also skipped the step where you configure the directories, at least the lib one.


6
General / Re: LNK2001 Error for unknown reason
« on: July 19, 2023, 11:15:47 am »
First, why are you posting a screenshot of you not linking the lib?
Looks nothing like the screenshot in the tutorial


It looks like you're compiling in x64 in your 2nd screenshot, but you show us your configuration for win32. Make sure you include the headers and link the lib for the x64 platform.

Follow the tutorial, pretty much.

7
General / Re: Can't compile project
« on: July 17, 2023, 10:03:10 am »
You didn't link the freetype dependency, not sure if that's the only problem.

8
SFML website / Re: SFML Website Design
« on: June 07, 2023, 06:51:19 pm »
That's a bit of an exaggeration. Maybe it would smell fishy/oldschool to the average tiktoker but I don't think any C++ developer would associate it with viruses of phising :o
Don't even look at the SDL website :D

9
General / Re: How to link everything statically
« on: May 29, 2023, 05:19:44 pm »
Wrong linking order isn't it? It's supposed to be dependencies last (dependencies are listed in the link provided by hapax)

10
Graphics / Re: Problem when zooming
« on: May 02, 2023, 06:12:11 pm »
Hello.
Yes, definitely make 2 different view, one where you draw the main game and apply the zoom, and another one with the UI, text and minimap.
Nothing is drawn unless you explicitely draw something, so views are transparent by default.

11
Graphics / Re: Can't load texture from file
« on: April 30, 2023, 09:57:37 pm »
Trash symbol in the console when you load a texture is most likely that you're mixing release library with debug compilation. (or vice versa)

If you want to compile in release mode, use the release version of the lib (sfml-graphics etc.)
If you want to compile in debug mode, use the debug version of the lib (sfml-graphics-d etc.)
As written in the VS tutorial

12
Graphics / Re: Access To Default Font.
« on: April 15, 2023, 12:12:36 pm »
There isn't any default font in SFML.

13
General discussions / Re: Taking On the Role As BDFL
« on: April 13, 2023, 11:18:04 pm »
Congrats... I guess?  :D

14
Audio / Re: Sound playing the moment the key is pressed
« on: March 13, 2023, 11:44:27 pm »
...restarts it from beginning if it was it already playing
Don't call play() if it's already playing, you won't hear anything if you restart the sound every frame.

May want to use an event like the KeyPressed Event instead.

15
Of course it depends on what computer runs the program. ;)

Pages: [1] 2 3 ... 63
anything