| View previous topic :: View next topic |
| Author |
Message |
samse Grandmaster Cheater
Reputation: 0
Joined: 02 Aug 2006 Posts: 760 Location: Look Back! But remember that I won't be there~ JackAss
|
Posted: Mon Mar 16, 2009 8:49 am Post subject: Need help with a program. |
|
|
+REP FOR THE ONE WHO MAKES IT, YOU CAN ADD CREDITS YOUR SELF. IDC I JUST NEED IT BY TOMOZ OR TODAY PLEASE.
I need a program that do the following.
4 commands. 1 animated picture.
1st command: Play
Plays the animated picture.
2nd command: Next
Plays next frame ONLY.
3rd command: Prev
Plays previous frame ONLY.
4th command: Reset
Resets the picture to its first frame.
Picture:
[/img] _________________
| mooglekiller wrote: | | If i get him auto banned if there a chance that he'll get back on the rankings and if it's possible, how do i get him auto banned? |
| samse wrote: | | Its like you wanna save dying person by shooting him in the head. If possible, where do you get guns from? |
Last edited by samse on Mon Mar 16, 2009 9:38 am; edited 1 time in total |
|
| Back to top |
|
 |
S3NSA :3
Reputation: 1
Joined: 06 Dec 2006 Posts: 1908 Location: England.
|
Posted: Mon Mar 16, 2009 9:02 am Post subject: |
|
|
Not a pause button? Have you made a start with it or are you wanting us to make it for you? _________________
~ You can find me on irc.ccplz.net x |
|
| Back to top |
|
 |
samse Grandmaster Cheater
Reputation: 0
Joined: 02 Aug 2006 Posts: 760 Location: Look Back! But remember that I won't be there~ JackAss
|
Posted: Mon Mar 16, 2009 9:12 am Post subject: |
|
|
Its a project and im not gona learn full languages etc just for one project.
Anyone can make?
After all, you can make a pause button if you wish
and if u want add a credits to your self, idc _________________
| mooglekiller wrote: | | If i get him auto banned if there a chance that he'll get back on the rankings and if it's possible, how do i get him auto banned? |
| samse wrote: | | Its like you wanna save dying person by shooting him in the head. If possible, where do you get guns from? |
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Mon Mar 16, 2009 10:33 am Post subject: |
|
|
| samse wrote: | Its a project and im not gona learn full languages etc just for one project.
Anyone can make?
After all, you can make a pause button if you wish
and if u want add a credits to your self, idc |
Just draw dots by using a sine graph TT. The dots are the xy positions.
Edit: or is it just using that pre-made animation? _________________
|
|
| Back to top |
|
 |
samse Grandmaster Cheater
Reputation: 0
Joined: 02 Aug 2006 Posts: 760 Location: Look Back! But remember that I won't be there~ JackAss
|
Posted: Mon Mar 16, 2009 10:39 am Post subject: |
|
|
Use that pre made that I made ..
Just put it in the program and move it as i need up.
+rep for maker _________________
| mooglekiller wrote: | | If i get him auto banned if there a chance that he'll get back on the rankings and if it's possible, how do i get him auto banned? |
| samse wrote: | | Its like you wanna save dying person by shooting him in the head. If possible, where do you get guns from? |
|
|
| Back to top |
|
 |
BanMe Master Cheater
Reputation: 0
Joined: 29 Nov 2005 Posts: 375 Location: Farmington NH, USA
|
Posted: Mon Mar 16, 2009 2:56 pm Post subject: |
|
|
someone embed a media player into a html and code events for next and prev.. all so simple..yet we have ppl adding so much diffuculty to it..bah..
regards BanMe |
|
| Back to top |
|
 |
samse Grandmaster Cheater
Reputation: 0
Joined: 02 Aug 2006 Posts: 760 Location: Look Back! But remember that I won't be there~ JackAss
|
Posted: Tue Mar 17, 2009 3:37 am Post subject: |
|
|
If its so easy ... why dont u make it for me?
eh _________________
| mooglekiller wrote: | | If i get him auto banned if there a chance that he'll get back on the rankings and if it's possible, how do i get him auto banned? |
| samse wrote: | | Its like you wanna save dying person by shooting him in the head. If possible, where do you get guns from? |
|
|
| Back to top |
|
 |
Overload Master Cheater
Reputation: 0
Joined: 08 Feb 2008 Posts: 293
|
Posted: Tue Mar 17, 2009 4:03 am Post subject: |
|
|
| samse wrote: | If its so easy ... why dont u make it for me?
eh |
Why don't you shut up, learn something, and make it yourself.
You can't just prance in here and expect everybody to get on their hands and knees to do your shit. _________________
Blog
| Quote: | Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that |
|
|
| Back to top |
|
 |
samse Grandmaster Cheater
Reputation: 0
Joined: 02 Aug 2006 Posts: 760 Location: Look Back! But remember that I won't be there~ JackAss
|
Posted: Tue Mar 17, 2009 4:09 am Post subject: |
|
|
I never ordered neither flamed nor spammed.
I clearly said, if you read, that I WILL NOT LEARN A WHOLE LANGUAGE just for a simply program that I will need once for school.
Now that you get everything straight. Please press ALT + F4 or press BackSpace
In other words, gtfo  _________________
| mooglekiller wrote: | | If i get him auto banned if there a chance that he'll get back on the rankings and if it's possible, how do i get him auto banned? |
| samse wrote: | | Its like you wanna save dying person by shooting him in the head. If possible, where do you get guns from? |
|
|
| Back to top |
|
 |
Zerith Master Cheater
Reputation: 1
Joined: 07 Oct 2007 Posts: 468
|
Posted: Tue Mar 17, 2009 4:12 am Post subject: |
|
|
| No one here, and i repeat no one would make a program for you. |
|
| Back to top |
|
 |
S3NSA :3
Reputation: 1
Joined: 06 Dec 2006 Posts: 1908 Location: England.
|
Posted: Tue Mar 17, 2009 7:40 am Post subject: |
|
|
What course are you doing that requires you to learn to make a program? _________________
~ You can find me on irc.ccplz.net x |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Mar 17, 2009 8:02 am Post subject: |
|
|
easy to do in a java applet, would that do ? if yes, it's like a 15 minute job
not sure if i'm bothered to though.. have a 3 hour exam starting in 1 hour time |
|
| Back to top |
|
 |
mStorm Expert Cheater
Reputation: 0
Joined: 21 Feb 2009 Posts: 107
|
Posted: Tue Mar 17, 2009 9:05 am Post subject: |
|
|
| Read gif image into an array of bytes and find the frame delimiter and work with that. |
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Tue Mar 17, 2009 10:35 am Post subject: |
|
|
Hey samse, guess what.
No one likes your attitude, and no one will make a program for you.
So how about you gtfo.  _________________
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Tue Mar 17, 2009 11:39 am Post subject: |
|
|
printtt.java: | Code: | /* A play.gif player
*
* Controls: z for prev
* x for play
* c for next
* v for reset
*/
import java.util.Random;
import java.io.*;
class printtt {
public static void main(String[] args) {
String img = "play.gif";
/* Needed */
Random generator = new Random();
int rand = generator.nextInt(50) + 50;
/* Get the number of times to play */
System.out.print("Number of times to play: ");
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
/* Control stuffs */
String wid[] = {null,
"\u0049",
"\u0044\u0049\u0044\u004E\u0027\u0054",
"\u004D\u0041\u004B\u0045",
"\u0054\u0048\u0049\u0053",
"\u004D\u0059\u0053\u0045\u004C\u0046"
};
/* Try reading play.gif.
* Also this checks for PLAY, NEXT, PREV, RESET.
*/
try {
wid[0] = br.readLine();
} catch (IOException ioe) {
System.out.println("Error");
}
/* DO THE PRINTING */
for( int i = 0; i<rand; ++i) {
int j = generator.nextInt(5) + 1; System.out.println(wid[j]);
}
}
}
|
Let's see.. It loads a file called play.gif from the current working directory. Then prints every frame of it by looping.
Controls: | Code: | z for prev
x for play
c for next
v for reset |
|
|
| Back to top |
|
 |
|