Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411423 Posts in 69363 Topics- by 58416 Members - Latest Member: JamesAGreen

April 18, 2024, 02:22:22 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityTownhallForum IssuesArchived subforums (read only)Tutorials[APRILFOOLS]Programming Games with the HÄTE Framework, Part 1
Pages: [1]
Print
Author Topic: [APRILFOOLS]Programming Games with the HÄTE Framework, Part 1  (Read 3584 times)
genericuser
Guest
« on: April 01, 2009, 01:35:51 PM »



Programming Games with the HÄTE framework, Part 1

Part 1: The basics

Level: 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ÄTE

The 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ÄTE

Quote from: Small note
HÄ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 program

To 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;

Code:
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>
« Last Edit: April 01, 2009, 09:31:50 PM by genericuser » Logged
Don Andy
Level 10
*****


Andreas Kämper, Dandy, Tophat Andy


View Profile
« Reply #1 on: April 01, 2009, 02:50:49 PM »

Meh.
Logged
Zaknafein
Level 4
****



View Profile WWW
« Reply #2 on: April 01, 2009, 03:34:26 PM »

Not bad. Grin
Logged

Halcyon
Level 2
**



View Profile
« Reply #3 on: April 01, 2009, 03:54:04 PM »

Hmm looks interesting, although I don't really care much for Python, I just love tutorials too much; looking forward to more. Smiley
Logged
Zaknafein
Level 4
****



View Profile WWW
« Reply #4 on: April 01, 2009, 05:13:39 PM »

Oh shit, I totally thought this was an april's fool joke. It's real?
Logged

Gold Cray
Level 10
*****


Gold Cray


View Profile WWW
« Reply #5 on: April 01, 2009, 06:18:42 PM »

I'm pretty sure it's a joke.
Logged
Kneecaps
Level 3
***



View Profile
« Reply #6 on: April 01, 2009, 06:36:41 PM »

It was kinda cute.  I was sort of hoping for hellfire to be engulfing my screen or something else ridiculously over the top, but oh well.
Logged
genericuser
Guest
« Reply #7 on: April 01, 2009, 09:31:12 PM »

It was a (kinda late) April Fools joke. Ideally, HÄTE would've acted like a ridiculously depressed, procrastinating, and misanthropic 13 year old, but I kinda ran out of time. Shrug

Note the obvious rip-off of the LÖVE logo:



EDIT: Zaknafein; the framework is real(but severely limited). You might want to look at the output of the tutorial program, though:

Code:
HÄTE Framework, demo build v0.00666
code status: ok
file integrity: ok
python core: ok
user status:  jerk
program running

Hello, what is your name?...imbecile
?genericuser
Welcome, genericuser...moron

« Last Edit: April 01, 2009, 09:43:30 PM by genericuser » Logged
Halcyon
Level 2
**



View Profile
« Reply #8 on: April 01, 2009, 09:52:18 PM »

Well that's what I get for not properly reading the post; oh well.
Logged
genericuser
Guest
« Reply #9 on: April 01, 2009, 09:55:56 PM »

Well that's what I get for not properly reading the post; oh well.

Haha!

Oh, and also...

Quote
At the end of this
tutorial, you'll have learned to create an RPG in less than 5 years...

A free air guitar to whoever manages to get that reference  Wink
Logged
Fuzz
Guest
« Reply #10 on: April 01, 2009, 10:19:22 PM »

Quote
At the end of this
tutorial, you'll have learned to create an RPG in less than 5 years...

A free air guitar to whoever manages to get that reference  Wink
Bob?
Logged
genericuser
Guest
« Reply #11 on: April 01, 2009, 11:09:43 PM »

Quote
At the end of this
tutorial, you'll have learned to create an RPG in less than 5 years...

A free air guitar to whoever manages to get that reference  Wink
Bob?

*hands air-Stratocaster to Fuzz*
Logged
Fuzz
Guest
« Reply #12 on: April 01, 2009, 11:14:10 PM »

Quote
At the end of this
tutorial, you'll have learned to create an RPG in less than 5 years...

A free air guitar to whoever manages to get that reference  Wink
Bob?

*hands air-Stratocaster to Fuzz*
I've always wanted one of these!
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic