• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

Images paint

I have turbo c++ ,dos and i am sick of making huge 2-d arrays to make good looking ships and game figures and stuff. Is there a program thats simular to paint that's files are saved into a .txt file format and use 16 colors in c++ format so when i read in the txt file i can save it to a 2d array and then pupixel it out onto the screen. Im new so no fancy stuff like, you could download this header file, use putimage cause its better, convert this, get that, jump here, crap that. PLEASE! Just plain and simple. Thanks!
0
Punkman
Asked:
Punkman
  • 5
  • 5
1 Solution
 
DarthNemesisCommented:
Well, I have a visual map editor I made for one of my games, it works a lot like paint... I could adapt it to produce output with characters (0-15 ?) instead of the ones i'm using for map tiles. I'll start working on that; let me know how you want me to send it to you.
0
 
PunkmanAuthor Commented:
That would be great!!!Yes it is 0-15, (0=black,1=blue,2=green,3=cyan,4=red,5=magenta,6=brown,  7=lightgray,8=gray,9=lightblue,10=lightgreen,11=lightcyan,  12=lightred,13=lightmagenta,14=yellow,15=white) just in case. Does it save the characters to a txt file? THANKS!!!! send to:
thepenguin13@hotmail.com
//and instructions! Thanks again!
0
 
DarthNemesisCommented:
Yeah, I have the colors already. Almost done modifying it.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
DarthNemesisCommented:
Alright, finished getting all the problems fixed and sent it to you.
0
 
PunkmanAuthor Commented:
YOU ARE GOD! It is perfect!!!!!!!!!! It is exactly what i was looking for!!!! Perfection!!! Thank you so much! I have upped the points to 75(my last remaining points) to give to you.Thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
0
 
PunkmanAuthor Commented:
wait...one last question...when i go to save, it saves it in a txt file, but when i open the txt file it shows black boxes and a space after so many of them...    like that. Shouldn't it be like 1 2 4 7 2 5 3 9 15 6 or something like that, #s matching the colors?
0
 
PunkmanAuthor Commented:
and it dosen't open the txt file i just saved correctly either...
0
 
DarthNemesisCommented:
Oh, so you want it to save with character value '1' (49) and not 1. Well, I think I can do that. Might take a little while though.
0
 
DarthNemesisCommented:
Alright, fixed it to display the actual number instead of a character with that value.
0
 
PunkmanAuthor Commented:
Ok, works perfect now! Thanks again! You have saved me alot of time and effort! THANKS!!
0
 
simpsons17371Commented:
well, that question was answered before i had time to type my answer...darn
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now