Re: Newbie Alert!
------=_NextPart_000_009D_01BFFBF6.B40953E0
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Greetings
use_vesa() is helpful in dealing with the area of negation you =
mentioned. I had the same problem when I started working with Euphoria.
I'm not sure what you meant about having pictures going together without =
a coloured outline. Could you mean an idea I borrowed from Jiri Babor or =
David Cuny about overlaying images on top of each other by using a =
masking technique?
Let me know
David
----- Original Message -----=20
From: Paul Kerslake=20
To: EUPHORIA at LISTSERV.MUOHIO.EDU=20
Sent: Monday, July 31, 2000 12:44 AM
Subject: Newbie Alert!
Hello,
As the above title suggests I am completely new to programming. And =
so, have found it very confusing. I have a few questions that I'd =
consider stumpers, while the seasoned programmer would probably find =
these really simple:
The problemis the Bitmap scene. There seems to be an 'Area of =
negatation' somewhere on my screen. I'll show you what I mean:=20
include graphics.e
include image.e
include get.e
integer gmode
gmode=3Dgraphics_mode(256)
sequence run,vp
vp=3Dread_bitmap("vp.BMP")
display_image({1,60}, (vp[2]))
run=3Dread_bitmap("run.BMP")
display_image({1,1}, (run[2]))
=20
Those are the commands (obviously!) but the image is cut off after =
about (#, 60). Which stumps me. Of course I'm not the world's leading =
programmer so a lot of things stump me! So here are the questions:
1. Why are my pictures being cut off?
2. Why can't I have two images that are 256 colour and have the proper =
colours? all_palette only works on one or the other not both.
3. (David) Mr. Gay's Guide to Programming said I could have pictures =
that go thogether without a coloured outline aroud them.
How does that work?
4.How could I have the mouse to click on a certain area and have it do =
something?
Something like:=20
(if mouse_scroll=3D(12,30)
puts(1,"Hey, your mouse is at 12,30) =20
end if
Or=20
(if mouse_scroll=3D(12,30)
(LEFT_CLICK)
puts(1,"Hey, your mouse is at 12,30) =20
end if
=20
And finally I'd like to know how to play WAVs and MID (midis).=20
------=_NextPart_000_009D_01BFFBF6.B40953E0
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Greetings</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>use_vesa() is helpful in dealing with =
the area=20
of negation you mentioned. I had the same problem when I started working =
with=20
Euphoria.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm not sure what you meant about =
having pictures=20
going together without a coloured outline. Could you mean an idea I =
borrowed from Jiri Babor or David Cuny about overlaying images on top of =
each=20
other by using a masking technique?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Let me know</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>David</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dpaulk at UNISERVE.COM href=3D"mailto:paulk at UNISERVE.COM">Paul =
Kerslake</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3DEUPHORIA at LISTSERV.MUOHIO.EDU=20
=
</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, July 31, 2000 =
12:44=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Newbie Alert!</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>As the above title suggests I am =
completely new=20
to programming. And so, have found it very confusing. I have a few =
questions=20
that I'd consider stumpers, while the seasoned programmer would =
probably find=20
these really simple:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The problemis the Bitmap scene. There =
seems to be=20
an 'Area of negatation' somewhere on my screen. I'll show you what I =
mean:=20
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000080 size=3D2>include =
graphics.e<BR>include=20
image.e<BR>include get.e</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial color=3D#000080 size=3D2>integer=20
gmode<BR>gmode=3Dgraphics_mode(256)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial color=3D#000080 size=3D2>sequence =
run,vp</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial color=3D#000080=20
size=3D2>vp=3Dread_bitmap("vp.BMP")<BR>display_image({1,60},=20
(vp[2]))<BR>run=3Dread_bitmap("run.BMP")<BR>display_image({1,1},=20
(run[2]))</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000080 =
size=3D2><BR> </DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Those are the commands (obviously!) =
but the image=20
is cut off after about (#, 60). Which stumps me. Of course I'm not the =
world's=20
leading programmer so a lot of things stump me! So here are the=20
questions:</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>1. Why are my pictures being cut=20
off?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>2. Why can't I have two images that =
are 256=20
colour and have the proper colours? all_palette only works on one or =
the other=20
not both.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>3. (David) Mr. Gay's Guide to =
Programming said I=20
could have pictures that go thogether without a coloured outline aroud =
them.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>How does that work?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>4.How could I have the mouse to click =
on a=20
certain area and have it do something?</FONT></DIV>
<DIV> </DIV>
<DIV>Something like: </DIV>
<DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>(if =
mouse_scroll=3D(12,30)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>puts(1,"Hey, your mouse is at =
12,30) =20
</FONT></DIV>
<DIV>end if</DIV>
<DIV> </DIV></DIV>
<DIV>Or </DIV>
<DIV> </DIV>
<DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>(if =
mouse_scroll=3D(12,30)</FONT></DIV>
<DIV>(LEFT_CLICK)</DIV>
<DIV><FONT face=3DArial size=3D2>puts(1,"Hey, your mouse is at =
12,30) =20
</FONT></DIV>
<DIV>end if</DIV>
<DIV> </DIV>
<DIV>And finally I'd like to know how to play WAVs and MID (midis).=20
------=_NextPart_000_009D_01BFFBF6.B40953E0--
|
Not Categorized, Please Help
|
|