Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old December 22nd, 2002, 09:36 AM
-vertigo- -vertigo- is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Louth, Lincolnshire
Posts: 314 -vertigo- User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 24 sec
Reputation Power: 2
Where's the pretty graphics?

I have seen no posts from people who are coding for the 'graphics' prize. Did anyone focus on the look this time?

Give us a taste; I would hate to see ascii output win the prize.

Reply With Quote
  #2  
Old December 22nd, 2002, 11:52 AM
xs0 xs0 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Ljubljana, Slovenia
Posts: 760 xs0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Where's the pretty graphics?


Reply With Quote
  #3  
Old December 22nd, 2002, 06:21 PM
-vertigo- -vertigo- is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Louth, Lincolnshire
Posts: 314 -vertigo- User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 24 sec
Reputation Power: 2
RE: Where's the pretty graphics?

xs0, your graphics output is darn fine. I like the shadows when a peg jumps. I don't know how it can possibly look much better...

Reply With Quote
  #4  
Old December 24th, 2002, 05:52 AM
webhappy webhappy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Silicon Valley, CA, USA
Posts: 203 webhappy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Where's the pretty graphics?

Holy mother of pearl!

Yup, that was my original idea (a Flash movie with leet 3D effects to connect with the PHP script), but I just didn't feel like doing it during the final 48 hours

I think XS0 wins the graphics portion! Hm... I think in a year, he'll have about 9 copies of Dreamweaver MX!

Congrats!

Reply With Quote
  #5  
Old December 24th, 2002, 06:10 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Where's the pretty graphics?

and he already won a couple of them ;)

i think matt will have to change the rules that you can't win the same prize twice (what's the point ;)

just one small thing that could make it a little better. i have no idea how flash is made, but if you could put the "light source" for that pegs at a little smaller angle (it looks like it is strait above the board) the 3d effect could be more noticable when pegs jumped (light reflection would "slide" across the surface of the peg)..

anyway, it is great, but i didn't expect anything less from xs0

Reply With Quote
  #6  
Old December 24th, 2002, 08:25 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Where's the pretty graphics?

"i think matt will have to change the rules that you can't win the same prize twice (what's the point"

or, better, he can change prizes ;)

Reply With Quote
  #7  
Old December 25th, 2002, 02:26 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Where's the pretty graphics?

better for who?

your idea is better for xs0.

my idea is better of everyone else

Reply With Quote
  #8  
Old December 25th, 2002, 10:53 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Where's the pretty graphics?

I am looking forward to walk everyones code, but especially xs0's script as I'd like to know how he interacts with flash: by "coding flash" inside of PHP or by providing an extra input file for an external flash object.

Well, I don't think he did this inside of PHP, because it seems to be flash 6 in the end, but who knows ;)

Reply With Quote
  #9  
Old December 26th, 2002, 11:26 AM
xs0 xs0 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Ljubljana, Slovenia
Posts: 760 xs0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Where's the pretty graphics?

No, it wasn't build from PHP, just a normal .swf. Interfacing, BTW, is easy:

pegs.swf?board=010011...&moves=1,2,4;5,3,1;...

This sets variables "board" and "moves" inside the .swf, so you can parse them or whatnot.

Reply With Quote
  #10  
Old December 27th, 2002, 11:55 PM
webhappy webhappy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Silicon Valley, CA, USA
Posts: 203 webhappy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Where's the pretty graphics?

Then how do you get the "thinking..." part if you can't load the SWF until the PHP's done thinking?

Reply With Quote
  #11  
Old December 28th, 2002, 01:57 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Where's the pretty graphics?

Well, I guess the pegs.php opens the placeholder animation, computes the board to solve and then finally opens the displaying swf with the results. At least, that's the way that seems to be the most intuitive and simple.

Reply With Quote
  #12  
Old December 28th, 2002, 02:11 PM
xs0 xs0 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Ljubljana, Slovenia
Posts: 760 xs0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Where's the pretty graphics?

Quote:
Then how do you get the "thinking..." part if you can't load the SWF until the PHP's done thinking?


I'm not quite sure what you mean here... If you mean the "Calculating... please wait" message that is displayed before animation, that's just the Flash file computing all the frames to be displayed; it has nothing to do with actually solving the board. The board and the solution come via URL parameters to .swf...

Reply With Quote
  #13  
Old December 29th, 2002, 01:20 AM
webhappy webhappy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Silicon Valley, CA, USA
Posts: 203 webhappy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Where's the pretty graphics?

Ah...

Okay, I usually interface Flash w/ PHP by using loadvariables() within Flash.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > Where's the pretty graphics?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT