Search found 7 matches

by heisenberg
Wed Jan 29, 2014 12:57 pm
Forum: Programming Discussion
Topic: [SDL2] Texture vs Surface ?
Replies: 5
Views: 4924

Re: [SDL2] Texture vs Surface ?

Thank you guys for your answers. :)
by heisenberg
Mon Jan 27, 2014 1:55 am
Forum: Programming Discussion
Topic: [SDL2] Texture vs Surface ?
Replies: 5
Views: 4924

Re: [SDL2] Texture vs Surface ?

Please, can you explain it to me.
When do we use Surface ? And, when do we use Texture in SDL v2 ?
by heisenberg
Sun Jan 26, 2014 5:37 am
Forum: Programming Discussion
Topic: [SDL2] Texture vs Surface ?
Replies: 5
Views: 4924

[SDL2] Texture vs Surface ?

Hello everybody, First question is: What is the difference between Texture and Surface in SDL v2 ? Second question: Why the texture rendering is stretched ? :x bool CTexture::OnDraw(SDL_Renderer* Renderer, SDL_Texture* Texture, int XDest, int YDest) { if(Renderer == NULL || Texture == NULL) { cerr <...
by heisenberg
Tue May 21, 2013 6:18 pm
Forum: Programming Discussion
Topic: Big List O' Stuff (Tutorials. resources, &software)
Replies: 3
Views: 15655

Re: Big List O' Stuff (Tutorials. resources, &software)

Thank you Jersy, this is a very intresting list of URLs. :)
by heisenberg
Mon May 06, 2013 2:18 pm
Forum: Programming Discussion
Topic: [Help] Advices for SDL Programming
Replies: 6
Views: 4423

Re: [Help] Advices for SDL Programming

Acctualy! I thought about the scientist but when i was searching for an avatar i got as result the meth-dealer White Walter. :mrgreen: But i took the scientist's picture, i think it's better. :p
by heisenberg
Sun May 05, 2013 3:10 pm
Forum: Programming Discussion
Topic: [Help] Advices for SDL Programming
Replies: 6
Views: 4423

Re: [Help] Advices for SDL Programming

Thank you to everyone, i'm trying this days to code a little Sudoku game. Sounds like you need a good dose of creativity in your development... maybe it's true :lol: because i don't really know how to structure things, and how to implement functions, so let's stop talking and go back to work like i ...
by heisenberg
Sat May 04, 2013 5:46 pm
Forum: Programming Discussion
Topic: [Help] Advices for SDL Programming
Replies: 6
Views: 4423

[Help] Advices for SDL Programming

Hi everyone, I started learning SDL library (few weeks for now :| ) and i feel like i'm just copying source codes, i read "Focus On SDL" book and i wanted to make the Framework given in it or maybe a clone but i'm just copying it. I don't know if it's a good method to learn, but i feel lik...