Write Code Like a Pro : Create Working Applications

電子版価格
¥1,339
  • 電子版あり

Write Code Like a Pro : Create Working Applications

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 212 p.
  • 言語 ENG
  • 商品コード 9781119404170
  • DDC分類 005

Full Description


CODERS ARE ROCK STARSCoders are the people who are building the future. You can stake your own claim on the future by learning pro coding techniques. Take a look inside to figure out how and why coders think a bit differently, the basics of building a working application with a professional coding language, and how to test your app to make sure it works. Get a jump on your future as a rock-star coder today!See the big picture - get a grip on how pro coders start and finish a projectKnow the code - get your hands on a pro coding language and put it to workMake things happen - create a working application you can share with friends

Contents

Introduction xiAbout This Book xiFoolish Assumptions xiiIcons Used in This Book xiiWhere to Go from Here xiiChapter 1: Getting Started with Java and Processing 1Getting Started with Processing 2Save and Reopen Processing Programs 9Chapter 2: Writing Your First Program 13Getting to Know the Canvas 14Calling Methods in Java 21Creating Variables 23Chapter 3: Drawing with Code 25Drawing a Triangle 26Drawing a Rectangle 30Drawing a Quadrilateral 32Drawing an Ellipse 34Drawing an Arc 36Creating a Unique Drawing 38Chapter 4: Adding Color to the Canvas 39Adding Color to Your Canvas 40Learning about RGB Values 43Adding Color to Shapes 45Chapter 5: Coding Your First Animation 51Learning about Methods 52Writing Your First Two Methods 54Writing Your First Two Original Methods 57Adding Parameters to Your Method 63Chapter 6: Allowing User Interaction 67Moving with the Mouse 68Interacting with Mouse Clicks 72Making a Horizontal Slider 74Working with Conditional Statements 75Moving Shapes with the Keyboard 79Chapter 7: Coding Your First Game 85Creating a Scene 86Adding a Character to Your Game 90Adding Movement to Your Videogame 96Updating the Background 99Adding Gravity to Your Videogame 101Making Lava Pits 104Chapter 8: Making Artificial Intelligence 111Adding an Enemy to Your Videogame 112Making the Enemy Move 114Creating Your Own Java Class 116Creating a Second Java Class 123Adding Health to Your Character 128Giving Your Enemies Collision Detection 131Chapter 9: Planning Your Ninja Bird Game 135Making Sense of the Flappy Bird Code 138Outlining Your Ninja Bird 140Designing Your Java Classes 141Chapter 10: Planning Your Ninja Bird Methods 147Designing Your Setup Method 148Designing Your Draw Method 151Designing Your Collision Methods 156Adding Helper Methods 159Chapter 11: Coding the Ninja Bird Basics 165Converting Comments to Code 166Chapter 12: Coding the Final Ninja Bird Code 191Adding Randomness to Your Pipes 192Detecting Collision 194Keeping Score in Your Game 201Cleaning Up the Code 208

最近チェックした商品