I have tiny problem.... I tried writing everything by hand and it gave me an error
ok, I went and copied the code from pastebin and still it gave me an error then i went and copied everything from pastebin and its still giving me an error
--------> "undefined reference to *IMG_load* could someone help me?
It is there (Says 1) but the image doesn´t seem to appear. I cannot see it. I do blended and stuff i checked all codes nothing is wrong typed or something. Please answer i´ve been stucked on this for 2 hours! Thanks
@djmexxdofficial Make sure that you did everything correct and that the image is where it should be and in the right format. To make sure, copy my whole source and compile it to test it with an image. Because it could be that the image is the only problem.
@djmexxdofficial i know your comment was like 3 months ago, but i had the same problem and my sloution was that i was calling load_texture in a constructor that got called before opengl was initialized
ok i solved my problem... I added -lSDL_image to the linker settings
Mrcerimo 2 weeks ago
I have tiny problem.... I tried writing everything by hand and it gave me an error
ok, I went and copied the code from pastebin and still it gave me an error then i went and copied everything from pastebin and its still giving me an error
--------> "undefined reference to *IMG_load* could someone help me?
Mrcerimo 2 weeks ago
oh and i used "r" from previous episodes and the pad seems to appear white in quade shape
Susonamon 1 month ago
@Susonamon Hmm did you use my image I uploaded? Also you maybe don't have full OpenGL support so you can't blend properly?
RedReaper132 1 month ago
@RedReaper132 I´ve got OpenGL v1.4. 66% (Features) from 1.5 and 11% from 2.1
So not sure where the problem can be. And yes i used your image.
Susonamon 1 month ago
@Susonamon Hmm I really don't know what the problem is. Drivers maybe?
RedReaper132 1 month ago
Hey i have a little problem with image. When i do
cout << pad_texture << endl;
It is there (Says 1) but the image doesn´t seem to appear. I cannot see it. I do blended and stuff i checked all codes nothing is wrong typed or something. Please answer i´ve been stucked on this for 2 hours! Thanks
Susonamon 1 month ago
Whats the name of your desktop background, 0:00?
amorag59 1 month ago
@amorag59 @RedReaper132
amorag59 1 month ago
Comment removed
ben4d85 7 months ago
Wait, wait... at around 23 minutes of the video... What was the problem?? o_O
It worked for me...
ShadowSky24 8 months ago
Great stuff dude!
I dearly appreciate you tutorials, it's exactly what I want.
Do u have any future plans on where u want to go with these tutorials? What may we see in the future?
touche123123 9 months ago
are you going to be doing somethings like leveling and damage?
kingdomkey1412 9 months ago
hey redreaper, nice tut! :)
but my game doesn't run anymore, if i add this:
"unsigned int pad_texture = 0;
pad_texture = loadTexture("test.png");"
- it opens, closes immediately and the compiler says:
"Process terminated with status 3 (0 minutes, 1 seconds)"
djmexxdofficial 9 months ago
@djmexxdofficial Make sure that you did everything correct and that the image is where it should be and in the right format. To make sure, copy my whole source and compile it to test it with an image. Because it could be that the image is the only problem.
RedReaper132 9 months ago
@djmexxdofficial i know your comment was like 3 months ago, but i had the same problem and my sloution was that i was calling load_texture in a constructor that got called before opengl was initialized
SquareBoxRespawn 6 months ago