background preloader

Languages

Facebook Twitter

Invent Your Own Computer Games with Python - Chapters. Chapter 1 Read online: Chapter 1 - Installing Python Videos: Chapter 2 Read online: Chapter 2 - The Interactive Shell Chapter 3 Read online: Chapter 3 - Strings Download source: hello.py Copy source to clipboard: Use the online diff tool to find typos in your code: hello.py Chapter 4 Read online: Chapter 4 - Guess the Number Download source: guess.py Use the online diff tool to find typos in your code: guess.py Chapter 5 Read online: Chapter 5 - Jokes Download source: jokes.py Use the online diff tool to find typos in your code: jokes.py Chapter 6 Read online: Chapter 6 - Dragon Realm Download source: dragon.py Use the online diff tool to find typos in your code: dragon.py Chapter 7 Read online: Chapter 7 - Using the Debugger Chapter 8 Read online: Chapter 8 - Flow Charts Chapter 9 Read online: Chapter 9 - Hangman Download source: hangman.py Use the online diff tool to find typos in your code: hangman.py Chapter 10 Read online: Chapter 10 - Tic Tac Toe Download source: tictactoe.py Chapter 11 Download source: bagels.py.

Motion and Forces on Stencylpedia. By Jon (Updated on 2014-01-26) Contents How Actors Move and Rotate Position Velocity (Speed) Forces (Pushing) Velocity vs. Forces Direction Turning Speed Twisting How Actors Move and Rotate What good is a physics game if you can’t make things move? In Stencyl, you can move an Actor in one of three ways: Setting the Actor’s position Setting the Actor’s velocity Pushing the Actor in the direction you’d like it to move On top of this, you can rotate an Actor in a similar set of ways: Setting the Actor's angle Setting the Actor's turning speed Twisting the Actor in the direction you'd like it to rotate Position The position of an Actor is its location within a scene, measured in X (horizontal) and Y (vertical) coordinates. (0,0) corresponds to the top left corner of the scene.

How To: Setting an Actor's Position You can set an Actor’s position using the “Set X/Y to” block under Actor > Position. How To: Getting an Actor's Position Gotcha: Setting Position = Teleporting Velocity (Speed) Forces. So you want to be a Programmer... So you think this whole programming thing is pretty cool, and you'd like to be a part of it, huh? One thing I often like to tell people right out of the gate is this: if you love programming, then this is the absolute best job you can have; it would be hard for me to imagine anything I would really rather do than create. On the other hand, if you just like programming, or are indifferent, this is the absolute worst job you could possibly find because you're entering into a competitive arena where obsession is almost a prerequisite.

Software development is almost like a race, where your life is on the line, you're running as fast as you can, and you have no idea what the terrain in front of you looks like; but with almost total abandon you plunge ahead just as fast whether you face an open plain or cliff. Oh, and if you stumble, it's all over, and it's all your fault. College is a great place to learn about fields, but technology is not one of them. Reading is fundamental... KickJava.com: Java API By Example, From Geeks To Geeks.

C++

C#