| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA
 
 
 
  
 Joined: 19 Feb 2003
 Posts: 518
 Location: Halifax
 
 | 
			
				|  Posted: Sun Nov 08, 2009 3:50 pm    Post subject: Read foemap |   |  
				| 
 |  
				| Is there such a function as "Read foemap"? 
 I'm looking for ways to store extra information in a maptile.  I won't be using the foemaps, so I thought this might be a good way.
 _________________
 Working on rain and cloud formation
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| msw188 
 
 
 
 Joined: 02 Jul 2003
 Posts: 1041
 
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| ShakeyAir 
 
 
 
 Joined: 27 Apr 2004
 Posts: 93
 
 
 | 
			
				|  Posted: Mon Nov 09, 2009 12:37 pm    Post subject: |   |  
				| 
 |  
				| Make all of your ground on Layer 1 then write the tiles on Layer 0 to store information? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA
 
 
 
  
 Joined: 19 Feb 2003
 Posts: 518
 Location: Halifax
 
 | 
			
				|  Posted: Mon Nov 09, 2009 1:46 pm    Post subject: |   |  
				| 
 |  
				| I might use harm tiles - the tiles in mind are barriers - so the player will never be able to step on it. 
 See, I'm considering making an obstacle that a hero can jump over.  I want to be able to distinguish "jumpable" obstacles from "non jumpable" ones - I thought I might do this with foemapping.  Oh well.
 
 I'd prefer letting the player jump anywhere, but that's significantly more difficult than just triggering jumps with invisible NPCs.
 _________________
 Working on rain and cloud formation
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| TMC On the Verge of Insanity
 
 
 
 
 Joined: 05 Apr 2003
 Posts: 3240
 Location: Matakana
 
 | 
			
				|  Posted: Fri Nov 13, 2009 2:38 am    Post subject: |   |  
				| 
 |  
				| You could let the player jump either whenever the tile in front of them is unpassable and a harm tile, or whenever the tiles in front of them are walkable. 
 I've been meaning to make the foemap accessible to scripts for a while. It might happen before Ypsiliform, but it doesn't sound like you really need it.
 _________________
 "It is so great it is insanely great."
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA
 
 
 
  
 Joined: 19 Feb 2003
 Posts: 518
 Location: Halifax
 
 | 
			
				|  Posted: Fri Nov 13, 2009 4:46 am    Post subject: |   |  
				| 
 |  
				| I was thinking just that - a harm tile with all 4 walls. Such a tile could only be a hoppable tile - there's no conceivable reason for such a tile to otherwise exist.
 
 Thanks.
 _________________
 Working on rain and cloud formation
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| TMC On the Verge of Insanity
 
 
 
 
 Joined: 05 Apr 2003
 Posts: 3240
 Location: Matakana
 
 | 
			
				|  Posted: Fri Nov 13, 2009 6:11 am    Post subject: |   |  
				| 
 |  
				| I know - you said it! I was just repeating you. I assumed you said because you wanted to mark all jumpable from/to tiles using the foemap. 	  | Quote: |  	  | I'd prefer letting the player jump anywhere, but that's significantly more difficult than just triggering jumps with invisible NPCs. | 
 _________________
 "It is so great it is insanely great."
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA
 
 
 
  
 Joined: 19 Feb 2003
 Posts: 518
 Location: Halifax
 
 | 
			
				|  Posted: Fri Nov 13, 2009 6:36 am    Post subject: |   |  
				| 
 |  
				| Oh - so I did. Sorry, I'm not reading previous posts, and being confusing.
 _________________
 Working on rain and cloud formation
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |