I re-make a pixel design prgm. with your(Chili) Tic Tac Toe.

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
xdrxdr
Posts: 2
Joined: May 19th, 2012, 8:44 pm

I re-make a pixel design prgm. with your(Chili) Tic Tac Toe.

Post by xdrxdr » May 21st, 2012, 7:45 am

I am a beginner in C, C++ Programming.

I re-make a pixel design prgm. with your(Chili) Tic Tac Toe program
(and use Chili DirectX Framework V12.04.24 (SFX).

In screen
First design a Pixel image
Second Put pixel information to a text file( with return key pressed)
(pixeldata_text.txt in same directory ..\\..\\Chili DirectX Framework)
ex : "gfx.PutPixel( 0 + x , 0 + y , rd , gn , bl )"
x,y : origin of pixel data within a image ( Upper Left )

I wonder you How to get a huge pixel data like a POO or FACE.
I think that Chili would transfer image to pixel data with some program.

ANYWAY

Now I don't know What to make a pixel for color in program.
I want to pick a color on the side and
put a color pixel LIKE a paintbrush window program.
I hope having a solution in this forum OR in Video tutorial.
Attachments
Game.h
(2.31 KiB) Downloaded 193 times
Game.cpp
(5.05 KiB) Downloaded 201 times

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: I re-make a pixel design prgm. with your(Chili) Tic Tac

Post by LuX » May 21st, 2012, 10:13 am

Not sure what you mean. If you want to make an image to pixeldata converter I already did a user friendly one that accepts any kind of images, and is easy to use, while chili did one that only takes .bmp

Here:
http://www.planetchili.net/forum/viewto ... ?f=3&t=991 my image converter
http://www.planetchili.net/forum/viewto ... =925#p1011 chili's converter

8-)
Now I don't know What to make a pixel for color in program.
I want to pick a color on the side and
put a color pixel LIKE a paintbrush window program.
I hope having a solution in this forum OR in Video tutorial.
If you sniff around chili's converter you could make a paint type of program "fairly" easily, but as you mentioned being a beginner, it might be a bit advanced. Pixels and colors and that kind of crap come somewhere around tutorial 20.
ʕ •ᴥ•ʔ

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: I re-make a pixel design prgm. with your(Chili) Tic Tac

Post by chili » May 21st, 2012, 10:37 am

What LuX said. ;)

I also made a demonstration program that is kind of like the pencil tool from MS Paint. Search for Framework Mk II and I think you can find it.
Chili

Post Reply