- XNA 4.0 Game Development by Example: Beginner's Guide
- Kurt Jaegers
- 179字
- 2021-04-13 16:52:02
You just finished your first XNA game, that's what!
Granted it is not exactly the next blockbuster, but at only 33 lines of code, it implements a simple game mechanic, user input, score tracking and display, and clock-based timing. Not bad for a few minutes work.
As simple as it is, here are a couple of enhancements you could make to SquareChase:
- Vary the size of the square, making it smaller every few times the player catches one, until you reach a size of 10 pixels.
- Start off with a higher setting for
TimePerSquare
and decrease it a little each time the player catches a square. (Hint: You'll need to remove theconst
declaration in front ofTimePerSquare
if you wish to change it at runtime).
推薦閱讀
- Learning SQL Server 2008 Reporting Services
- AJAX and PHP: Building Modern Web Applications 2nd Edition
- Photoshop數(shù)碼攝影后期處理專業(yè)技法(第2版)
- 數(shù)碼攝影后期高手之路(第2版)
- Blender 3D Architecture, Buildings, and Scenery
- 大規(guī)模組織DevOps實踐
- 中文版Photoshop CS6全能一本通·全彩版
- Photoshop+CorelDRAW平面設(shè)計實例教程(第4版)
- MATLAB 2022a從入門到精通
- PHP 5 Social Networking
- Photoshop CC移動UI設(shè)計實用教程
- 新印象:CINEMA 4D電商設(shè)計基礎(chǔ)與實戰(zhàn)(全視頻微課版)
- Photoshop CS6案例教程(第3版)
- 中文版Photoshop CS6經(jīng)典自學(xué)教程
- Linux Shell Scripting Cookbook