Skip to main content
13 events
when toggle format what by license comment
Jun 21, 2017 at 16:16 history edited user1430 CC BY-SA 3.0
edited tags; edited title
Nov 4, 2014 at 3:51 vote accept LUser
Nov 4, 2014 at 3:50 vote accept LUser
Nov 4, 2014 at 3:51
Oct 29, 2014 at 22:34 answer added Aralox timeline score: 0
Oct 29, 2014 at 20:28 vote accept LUser
Nov 4, 2014 at 3:50
S Oct 28, 2014 at 22:07 history suggested Ahsan Fayaz CC BY-SA 3.0
Copied relevant code from link into post
Oct 28, 2014 at 22:04 answer added Ahsan Fayaz timeline score: 1
Oct 28, 2014 at 21:45 comment added Ahsan Fayaz Thanks, I've pasted the code into your post. You can load Healer0.png to Healer15.png yourself, you can do that with a loop and some string manipulation. You should load those into an array of SDL_Textures and then switch the array index of the surface you're drawing with the one you currently want to show. If that doesn't make sense, I can write a full answer.
Oct 28, 2014 at 21:42 review Suggested edits
S Oct 28, 2014 at 22:07
Oct 28, 2014 at 18:17 history edited LUser CC BY-SA 3.0
added 299 characters in body
Oct 28, 2014 at 17:26 comment added Ahsan Fayaz Can you post the code you're using to loop through the images? That's the correct approach, so your problem is with the code rather than suggestions on how to do it.
Oct 28, 2014 at 17:13 review First posts
Oct 28, 2014 at 20:25
Oct 28, 2014 at 17:12 history asked LUser CC BY-SA 3.0