Computer Science Canada

Help with Turing Background

Author:  SwagKingzMon [ Sat May 05, 2012 9:36 pm ]
Post subject:  Help with Turing Background

I need to know how to use any image as a background and also re-size that image so it fits on the screen.


I tried to explore more on this topic but it wasn't related to this.


*******************************************
*I tried by using this code: *
*var mypic2 :int := Pic.FileNew ("red-heart.jpg") * <-This picture is to big when I run it. I need to make it smaller but how?
*Pic.Draw (mypic2, maxx div 14, maxy div 12, 0) *
*******************************************

var mypic2 :int := Pic.FileNew ("red-heart.jpg")
Pic.Draw (mypic2, maxx div 14, maxy div 12, 0)


I am using 4.1.1 Confused

Author:  Amarylis [ Sat May 05, 2012 10:16 pm ]
Post subject:  Re: Help with Turing Background

Pic.Scale[/url]

Author:  turinggirl [ Mon May 21, 2012 10:37 pm ]
Post subject:  Re: Help with Turing Background

You can always edit the picture in paint and then import it into your program

Author:  Raknarg [ Tue May 22, 2012 9:01 am ]
Post subject:  RE:Help with Turing Background

You can adjust the picture with Pic.Scale. You make a new picture, then adjust it with that function

For instance:

var pic : int := Pic.FileNew ("filename.bmp")
pic := Pic.Scale (pic, 10, 15)

This will take pic, and change the dimensions to 10x15

Author:  QuantumPhysics [ Tue May 22, 2012 3:42 pm ]
Post subject:  RE:Help with Turing Background

Does turing support dbs landscaping?

Author:  Raknarg [ Tue May 22, 2012 4:39 pm ]
Post subject:  RE:Help with Turing Background

You might want to give a better explanation.

If you want to try to have external programs interact with Turing, you're gonna have a bad time


: