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

Username:   Password: 
 RegisterRegister   
 My Weird Program
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2, 3  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
TheFerret




PostPosted: Mon Feb 23, 2004 3:51 pm   Post subject: (No subject)

I don't know how to make a .scr and I would like to have a black background but, I use drawfill box and that does not work...

P.S. What do you mean by trail of black...
Sponsor
Sponsor
Sponsor
sponsor
the_short1




PostPosted: Mon Feb 23, 2004 6:50 pm   Post subject: (No subject)

here try my mock of your program... does not do exact same as yours.... i had to think up code... maybe i could help u make scr... this is wut i mean by leave a black trail... to acually act like a scr...

Download BOTH into same folder..



my wierd prog (MOCK).t
 Description:

Download
 Filename:  my wierd prog (MOCK).t
 Filesize:  823 Bytes
 Downloaded:  81 Time(s)

jawaharyousuf




PostPosted: Thu Mar 04, 2004 6:15 pm   Post subject: 3-D Graphics

If anyone's interested in real 3-D try tilting a line (or a graphic) towards you and then away from you, at specific angles. It is pretty cool program you made, although its just an illusion of 3-D graphics.
Jodo Yodo




PostPosted: Thu Mar 04, 2004 10:20 pm   Post subject: (No subject)

I'd give bits...but I can't
TheFerret




PostPosted: Sun Mar 07, 2004 1:13 am   Post subject: (No subject)

So, how do I make into a screen saver... Also is there a way to have a background colour and see both lines...
the_short1




PostPosted: Sun Mar 07, 2004 1:33 am   Post subject: (No subject)

ok...

www.irfanview.com
download this FREE picture viewer ETC... dont select all extensions on setup... ( it can open almost EVERY KIND OF FILE) but.,., it mite take over you computer.. (ei... it can listen to Mp3's .wav, movies of all types, and all picctures./... so... yea... then all files on your computer will be opened with irfanview.... ...

anyways ... this program ROCKS>..

ok... after you get the backround color going... leaving a TRAIL....

go to Options Menu, and click capture, make it do it every like 1 seconds or something... run your program.... then collect all the screenshots it saved... then put them all in a new folder by themselfs

select the slideslow button or go File / slideshow.... click ADD ALL in the folder taht had all the picture.. and then u will see a butten to creat a .scr or .exe... PS: for this to work good... u gota Close all other programs... and have a REALY fast computer.... my computer sucsk... so it is jerky..
press ESC to exit screen saver...


Here i made an example one... EERRRR cant upload at the moment... will try again tomorow
valor




PostPosted: Thu Apr 01, 2004 10:07 pm   Post subject: (No subject)

omfg that is so nice. kept me mezmerized for like 4 minutes lol. how did you do that??
TheFerret




PostPosted: Thu Apr 01, 2004 10:09 pm   Post subject: (No subject)

I basically made a line and changed the x,y, and col values and made it bounce off the walls and the made it scroll...
Sponsor
Sponsor
Sponsor
sponsor
TheFerret




PostPosted: Thu Apr 01, 2004 10:59 pm   Post subject: (No subject)

UPDATE: I made the line into a triange and will try a 3d triangle next... It is on main post...
the_short1




PostPosted: Fri Apr 02, 2004 3:57 pm   Post subject: (No subject)

VERY NICE!!!! make that a 3d triangle... and it would be WICKED!!!! very good job... keep up the good work.... also if u make a cube bounce... that would be cool... (but harD)
Raugrist




PostPosted: Fri Apr 02, 2004 4:13 pm   Post subject: (No subject)

the_short1 wrote:
ok...

www.irfanview.com
download this FREE picture viewer ETC... dont select all extensions on setup... ( it can open almost EVERY KIND OF FILE) but.,., it mite take over you computer.. (ei... it can listen to Mp3's .wav, movies of all types, and all picctures./... so... yea... then all files on your computer will be opened with irfanview.... ...

anyways ... this program ROCKS>..

ok... after you get the backround color going... leaving a TRAIL....

go to Options Menu, and click capture, make it do it every like 1 seconds or something... run your program.... then collect all the screenshots it saved... then put them all in a new folder by themselfs

select the slideslow button or go File / slideshow.... click ADD ALL in the folder taht had all the picture.. and then u will see a butten to creat a .scr or .exe... PS: for this to work good... u gota Close all other programs... and have a REALY fast computer.... my computer sucsk... so it is jerky..
press ESC to exit screen saver...


Here i made an example one... EERRRR cant upload at the moment... will try again tomorow

Yes, IrfanView really is great. But that's a new level of inefficient overkill.
Make a turing program as if it really were a screensaver (ie, pressing F1, it would run exactly as it would if it were automatically ran when the screensaver starts). Make sure you have some code that exits your loop when the mouse is moved or a button on the keyboard is pressed.

Now, compile. Set up the options however you want, I don't care. But when you go to save the exe... don't. You don't want an executable in this situation, save it as *.scr ('*' being, whatever you wanna call it). I haven't tried this recently so I'm not sure it'll work with the latest version of turing. But I do know for sure that it worked with 3.1 which is a plus because you can actually make it fullscreen.
TheFerret




PostPosted: Fri Apr 02, 2004 4:58 pm   Post subject: (No subject)

Is there an easier way to check to see if a key has been pressed, I have this but not very efficent...

code:
if hasch then
        getch (k)
    end if
    if k = "a" or k = "b" or k = "c" or k = "d" or k = "e" or k = "f" or k = "g" or k = "h" or k = "i" or k = "j" or k = "k" or k = "l" or k = "m" or k = "n" then
        Window.Close (win)
    end if
    if k = "o" or k = "p" or k = "q" or k = "r" or k = "s" or k = "t" or k = "u" or k = "v" or k = "w" or k = "x" or k = "y" or k = "z" then
        Window.Close (win)
    end if
    if k = "[" or k = "]" or k = "'" or k = "," or k = "." or k = "." or k = "-" or k = "=" then
        Window.Close (win)
    end if
    if k = "1" or k = "2" or k = "3" or k = "4" or k = "5" or k = "6" or k = "7" or k = "8" or k = "9" or k = "0" or k="`" then
        Window.Close (win)
    end if


How would you check for the abnormal keys such as Windows key, ALt, Ctrl, etc...
the_short1




PostPosted: Sat Apr 03, 2004 2:17 pm   Post subject: (No subject)

her u go....


code:


loop
exit when hasch %%% any character...
end loop

TheFerret




PostPosted: Sun Apr 04, 2004 2:19 am   Post subject: (No subject)

UPDATE: Now a 3-D triangle... Look at main post...

P.S Screensave of triangle(normal) too...
the_short1




PostPosted: Wed Apr 07, 2004 3:17 pm   Post subject: (No subject)

good job... big improvment to an already great program...
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 3  [ 32 Posts ]
Goto page Previous  1, 2, 3  Next
Jump to:   


Style:  
Search: