Game Programming at scriptedfun » screencasts http://www.scriptedfun.com Game Programming for Beginners: Video Tutorials, Source Code, and Articles Thu, 11 Sep 2008 17:45:09 +0000 en hourly 1 http://wordpress.org/?v=3.3.1 http://creativecommons.org/licenses/by/2.5/ Video Tutorial 4 – Arinoid – Ball Physics http://www.scriptedfun.com/video-tutorial-4-arinoid-ball-physics/ http://www.scriptedfun.com/video-tutorial-4-arinoid-ball-physics/#comments Thu, 08 May 2008 07:07:20 +0000 Chuck http://www.scriptedfun.com/video-tutorial-4-arinoid-ball-physics/ arkanoid clone ball physics

At last, video tutorial 4 is here! I would like to apologize for the terrible delay, and thank you so much for your patience! :)

You may notice some mistakes in the screenshots though – in particular when the code that converts between integers and floating point numbers is displayed. The highlighted code is correct, but the way that it appears in the following slides (without the float and int conversions) is incorrect.

The transcript for this will be available shortly, and the fifth video tutorial is in the works. Thank you so much, especially to all those who have left comments of encouragement! They really keep me going :) . I hope you find these helpful!








Source Code for Video Tutorial 4

]]>
http://www.scriptedfun.com/video-tutorial-4-arinoid-ball-physics/feed/ 12 http://creativecommons.org/licenses/by/2.5/
Video Tutorial 3 – Arinoid – The Paddle http://www.scriptedfun.com/video-tutorial-3-arinoid-the-paddle/ http://www.scriptedfun.com/video-tutorial-3-arinoid-the-paddle/#comments Thu, 08 May 2008 07:05:27 +0000 Chuck http://www.scriptedfun.com/?p=24 Finally! Today, we will be adding the first sprite in our game, the paddle, which is controlled using the mouse. At this point, we will be able to benefit from the setting-up that we have done in the first two screencasts.

paddle sprite








screencast 3 source

]]>
http://www.scriptedfun.com/video-tutorial-3-arinoid-the-paddle/feed/ 11 http://creativecommons.org/licenses/by/2.5/
Video Tutorial 2 – Using Sprite Sheets and Drawing the Background http://www.scriptedfun.com/video-tutorial-2-using-sprite-sheets-and-drawing-the-background/ http://www.scriptedfun.com/video-tutorial-2-using-sprite-sheets-and-drawing-the-background/#comments Thu, 08 May 2008 07:03:35 +0000 Chuck http://www.scriptedfun.com/?p=16 To run the code for this screencast, you will need to have a data subdirectory containing the Arinoid sprite sheet file. You can easily fulfill this requirement by downloading the arinoid source from the post on Arinoid. Also, this will be needed for most, if not all, of the upcoming screencasts.

tiled background

If you want to follow along the screencast, you will need an image editor that will allow you to select subregions of images and get the size and location of the selected subregion. To do this, I use The GIMP, a free and full-featured image editor. Of course, you can use any image editor that you’re comfortable with. In fact, I would love to know about your image editor suggestions :) !

By the way, once you view the screencast, you may notice that I select regions using The GIMP’s Crop and Resize Tool. Although it does the job, I still think that there’s a tool that’s more appropriate for the job. Can you help me out on this :) ?

I know I haven’t posted the transcript for the first screencast yet ;) , but I plan to do so soon, and the same goes for this screencast :) .








screencast 2 source

]]>
http://www.scriptedfun.com/video-tutorial-2-using-sprite-sheets-and-drawing-the-background/feed/ 7 http://creativecommons.org/licenses/by/2.5/
Video Tutorial 1 – Making a Barebones Pygame Program http://www.scriptedfun.com/video-tutorial-1-making-a-barebones-pygame-program/ http://www.scriptedfun.com/video-tutorial-1-making-a-barebones-pygame-program/#comments Thu, 08 May 2008 07:01:54 +0000 Chuck http://www.scriptedfun.com/?p=7 I think that it could be easier to learn game programming through a video tutorial – you’re actually able to see the code unfold before your eyes, with audio explanations – rather than through reading – although I think that reading is great and won’t be replaced anytime soon. Probably 90% of what I know about programming I learned through reading.

barebones pygame program

With this in mind, I’ve prepared a video tutorial explaining how to make a basic Pygame application from scratch. It’s only 2.3 MB, and according to Martindale’s Download Time Calculator, should only take 5 minutes and 29 seconds to completely download over a 56K modem connection. The video itself is about 7 minutes and 13 seconds long. The video was made using the freeware app DebugMode Wink.

This code and probably all the code that I’m ever going to write in Pygame is based heavily on the Aliens example included in the Pygame source distribution and Line By Line Chimp Example. I encourage you to grab a copy of the source distribution – you can learn a lot just by reading the code.

I will post a transcript of the video soon for those who cannot view the video or for those who prefer to read.








Screencast #1 Source Code

]]>
http://www.scriptedfun.com/video-tutorial-1-making-a-barebones-pygame-program/feed/ 16 http://creativecommons.org/licenses/by/2.5/
1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100|101|102|103|104|105|106|107|108|109|110|111|112|113|114|115|116|117|118|119|120|121|122|123|124|125|126|127|128|129|130|131|132|133|134|135|136|137|138|139|140|141|142|143|144|145|146|147|148|149|150|151|152|153|154|155|156|157|158|159|160|161|162|163|164|165|166|167|168|169|170|171|172|173|174|175|176|177|178|179|180|181|182|183|184|185|186|187|188|189|190|191|192|193|194|195|196|197|198|199|200|201|202|203|204|205|206|207|208|209|210|211|212|213|214| buying hydrochlorothiazide on line tablets buy trentaltricor and cost karela order online canada coumadin online pharmacy without a prescription buy generic trental no prescription cheapest bactrim pills bystolic buy online cheap buy generic hydrochlorothiazide xenical buy buy pills accutaneAccutane Online Doxycycline online Buy Cheap Lexapro Online No Prescription Prednisone Online Buy Accutane No Prescription