# Some help making a game engine

**URL:** <https://forum.kirupa.com/t/some-help-making-a-game-engine/45204>\
**Category:** programming\
**Created:** [March 11, 2004, 11:05pm UTC](https://forum.kirupa.com/t/some-help-making-a-game-engine/45204 "2004-03-11T23:05:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hi\_Nu](https://avatars.discourse-cdn.com/v4/letter/h/91b2a8/32.png) [@Hi\_Nu](https://forum.kirupa.com/u/Hi_Nu)\
**Post date:** [March 11, 2004, 11:05pm UTC](https://forum.kirupa.com/t/some-help-making-a-game-engine/45204/1 "2004-03-11T23:05:22Z")

</div>

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  
[AS]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

}[/AS] (yes this is VERY bad, but it is a start)

P.S I love this smiliey 🔗

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 13, 2004, 7:00am UTC](https://forum.kirupa.com/t/some-help-making-a-game-engine/45204/2 "2004-03-13T07:00:18Z")

</div>

well you have 278 posts and he has 5, that makes you famed 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 13, 2004, 1:57pm UTC](https://forum.kirupa.com/t/some-help-making-a-game-engine/45204/3 "2004-03-13T13:57:25Z")

</div>

…perhaps he means “infamous”…? 😜

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 15, 2004, 1:24pm UTC](https://forum.kirupa.com/t/some-help-making-a-game-engine/45204/4 "2004-03-15T13:24:39Z")

</div>

lol, though you guys just ruined this thread… whatever. (though i started ruining it:) :thumb:
