2015-02-10 14:34:23

hello
could someone please post heare/give me the download link for a game that is a maze, coded in bgt, that i can study.
i learn by looked at other works that has annotations
thanks

Nathan Smith
Managing Director of Nathan Tech
It's not disability
It's ability!

2015-02-10 15:58:53

I don't think most of the examples that come to mind would be particularly helpful.
Maybe look at The Amaze?

Here's a map from the JF IM Adventure. It's more complicated than what you're looking for, probably, but eh:

string[] diag= {

"----          ---",
"-----  ====== ---",
"------ ======----",
"--------=====----",
"----------==^^---",
"------=^^-^^^^---",
"-----==^^-{{^-- -",
"-----==^^-{{--   ",
"----:::-$-}}-    ",
"---_________-    ",
"---;:::-$--$-    ",
"--=====-^^^^-   -",
"-==/ ^^------  -",
"==/     ;_;     -",
"==/     ;_;     -"
};
GUMap@ ret=newGUMap (diag);
ret.walls="-"; ret.pits="_"; ret.lows="=:/"; ret.mids="^$"; ret.highs="{}";
ret.slopes="/";
ret.setTerrain("_", "mud");
ret.setTerrain("=", "concrete");
ret.setTerrain(";", "pecans");
ret.setTerrain(":", "pecans");
ret.setTerrain("$", "pecans");
ret.setTerrain("}", "pecans");
ret.defaultStep=fsteps[1]; ret.landing=flandings[1]; ret.grounded=fgroundings[1];
ret.bump=collide4;
ret.bumps.put( ("-"), collide3);

  TTechnique@ teq=newTTechnique(8.0);
teq.recovery=2.0;
HitArea@ ha=teq.addHitArea(0, 0, low|low2|lowest, 1, 1);
ha.xrange1=ha.xrange; ha.yrange1=ha.yrange; ha.x1=ha.x; ha.y1=ha.y; ha.z1=ha.z;
teq.damage=Math_random()*0.5;
teq.addStartSound( "sfx2/fountain-flowing1.ogg");
teq.addHitsound( "sfx2/smallsplash0.wav");
@(ret.staticMoves)=newHashMap(); ret.staticMoves.put( ("_"), teq);


@(ret.echo)=newEchoD( ("sfx2/showerDrip.ogg"), 2, ret.getHeight()/2, -7, 0.22);

看過來!
"If you want utopia but reality gives you Lovecraft, you don't give up, you carve your utopia out of the corpses of dead gods."
MaxAngor wrote:
    George... Don't do that.