Computer Science Canada Luigi (mario with green instead of red) |
Author: | syphon4 [ Fri Jun 03, 2005 3:35 pm ] |
Post subject: | Luigi (mario with green instead of red) |
Hey any kool turing programer out there i was just wondering if anyone can make me a luigi character in turing(plese then send me the code). I need this a lot and it would be a ton of help to.......just the luigi character i will make him move and stuff later Thx guys |
Author: | Cervantes [ Fri Jun 03, 2005 3:45 pm ] | ||
Post subject: | |||
^_^ |
Author: | syphon4 [ Fri Jun 03, 2005 3:48 pm ] |
Post subject: | luigi |
i need a luigi drawn as best as anyone can using the drawfillovel, Draw.ThickLine,drawdot,drawbox....etc...........it must be using those features |
Author: | syphon4 [ Fri Jun 03, 2005 7:57 pm ] |
Post subject: | luigi |
ok im sry this will be my last post on this luigi topic i was bothering you with.........i have accepted that i dont have the time to make a good luigi using the draw commands..........so i will now accept any program that will work on my computer to make a mario or luigi......plz posy me a code sry for your trouble and thx... |
Author: | axej [ Fri Jun 03, 2005 8:31 pm ] |
Post subject: | |
just use your mario character code and change it to say drawfilloval(blah blah :red) or something like that. i don't remember the exact code but why don't you go into turing and press the F10 key to find out? it's quite simple really. |
Author: | syphon4 [ Fri Jun 03, 2005 8:36 pm ] |
Post subject: | luigi |
i dont have a mario code i was hoping someone out there did so i could change the colours like you said to do ...if you know anyone with a mario character plaz let me know how to make him in turing thx |
Author: | lyam_kaskade [ Fri Jun 03, 2005 8:51 pm ] |
Post subject: | |
I have a program called MS paint that's good for drawing stuff...but you probably have it too. Just use a picture file for it. Theres a tutorial on it here http://www.compsci.ca/v2/viewtopic.php?t=191 I believe. |
Author: | syphon4 [ Fri Jun 03, 2005 8:57 pm ] |
Post subject: | luigi |
var mypic :int := Pic.FileNew ("C:\luigi.") Pic.Draw (mypic, maxx div 2, maxy div 2, 0) delay (2000) cls Pic.Free (mypic) i always get an error in the path ("C:\luigi.")........my picture is in C: and its called luigi and its a jpeg file any tips on how i can make this work |
Author: | axej [ Fri Jun 03, 2005 9:00 pm ] |
Post subject: | |
ugh noone is going to make one just for you!! we here at comsci help you along but, ultimately, you have to do the project yourself if you've read in one of the hundred thousand other turing hellp threads, you would have figured that out by yourself already. also you can check out the rules and the extra help section. *Edit* holy Sh*t two people posted while i was typing that! |
Author: | syphon4 [ Fri Jun 03, 2005 9:41 pm ] |
Post subject: | luigi |
what project do you speak of i am trying have a luigi made for me because i am not good enough........i am trying to make my own mario level ......i can make a level and such but the luigi is beyond me plz if you have any suggestions e mail me syphon4@gmail.com |
Author: | Bacchus [ Sat Jun 04, 2005 12:19 am ] |
Post subject: | Re: luigi |
syphon4 wrote: var mypic :int := Pic.FileNew ("C:\luigi.")
Uhh, I don't see the JPEG in the filename..... and its a jpeg file |
Author: | MysticVegeta [ Sat Jun 04, 2005 8:59 am ] |
Post subject: | |
or bmp, btw whats your post supposed to mean, Cervantes? what is computerOperator.move? Looks like a array and a record, was it a prank lol? |
Author: | gohan [ Sat Jun 04, 2005 9:58 am ] | ||
Post subject: | |||
Hey syphon4, if you are trying to get the pic staright from your C:drive, then this isn't what you do>>> Quote: var mypic :int := Pic.FileNew ("C:\luigi.")
Pic.Draw (mypic, maxx div 2, maxy div 2, 0) delay (2000) cls Pic.Free (mypic) for 1, is because of what Bacchus said. Quote: Uhh, I don't see the JPEG in the filename... , and you also have to add another "\" beside luigi
So here, this helped for me when I was importing pics
Maybe this will help you ...hopefully, because im stumpped now..lol |
Author: | syphon4 [ Sat Jun 04, 2005 10:09 am ] |
Post subject: | luigi |
thx dragonball z :p ...i got the pic in turing to show up but now i was wondering how to make it move.......my knowlede of turing is that i onlt know how to move something that has been made using the draw commands....anyone know what i can do?? thx in advance |
Author: | gohan [ Sat Jun 04, 2005 1:38 pm ] |
Post subject: | |
I cant help u on the moving part until i go back to school on monday...I can tell u tht it has to do with for loops....ill help u until then...if nobody else helps you..sry for now tho... |
Author: | Cervantes [ Sat Jun 04, 2005 7:53 pm ] |
Post subject: | |
MysticVegeta wrote: or bmp,
btw whats your post supposed to mean, Cervantes? what is computerOperator.move? Looks like a array and a record, was it a prank lol? Mm, computerOperator is an imaginary instance of an imaginary class that refers to the operator of the computer. This imaginary class has a method, move, that takes two parameters, both being strings. The first represents the appendage or body part of the operator that will be moved, and the second refers to the location. So, essentially, I was telling him to run the program and then hit the "Print Screen" button on the keyboard. From there, things are self-evident. gohan wrote: I can tell u tht it has to do with for loops.... Noo! It has to do with variables storing the x and y positions of the picture, not for loops! If you want to simply move the picture across the screen (and do nothing else at the same time), sure, use a for loop. But if the picture needs to move at the same time as something else is happening, you must use variables. There is no other option. Also, using variables allows you to move the picture based on input, but a for loop doesn't lend itself to this quite so well... Cheers |
Author: | Ketseuki [ Tue Dec 13, 2005 2:49 pm ] | ||
Post subject: | |||
sorry to bug you guys on this topic again but I'm using the code
and I cant get the picture into Turing still. I would apreciate the help thank you |
Author: | Ketseuki [ Tue Dec 13, 2005 2:51 pm ] | ||||
Post subject: | |||||
Ketseuki wrote: sorry to bug you guys on this topic again but I'm using the code
and I cant get the picture into Turing still. I would apreciate the help thank you sorry, there is another braket so the code is
|
Author: | Cervantes [ Tue Dec 13, 2005 4:59 pm ] |
Post subject: | |
Does it give you an error? Or are you just not drawing it... If it does give you an error: Are you sure the file path is correct? Does that file exist? Is it a .bmp? (I suggest turning off that option that hides extensions of known file types. What a ridiculous idea: you end up creating files like test.txt.txt. In Windows Explorer -> Tools -> Folder Options -> Uncheck Hide Extensions of known file types.) It might not make any difference, but try using a lowercase "c". |
Author: | RedRogueXIII [ Tue Dec 13, 2005 5:42 pm ] | ||
Post subject: | |||
depends on how your moving it, anyways yea you have to use loops drawing and refreashing the image at the time. quickexample
there is an example of moving a picture from file. |
Author: | Ketseuki [ Wed Dec 14, 2005 1:49 pm ] |
Post subject: | |
No, its not giving me an error, it just isn't drawing the pic. says "finished execution" I tried the lower case "c", thanks, but it didnt work, it IS the right spelling, the file DOES exist, and it IS on the "C:" drive thanks for the help, even if you can't figure it out. I am greatly appretiative of your time. |