View Full Version : Some help making a game engine
Hi_Nu
March 11th, 2004, 07:05 PM
Hello All, I am making a game with the famed porpous2 (Hence all the site stuff he has put on) so, I was wondering how I can make a tile based 2D that can have hills, plains, and other turrane. I have a VERY bad game engine and was wondering if you can spuce it up and make it a powerfull tool in the tool box
function map(depth, xpos, ypos, spacing) {
for (v=1; v<500; v++) {
ypos++;
_global.tile = this.attachMovie("tile", "tile"+depth, depth++);
tile._x = spacing*(xpos);
tile._y = spacing*(ypos);
if(tile._y>Stage.height){
break;
}
}if(tile._x>stage.width){
_global.endMap = true;
}
_global.dep = depth
} (yes this is VERY bad, but it is a start)
P.S I love this smiliey :link:
porpous2
March 11th, 2004, 07:09 PM
im not... famed...... what makes you think of that??
Digigamer
March 13th, 2004, 03:00 AM
well you have 278 posts and he has 5, that makes you famed :P
SeiferTim
March 13th, 2004, 09:57 AM
...perhaps he means "infamous"...? ;P
Marz
March 14th, 2004, 12:28 AM
So... If 200-300 posts makes you famed....
Then what the hell am I? *lol*
SeiferTim
March 14th, 2004, 02:11 PM
A SupaStar :D
porpous2
March 15th, 2004, 09:24 AM
lol, though you guys just ruined this thread... whatever. (though i started ruining it:) :thumb:
SeiferTim
March 15th, 2004, 01:52 PM
You mean, this thread had a point to begin with?
Sorry... just havin' a little fun :D
Are you trying to make a tiled based engine that can have different heights?
bombsledder
March 15th, 2004, 07:38 PM
hey porpous how do you get the animation type avatar. cause wvery time i try doing it. it says i can only load like jpegs.
please dont laugh "/
porpous2
March 18th, 2004, 10:44 PM
you did it in flash right? export the file as an animated gif and then try to import that thing...
porpous2
March 18th, 2004, 10:45 PM
why would i laugh at you... i cant make a footer, i have no clue how to put it in :)
SeiferTim
March 18th, 2004, 10:59 PM
There is a footer topic in one of the forums that explains it....
bombsledder
March 19th, 2004, 07:32 PM
hey thanks.. um to add a footer just put in your signature section
bombsledder
March 19th, 2004, 07:33 PM
oops
bombsledder
March 19th, 2004, 07:33 PM
errrr...
//not part of the code//notpart of the code
bombsledder
March 19th, 2004, 07:34 PM
kill
[swf ="http://www.angelfire.com/ak5/footer/footer.swf height=60 width=290"] [/ swf]
bombsledder
March 19th, 2004, 07:36 PM
finally
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.