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

Pages: [1]
1
General / Playing my own game on other PC
« on: May 07, 2018, 01:36:57 am »
Hey, I've just ended my own game and i don't know what should i send to my friend to make him able to play (without sending him the whole code). I' ve been seraching on forum but i couldn't make it with already existing posts. I know i should add libs like openal32 but what's more?
 I linked my sfml staticly and i'm working with visual studio 2017.
Thanks in advance guys  ;)

2
Graphics / Re: Coordinates of the whole texture.
« on: May 02, 2018, 05:10:28 pm »
Thank you man, that's exacly what i needed :P

3
Graphics / Coordinates of the whole texture.
« on: May 02, 2018, 03:44:29 pm »
Hey, i've been googling since yesterday but i can not find answer for my question. I'm newbie with sfml and i want to create a test game for myself and i have no idea how to get coordinates of my image. I mean i want to add texture with irregular shape (like skull or tower or something else) and when i add it i want to get x and y of every pixel from it, I want to make it working with mouse cursor when cursor reaches image, not making it as  Bounding boxes (effect works when cursor is on sqare background of image). Sorry if it's too chaotic, hope you understand my text  :P

4
Graphics / Re: Problem with adding texture (_imp___ZN2...)
« on: June 17, 2017, 03:44:59 pm »
The problem is that i tried to compile it by myself ;/ I don't know what should i do, i tried everything :P

5
Graphics / Re: Problem with adding texture (_imp___ZN2...)
« on: June 17, 2017, 01:21:13 pm »
I did it so many times :P And in good order (like in official tutorial) ;/

6
Graphics / Re: Problem with adding texture (_imp___ZN2...)
« on: June 16, 2017, 11:41:08 pm »
...
Quote
i ve got code blocks 16.01 mingw
...

7
Graphics / Problem with adding texture (_imp___ZN2...)
« on: June 16, 2017, 02:26:28 pm »
Hey , im very desperated noob who has 2 days to make his project. I need to put graphic into it but can't compile it coz of error when i type
if (!texture.loadFromFile("aha.png"));
. It's only 1 error which says
Quote
||=== Build: Debug in ehhhagain (compiler: GNU GCC Compiler) ===|
obj\Debug\main.o||In function `main':|
C:\Users\Dq\Desktop\Milionery\ehhhagain\main.cpp|19|undefined reference to `_imp___ZN2sf7Texture12loadFromFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_4RectIiEE'|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
. I have no time and i really need help, yesterday i was googling for 7 hours to find a solution and i found nothing.... I have every lib linked and in good order, i tried to compile sfml by myself but error was the same. i ve got code blocks 16.01 mingw version and GCC 4.9.2 TDM (SJLJ) 32-byte SFML 2.4.2. I don't know what to do, please help me :(

Pages: [1]