Programming Games with the HÄTE framework, Part 1Part 1: The basicsLevel: Absolute beginner
Summary: We're going to learn how to use the HÄTE framework to
program simple programs, including some small games. At the end of this
tutorial, you'll have learned to create an RPG in less than 5 years, and
you'll be able to solve almost any programming problems with pure HÄTE.
Skills that are absolutely needed:
- None
Skills that will almost certainly come in handy:- Previous programming experience, preferrably Python
Introduction to HÄTEThe project description of HÄTE:
"
HÄTE is an innovative new programming framework based on the Python project;
it's easy to use, no matter if you're a beginner or a professional.
HÄTE features:- The power of Python
- A completely new approach to user-friendliness!
- Small size and cross-platform support
The vision of HÄTE is to create a powerful tool that will be able to replace most other programming frameworks, and to be extremely versatile; ideally, you'll be able to use HÄTE for almost everything."
Setting up the HÄTEHÄTE is currently a work in progress, so not all of the features are implemented yet. This won't be a problem in this tutorial, though.
To set up the framework, we need to download:
Once you've installed Python, go to the folder where you installed it, and copy the file
"hate.pyc" there. This is all we need to get started.
The first programTo use the HÄTE framework, we'll use the IDE IDLE. It should be packaged with Python; look in the Start Menu folder and you'll probably find it.
Once you've started up IDLE, press Ctrl+N. A new window will pop up. We are now ready to make our first program!
Then, type or copy in these lines;
from hate import *
writeToConsole('Hello, what is your name?')
user_name = getInput()
writeToConsole('Welcome, ' + user_name)
Save the file, press F5, and experience the joy of programming in HÄTE!
<note: This tutorial isn't really finished yet; I'll add more content ASAP>