Add to Bookmark
|
Make VideoWired.com My Homepage
|
VideoWired Tools
VIDEO SEARCH
HOME
MUSIC
SPORTS
COMEDY
STUNTS
ENTERTAINMENT
NEWS
TV
NEW VIDEOS
CHANNELS
FAVORITE VIDEOS
MOST VIEWED
Categories
Home
Music
Sports
Comedy
Stunts
Entertainment
News
Television
Channels
StupidVideos.com
MySpace
Heavy
YouTube
WheelsTV
Maxim Magazine
Access Hollywood
E! Online
AOL News
AOL Music
MSN Video
TMZ.com
Oxygen
Oscar.com
Showtime
Fuel TV
EVTV1.com
Speed
NBA.com
NFL.com
NBC Sports
Fox Sports
RooTV
CBS SportsLine
CBS
CNN
NBC
Yahoo News
Business Week
Reuters
Weather Channel
Programming Robotron in C# part 4 Details
Programming Robotron in C# part 4
I'm sure you can see what's been added here! Yay! We have a player! Surprisingly the player movement and firing code was easy as pie to implement. Looks good eh? I dumped DarkGDK's frame-rate code (by turning Sync OFF) and wrote my own timing algorithm which is far, far more accurate - I want 60FPS, not the 55 or 65 that DarkGDK seems to give me. I haven't "done" collision detection yet because I'm thinking of the best way to implement pixel-perfect image collision. BlitzATron's (A Blitz Basic remake) collision detection was a bit off and I don't want this to go the same way. DarkGDK doesn't have image collision detection, so I have to write my own and it will probably be very, very, VERY slow... unpack image to memblock, get pixel value from image A, test for pixel collision in image B at position X, Y... repeat. Yuk!!! Anyway before I can get round to that my OCD is fretting over the prettiness of the code and its legibility (I plan to give the code away for a very very small fee - or maybe zilch - when I'm done so other people can learn from it. What do you think? A good idea? Or crap?) I'm seeing flaws in the code such as hard coded values that should be in constants or registry keys/ a .config file, and there's a bit of duplication in code too. Thats what happens folks when you don't design your program first and just jump right in! Just as well Visual Studio 2008 allows you to refactor quickly, because if I was back in the Turbo Pascal days I would be spending all day renaming variables and methods. I can definitely say I'm happy with how this project is going though.
Channel:
YouTube
Video Length:
44s
Date Found:
Fri, Feb 08 2008 2:24 PM
Category:
Science
Date Produced:
View Count:
30
Advertisement
Advertisement
Related Results From Science
TEDxCMU — Luis von Ahn -- Duolingo: The Next Chapter in Human Computation
From:
sciencestage.com
on
Mon, Jul 18 2011 11:15 AM
Luis von Ahn, the man who brought the world CAPTCHA and reCAPTCHA unveiled his newest and most innovative project to date: Duolingo. How can you translate the entire internet and do it for free? Duolingo will be a revolutionary product in which millions of internet users from around the world wi...
TEDxCMU — Michealene Risley -- Rape
From:
sciencestage.com
on
Mon, Jul 18 2011 11:14 AM
Michealene Risley shares with us her incredible story on how she gave up a comfortable life as a corporate executive and traveled to Zimbabwe to document some of the most heartbreaking and unfortunately events that are happening to women and little girls. Learning through her own experiences with...
Hillstranded: Monster Catching Rig
From:
Discovery Channel
on
Sun, Jul 17 2011 10:20 PM
The Hillstrand brothers assemble a heavy-duty fishing rig to go hunting after the Alaskan sea monster.
Hillstranded: Mystery Animal Expert
From:
Discovery Channel
on
Sun, Jul 17 2011 10:20 PM
Johnathan and Andy meet with cryptozoologist Paul Leblond who shares his research about the creature known as Cadborosaurus.
Alaskan Monster Hunt: Sea Monster Witness
From:
Discovery Channel
on
Sun, Jul 17 2011 10:17 PM
The Hillstrand’s adventure begins when an eyewitness shares stunning video evidence of a mysterious Alaskan sea monster.
Curiosity: John Seely Brown: Play and Innovation
From:
Discovery Channel
on
Sat, Jul 16 2011 7:33 PM
John Seely Brown discusses using play to foster innovation in this Curiosity video.
Curiosity: John Seely Brown: Play and Innovation
From:
Discovery Channel
on
Sat, Jul 16 2011 7:33 PM
John Seely Brown discusses using play to foster innovation in this Curiosity video.
Curiosity: John Seely Brown: On Curiosity
From:
Discovery Channel
on
Sat, Jul 16 2011 7:33 PM
John Seely Brown discusses curiosity in this Curiosity video.
Shark Week: Tasmanian Shark Attack
From:
Discovery Channel
on
Sat, Jul 16 2011 7:33 PM
Two surfers are enjoying a nice day on the water when suddenly a great white shark takes a bite out of one of them. Will she live?
Curiosity: John Seely Brown: 'Chief of Confusion'
From:
Discovery Channel
on
Sat, Jul 16 2011 7:32 PM
John Seely Brown discusses the 'Chief of Confusion' in this Curiosity video.
Curiosity: John Seely Brown: 'Chief of Confusion'
From:
Discovery Channel
on
Sat, Jul 16 2011 7:32 PM
John Seely Brown discusses the 'Chief of Confusion' in this Curiosity video.
Curiosity: John Seely Brown: Future of Business
From:
Discovery Channel
on
Sat, Jul 16 2011 7:32 PM
John Seely Brown discusses the future of business in this Curiosity video.
Curiosity: John Seely Brown: Technology Surprises
From:
Discovery Channel
on
Sat, Jul 16 2011 7:32 PM
John Seely Brown discusses what is surprising about technology in this Curiosity video.
Deadliest Catch 7: Brotherly Prank
From:
Discovery Channel
on
Sat, Jul 16 2011 7:32 PM
Jake Harris can’t help pulling a fireworks prank on his brother Josh while he's grooming his face.
Curiosity: John Seely Brown: Big Questions
From:
Discovery Channel
on
Sat, Jul 16 2011 7:31 PM
John Seely Brown discusses the big questions that keep him up at night in this Curiosity video.
Curiosity: John Seely Brown: Biggest Influence
From:
Discovery Channel
on
Sat, Jul 16 2011 7:31 PM
John Seely Brown discusses books that have had the biggest influence on him in this Curiosity video.
Deadliest Catch 7: Burned Out Hydros
From:
Discovery Channel
on
Sat, Jul 16 2011 7:30 PM
On the Ramblin' Rose, the burned out hydro compressor brings hauling to a stop and forces Captain Elliott to jury rig another high seas repair.
Curiosity: John Seely Brown: What Makes him Curious?
From:
Discovery Channel
on
Sat, Jul 16 2011 7:30 PM
John Seely Brown discusses what makes him curious in this Curiosity video.
Curiosity: John Seely Brown: On Creativity
From:
Discovery Channel
on
Sat, Jul 16 2011 7:28 PM
John Seely Brown discusses creativity in this Curiosity video.
Shark Week: Stalked By a Shark
From:
Discovery Channel
on
Sat, Jul 16 2011 7:28 PM
A massive great white shark notices a group of Australian fishermen and starts circling their kayaks. What happens next shocks them all.
VIDEOWIRED.COM FEATURED
Watch this week’s W...
Channel:
CBS News
Apartment buildings...
Channel:
CBS News
Murdochs testify, ...
Channel:
CBS News
Retired NFL players...
Channel:
CBS News
Laser brain surgery...
Channel:
KTRK Houston
Can Murdoch maintai...
Channel:
CBS News
Gov. Scott Walker g...
Channel:
MSNBC
News Corp. no diffe...
Channel:
MSNBC
Bachmann: Migraines...
Channel:
CBS News
AZ Rep. Trent Frank...
Channel:
MSNBC
Preview: The One Wh...
Channel:
CBS News
Jim Lee: Comics "ve...
Channel:
CBS News