Hi Ryan,
I suppose it could be done that way, but it actually forces the player 
to fill in every tial by hand. In programming there are quicker short 
cuts of doing this. For example there is something called a for loop 
which allows a programmer to give the start and end point, and it will 
loop until the entire area is drawn. here is a quick example.

for(int i = 0; i < 5; i++)
templeAddTial(0, i, wall);

With just two quick lines of code it fills in the wal coordinates from 
0-0 to 0-4. For something that short it is not a big issue to hand code 
it. How about a floor that does the entire length of the ground floor 
like from 1 to 48. Then the two lines of code are worth it. Other wize 
you are hand coding 48 different tial locations by hand.
So if I were to script the game it would basicly have to supply the for 
loop with the start and end points of the object, and the type of object 
being drawn.
In the case of ladders they have to be drawn in in two directions. They 
have a width as well as a height to be supplied.







Ryan Strunk wrote:
> Hey Tom,
>
> Having very little knowledge of programming, I can only take your word 
> as to
> the difficulty of producing a custom level editor--and I would gladly 
> do so.
> However, I wonder what would happen if you say designed everything in
> blocks. As I understand it, you only have two coordinates to deal with, so
> if you had a level that looked something like what I'll paste below, you
> could edit it pretty easily.
>
> 1.1 sand
> 1.2 sand
> 1.3 sand ladder
> 1.4 sand
> 1.5 wall
> 1.6 wall
> 1.7 wall
> 1.8 wall
> 1.9 wall
> 1.10 lava
> 2.3 ladder
> 3.1 wall
> 3.2 stone
> 3.3 stone ladder
> 3.4 stone
> 3.5 stone skull
> 3.6 stone
> 3.7 stone
> 3.8 stone
> 3.9 stone
> 3.11 stone
>
> In this scenario, you would walk forward, climb a ladder, dodge a 
> skull, and
> then jump over a gap under which was a fire pit. I placed the floor on 3
> instead of on 2, so that if a player missed the jump, there would be a 
> fun,
> uncertain moment of wondering before the ultimate boom.
> Would something like this be possible?
>
> Yours Sincerely,
> Ryan



to leave send a blank Email to: [EMAIL PROTECTED]
You can contact the list owners/moderators by Emailing [EMAIL PROTECTED]
to go nomail send a blank message to: [EMAIL PROTECTED]
change "nomail" to "normal" to resume messages. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/blindgamers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to