Re: Learning Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

.What I am
> trying to do right now is draw a chess board on the screen and fill the
> squiers with diff colors.I want to program in broad games,quiz games
chess
> stuff all with good graphics.I never quit when a program pisses me off
like
> this.
>
The dirtiest, filthiest, fastest way of doing this is creating a square in
Neopaint, Windows Paint, or any other BMP-maker, load it once into a
sequence using read_bitmap(), and redisplay it over and over in a two level
loop using display_image(), incrementing the x and y values by the height
and the width of the square. This should take you no more than an hour tops
from the creation of the square in the paint program to actually writing
the code (a measley 7 lines of code) to put them on the screen.

If you want me to send you a demonstration program , with documented code
to help you along, let me know in private Email (so I don't stupidly
circulate an attachment in the listserv like last time ;> )

David Gay
http://www.digital-liquid.com/abgte
A Beginner's Guide To Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu