Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graphic Design (https://forums.graalonline.com/forums/forumdisplay.php?f=9)
-   -   Rock-Paper-Scissors (https://forums.graalonline.com/forums/showthread.php?t=70142)

alarid0 11-16-2006 12:41 PM

Rock-Paper-Scissors
 
1 Attachment(s)
Huh...I never thought to show this off untill now...
Attatched is a rock-paper-scissors program I had to do for a visual basic class. I felt like going all out with it...so I made it pretty :) I knew I wasn't going to get any extra credit for it, and yet... I pulled an all nighter to do all the art and extra stuff in vbasic for it lol

I wanted to add huge dramatic sound effects to it...but I don't know how to mess with directx controls and all that to get wav files to play

Sam 11-16-2006 02:30 PM

That's really cool, you should ask Stefan, I'm sure he can give you hints how to apply sound.

coreys 11-16-2006 04:03 PM

Looks pretty awesome.

lancelot9 11-16-2006 04:18 PM

man... that class was ***..
i dropped it first week.. cuz when i got home and tried to DL it to practice it gave me over 120 trojans.. thats including trojan DLers that just gave me more.. that was all i could stand...

not to mention the techer that didnt ever teach us anything but instead just show off all the cool stuff he could make with it and make the majority of the class feel like idiot.. but w/e.

i cant get the program to work but the graphics look real nice

hampy 11-16-2006 06:08 PM

Quote:

Originally Posted by lancelot9 (Post 1244051)
i cant get the program to work

Same

Galdor 11-16-2006 06:18 PM

... everyone knows alarid cant script you have to use your imagination of course.

Stephen 11-16-2006 06:22 PM

Quote:

Originally Posted by Sam (Post 1244020)
That's really cool, you should ask Stefan, I'm sure he can give you hints how to apply sound.

I'm sure that Stefan would stick his nose up at Microsoft Visual Basics :)

Sam 11-16-2006 06:25 PM

1 Attachment(s)
Quote:

Originally Posted by lancelot9 (Post 1244051)
man... that class was ***..
i dropped it first week.. cuz when i got home and tried to DL it to practice it gave me over 120 trojans.. thats including trojan DLers that just gave me more.. that was all i could stand...

not to mention the techer that didnt ever teach us anything but instead just show off all the cool stuff he could make with it and make the majority of the class feel like idiot.. but w/e.

i cant get the program to work but the graphics look real nice

Klick on one of the hand symbols on the left.

Tom 11-16-2006 08:34 PM

Dude that is awesome, and the hand graphics is so damn hot. Duuudddee

WanDaMan 11-16-2006 09:13 PM

:O! Your graphics make the program look a lot more complex. I love it!

lancelot9 11-16-2006 11:56 PM

i mean by i cant get it to work
as in it wont open

Chicken_l33t 11-17-2006 12:51 AM

Amazing graphics man :D not a hard program to make, but amazing graphics. You might need the VB runtimes for this to work.

http://www.microsoft.com/downloads/d...DisplayLang=en

Stephen 11-17-2006 01:06 AM

I'm going to move this to the Lounge so that the external URL isn't being broken and so it gets more exposure :)

Myomoto 11-17-2006 03:06 AM

Quote:

Originally Posted by Stephen (Post 1244246)
I'm going to move this to the Lounge so that the external URL isn't being broken and so it gets more exposure :)

That's ok, except you put it in the sissy section.

alarid0 11-17-2006 03:14 AM

RPS (Now with 100% less exe!!)
 
Oops :X
b) To safeguard against malicious users, all members are forbidden from attaching executable files to their posts, linking directly to executables or linking to a page dedicated to the download of executables.

....Sorry!

Hadn't occured to me untill now untill the last thread was mysteriously moved
At which point I dug into the rules to see if that was why

So anyways, I took a screenshot and made the animations into gifs
http://www.voguehost.com/ims/u/thepe...6/rps-rock.gifhttp://www.voguehost.com/ims/u/thepe.../rps-paper.gifhttp://www.voguehost.com/ims/u/thepe...s-scissors.gif
http://www.voguehost.com/ims/u/thepe...s-screeny1.jpg

bgumeny 11-17-2006 03:19 AM

I like it. Does the AI catch on to your patterns or does it just play randomly?

Infernix 11-17-2006 03:35 AM

...I like the hands and the pixel art, how did you setup the computer player.

Tom 11-17-2006 03:44 AM

the hand anatomy is perfect.

Crono 11-17-2006 03:49 AM

really nice

alarid0 11-17-2006 03:53 AM

Quote:

Originally Posted by Infernix (Post 1244297)
...I like the hands and the pixel art, how did you setup the computer player.

The computer player ran the cycle of showing the frames for the hand slamming down, and at the second to last frame chooses a random number which is tied to rock, paper, and scissors; 1 2 and 3...or was it 0 1 and 2? It chooses on the second to last since that frame of animation is different for each choice...that way I didnt have to have the same animation cycle written in the code in 3 different places. Anyways, in the end the last frame (and result of the match) is determined by the number it chose vs your number (if computernumber= 1 and playernumber = 2 then <this happens>)

Quote:

Originally Posted by Tom (Post 1244302)
the hand anatomy is perfect.

Thank you ^^
Although...heh...if I remember right, lay the paper right over the scissors and youll see the fingers are different lengths
If you want to get really really picky :P

Stephen 11-17-2006 04:24 AM

Damn, those are some nice hand graphics.

Goboom 11-17-2006 04:32 AM

Quote:

Originally Posted by alarid0 (Post 1244308)
The computer player ran the cycle of showing the frames for the hand slamming down, and at the second to last frame chooses a random number which is tied to rock, paper, and scissors; 1 2 and 3...or was it 0 1 and 2? It chooses on the second to last since that frame of animation is different for each choice...that way I didnt have to have the same animation cycle written in the code in 3 different places. Anyways, in the end the last frame (and result of the match) is determined by the number it chose vs your number (if computernumber= 1 and playernumber = 2 then <this happens>)


Thank you ^^
Although...heh...if I remember right, lay the paper right over the scissors and youll see the fingers are different lengths
If you want to get really really picky :P

My guess would be 0,1,2, as that is how most programming languages arrays start at 0 and work up. 0=1, 1=2, 2=3, etc...

Zideruic 11-17-2006 04:38 AM

http://www.voguehost.com/ims/u/thepe...6/rps-rock.gif

OBJECTION!

xAndrewx 11-17-2006 08:49 AM

Amazing o_O
That looks like a program you would actually buy...

Magadal 11-17-2006 03:33 PM

Lol Andrew I thought exactly the same :P Sell it for half a dollar or something like that ;]

Stephen 11-17-2006 04:30 PM

Recode it in C++ and add support for network playing, sell it for $5 :)

Sam 11-17-2006 04:41 PM

Moved the first thread from the lounge and merged it with the second one.

Joey_P2P 11-18-2006 12:43 AM

1 Attachment(s)
Easy ;)

Twinny 11-18-2006 10:52 AM

Quote:

Originally Posted by Joey_P2P (Post 1244578)
Easy ;)

You probably just memory edited it >_<.

Nice work. Add a winsock control and you can have internet matches. Depending on how far you want to take this, you could make a simple server which can match games up and such :).

alarid0 11-18-2006 08:40 PM

Oh geez this is going way beyond my capabilites...lol
If anyone wants to do any of what was said, youve got my full permission to take the art xD

Just give me 20% of each sale ;D


All times are GMT +2. The time now is 01:03 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.