@qpHalcy0n: SDL. If what you mean by "Rendering Surfaces" is an SDL_Surface * then yes I do use them for loading textures.
@qpHalcy0n: But are you are saying that I shouldn't use SDL ( At least for rendering ) or what?
@qpHalcy0n: If so what do I use?
Search found 198 matches
- Thu Oct 14, 2010 3:17 pm
- Forum: Programming Discussion
- Topic: OpenGL Textures Disappear
- Replies: 17
- Views: 1730
- Wed Oct 13, 2010 5:32 pm
- Forum: Programming Discussion
- Topic: OpenGL Textures Disappear
- Replies: 17
- Views: 1730
Re: OpenGL Textures Disappear
Well Milch I had already looked at that but I missed something important. the iterator has to be dereferenced before it will access the list item. But now it gives me this: video.obj : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function "public: struct GLtextu...
- Wed Oct 13, 2010 12:02 pm
- Forum: Programming Discussion
- Topic: OpenGL Textures Disappear
- Replies: 17
- Views: 1730
Re: OpenGL Textures Disappear
Thank you all for the encouragment. :) @eatcomics: broken link? Well right now I am working on making a 'ReloadTextures()' function using 'list's but I can't remember how the iterator works. All I want it to do is go through the list and give me every item in it and my logic will do the rest. If any...
- Tue Oct 12, 2010 8:54 am
- Forum: Art, Music, and Design
- Topic: Good Sprite Application
- Replies: 13
- Views: 4027
Re: Good Sprite Application
Well even though I done I'll tell you anyway.pritam wrote:This just hit me, why do you need to scale them up?RandomDever wrote:However recently I've needed to scale some sprites up by 200%.
Because I got the duck hunt sprite sheet online and it looked way too small for my game.
- Tue Oct 12, 2010 8:42 am
- Forum: Programming Discussion
- Topic: OpenGL Textures Disappear
- Replies: 17
- Views: 1730
OpenGL Textures Disappear
Whenever I toggle fullscreen all my textures disappear.
Why?
------------------------------------------------------------------
And on a side note go play my first game:
http://donsvoice.com/randomdever/Duck%2 ... 01.0.0.zip
Why?
------------------------------------------------------------------
And on a side note go play my first game:
http://donsvoice.com/randomdever/Duck%2 ... 01.0.0.zip
- Sun Oct 10, 2010 6:27 am
- Forum: Game Development
- Topic: My First Game
- Replies: 1
- Views: 523
My First Game
I''m SOOOOOO glad that's over with.
But here it is.
Duck Hunt RD.
![Whoa! :shock2:](./images/smilies/shock.gif)
Please contact me with any bugs you may find.
http://donsvoice.com/randomdever/Duck%2 ... 01.0.0.zip
But here it is.
Duck Hunt RD.
![Happy :)](./images/smilies/icon_smile.gif)
![Wink ;)](./images/smilies/icon_wink.gif)
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
![Laughing :lol:](./images/smilies/icon_lol.gif)
![Cool 8-)](./images/smilies/icon_cool.gif)
![Shocked :shock:](./images/smilies/icon_eek.gif)
![Whoa! :shock2:](./images/smilies/shock.gif)
Please contact me with any bugs you may find.
http://donsvoice.com/randomdever/Duck%2 ... 01.0.0.zip
- Thu Oct 07, 2010 5:04 pm
- Forum: Programming Discussion
- Topic: Visual C++ SDL Linker Errors
- Replies: 4
- Views: 1539
Re: Visual C++ SDL Linker Errors
huh? Linker Flags? Please explain. Edit: Never mind I fixed it. I found someone with a similar problem online. All you need to do is: #pragma comment( lib, "SDL.lib" ) #pragma comment( lib, "SDLmain.lib" ) #pragma comment( lib, "SDL_image.lib" ) #pragma comment( lib, &q...
- Thu Oct 07, 2010 5:18 am
- Forum: Programming Discussion
- Topic: Visual C++ SDL Linker Errors
- Replies: 4
- Views: 1539
Visual C++ SDL Linker Errors
I just made a program but I want to test it in Release Mode but every time I try to build it it gives me this: Linking... game.obj : error LNK2001: unresolved external symbol _SDL_Init game.obj : error LNK2001: unresolved external symbol _Mix_PlayChannelTimed game.obj : error LNK2001: unresolved ext...
- Wed Sep 01, 2010 5:06 pm
- Forum: Programming Discussion
- Topic: SDL Mouse States
- Replies: 3
- Views: 496
Re: SDL Mouse States
OK I tried all of your solutions and they didn't fully work. The only time the thang would update was when I triggered an event. So I thought OK maybe I put the update function in the while loop that handles events. I checked and it wasn't in there. After toying around for 30 minutes I realized that...
- Wed Sep 01, 2010 9:55 am
- Forum: Programming Discussion
- Topic: SDL Mouse States
- Replies: 3
- Views: 496
SDL Mouse States
All I need is a boolean that is true if the left mouse button is down and false if the left mouse button is up.
I can't find it.
Please Help!
I can't find it.
Please Help!
- Sun Aug 29, 2010 1:06 am
- Forum: Game Development
- Topic: SDL HUD Problem
- Replies: 5
- Views: 1161
Re: SDL HUD Problem
dataBuffer = SDL_CreateRGBSurface( SDL_SWSURFACE | SDL_SRCCOLORKEY, ( dataType->w * data ), dataType->h, 32, 0, 0, 0, 0 ); SDL_FillRect( dataBuffer, NULL, SDL_MapRGB( video->screen->format, 255, 0, 255 ) ); SDL_SetColorKey( dataBuffer, SDL_SRCCOLORKEY, SDL_MapRGB( video->screen->format, 255, 0, 255...
- Thu Aug 26, 2010 4:25 pm
- Forum: Game Development
- Topic: SDL HUD Problem
- Replies: 5
- Views: 1161
Re: SDL HUD Problem
Well i will post some code but first an explanation of why. I want to have images display a count of for instance bullets that the player has in his clip. But I also want it centered within an SDL_Rect and I already have a function for getting a surface centered withing a Rect. And the only way I ca...
- Thu Aug 26, 2010 3:07 am
- Forum: Game Development
- Topic: SDL HUD Problem
- Replies: 5
- Views: 1161
SDL HUD Problem
So I'm making a little GUI box that holds an integer and based on that integer it blits a certain amount of images. However i want all the images to be applied to a SDL_Surface *buffer before being blitted to the screen. But every time I do that it gives me some random access violation. Is what i'm ...
- Tue Aug 17, 2010 9:44 pm
- Forum: Art, Music, and Design
- Topic: Good Sprite Application
- Replies: 13
- Views: 4027
Re: Good Sprite Application
yeah I really don't like the new version of paint I had some very nice memories of drawing space marines and the like in paint when I was 14-15 (19 now) and the new one completely shattered them. Alright maybe that's an exaggeration but the win7 version is a piss poor imitation of the xp version I ...
- Tue Aug 17, 2010 7:05 pm
- Forum: Art, Music, and Design
- Topic: Good Sprite Application
- Replies: 13
- Views: 4027
Re: Good Sprite Application
Well I went onto another computer which had Photoshop CS4 on it and when I tried to upscale the image it gave me the same list as paint .NET does but photoshop had them with WTF they mean. Why couldn't paint .NET have that. :evil: Anyways for future reference if you want to scale a sprite use "...