Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 help with pictures
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Shyfire




PostPosted: Tue Apr 19, 2005 10:16 am   Post subject: help with pictures

i this pacman game i downloaded the levels were saved in .plv format how do you draw a picture on the screen that is not a .bmp or .jpg Question

could someone please tell me how this is done Exclamation Exclamation Exclamation
Sponsor
Sponsor
Sponsor
sponsor
jamonathin




PostPosted: Tue Apr 19, 2005 10:57 am   Post subject: (No subject)

just open them up in paint and convert them to jpg or bmp.
Shyfire




PostPosted: Wed Apr 20, 2005 8:40 am   Post subject: (No subject)

still doesn't answer my question Evil or Very Mad Exclamation Exclamation


but thx for trying
Martin




PostPosted: Wed Apr 20, 2005 9:06 am   Post subject: (No subject)

What is .plv? Just an image file? Or is it an actual pacman map. In the latter case, what you'd have to do is figure out what format the file is in and read that.
[Gandalf]




PostPosted: Thu Apr 21, 2005 1:44 am   Post subject: (No subject)

.plv
hmmm .pacmanlevel?

It's probably just some random format which the person used. Try opening it up with paint (or photoshop/psp) and wordpad. There is a big chance that this .plv file is not an image... If none of those work properly, then you might have trouble finding the proper program to edit/open that kind of file. Still, I usually find that opening something up in wordpad helps in any case Smile
StarGateSG-1




PostPosted: Thu Apr 21, 2005 7:40 am   Post subject: (No subject)

Turing doesn't handle support for many file extensions, try and stick with bmp, jpeg, gif. Other than that there are picture converting programs out there.
jamonathin




PostPosted: Thu Apr 21, 2005 7:50 am   Post subject: (No subject)

Last time I checked, turing doesn't support .gif files either.
*fourstar




PostPosted: Sat Apr 23, 2005 8:24 pm   Post subject: (No subject)

while we're still on the topic of pictures, i need help. You see i've looked on the tutorials on this site on how to upload pictures and such, but when i've tried to copy the coding and put in my own files names it still doesn't work. It says "ILLEGAL PICTURE ID number '0'. (Probable cause: picture was not succesfully created.)"

This is my coding i took most of the coding from the tutorial because i thought it was right, but it wont work for me, can someone help me?

var pic :int := Pic.FileNew ("mypic.bmp")
Pic.Draw (pic, maxx div 2, maxy div 2, 0)
Sponsor
Sponsor
Sponsor
sponsor
jamonathin




PostPosted: Mon Apr 25, 2005 5:42 am   Post subject: (No subject)

It's because you're picture isn't in the right spot. If you're just going to put ("mypic.bmp") then you're picture must be in turing's default folder (my documents, if your program is unsaved) or in whatever file your program is saved in.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 9 Posts ]
Jump to:   


Style:  
Search: