Author |
Message |
Shyfire
|
Posted: 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
could someone please tell me how this is done |
|
|
|
|
|
Sponsor Sponsor
|
|
|
jamonathin
|
Posted: 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
|
Posted: Wed Apr 20, 2005 8:40 am Post subject: (No subject) |
|
|
still doesn't answer my question
but thx for trying |
|
|
|
|
|
Martin
|
Posted: 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]
|
Posted: 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 |
|
|
|
|
|
StarGateSG-1
|
Posted: 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
|
Posted: Thu Apr 21, 2005 7:50 am Post subject: (No subject) |
|
|
Last time I checked, turing doesn't support .gif files either. |
|
|
|
|
|
*fourstar
|
Posted: 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
|
|
|
jamonathin
|
Posted: 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. |
|
|
|
|
|
|