newcreature / alex-4-pe Goto Github PK
View Code? Open in Web Editor NEWPortable Edition of Alex 4
License: GNU General Public License v2.0
Portable Edition of Alex 4
License: GNU General Public License v2.0
/************************************************************** * _____ __ _____ * * / _ \ | | ____ ___ ___ / | | * * / /_\ \ | | _/ __ \ \ \/ / / | |_ * * / | \| |__\ ___/ > < / ^ / * * \____|__ /|____/ \___ >/__/\_ \ \____ | * * \/ \/ \/ |__| * * * ************************************************************** * (c) Free Lunch Design 2003 * * Written by Johan Peitz * * http://www.freelunchdesign.com * ************************************************************** * This source code is released under the The GNU * * General Public License (GPL). Please refer to the * * document license.txt in the source directory or * * http://www.gnu.org for license information. * **************************************************************/ PORTABLE EDITION NOTES Alex 4 PE is a source port of the original Alex 4 with the goal of making the game completely portable and able to run on modern systems. This edition of the game also includes some enhancements when built with Allegro Legacy. INTRODUCTION Nine times out of ten when I start to write a game, I have planned to make a small game. Nine times out of ten, the game grows halfway through the code into something to big for the code to hold. Usually at this point, I'm to lazy to refactor the code so that it can handle the scaling. Instead I hack. Hacking is fun, but not very good practice. Still, if it looks right on the screen, then it is right. Right? :) Anyway, Alex4 started as a small game and grew from there. Hence, the code isn't exactly great at some places. Still I think it's quite ok in most places. What I'm trying to say is that if you're going to learn from this code, don't take up the bad parts, and don't look at it as the only way. It's just my way. LICENSE Alex the Allegator 4 is a small platform game, created to match the retro style of Nintendo GameBoy games. If is Copyright (C) Johan Peitz, Free Lunch Design. This source code is free; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This source code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA COMPILING If you're not content with just reading the code and want to compile it, here's how. First you need the libraries that Alex4 uses. Allegro and DUMB, get them on their web sites: http://alleg.sf.net and http://dumb.sf.net How to install and configure the libraries should be covered in the help files that comes with the download of each library. There, having installed libraries, just compile all the source files. Make sure that you maintain the directory structure so that the c-files can find the h-files that they need (mostly in the data/ directory). If you have any question I suggest that you visit the Free Lunch Design forum, see below. Please bear in mind that this code is supplied for learning and it is can not be supported (by Free Lunch Design) in any way. AUTHORS AND CONTACT Free Lunch Design is an independent game developer from Sweden. Our aim is to create small, high quality games, where gameplay is in focus. Alex the Allegator 4 was written and designed by Johan Peitz. Johan Peitz also drew the graphics. The fabulous music was composed by Anders Svensson who also created the sound effects. Visit us on the web: http://www.freelunchdesign.com If you have comments, bug reports, or just want to ask something you can contact Free Lunch Design by e-mail. We do however get a lot of mail and it might take a while before we answer, so if you have a question please check the online faqs and forums first. E-Mail: info (at) freelunchdesign (dot) com If you want to support Free Lunch Design in monetary ways, please enter our web site (see above) and click our sponsors a few times. You can also donate money from the site via PayPal. - the end -
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.