tile map scrolling Programming Game Development by junioryz Hi, I need to know how to implement scrolling on a isometric tile map I made in XNA. Its a diamond map, drawn using this tile plotting method: posX=(MapX-MapY)*TileWidth/2; posY=(MapX+MapY)*TileHeight/2; thank you Tile an animated GIF image Programming Software Development by ChaosKnight11 Hi, I have a fancy animated GIF loader that I want to use in projects, but the problem is that the image is only 48x22. Is there some way I can tile the image horizontally to lengthen it? The only solutions I found on the web was with bitmap images. Any ideas? Thanks! Active Tile not moving even though I am changing it's position Programming Software Development by Doogledude123 … private BufferedImage image; private Difficulty diff; private Tile[][] tiles; private Tile activeTile; public int diffWidth; public int diffHeight…= tiles[toRemoveX][toRemoveY]; revalidate(); } private void swap(Tile from, Tile to) { tiles[from.getPosX()][from.getPosY()].setPos(to.… Please help me, Cannot read field "image" because "this.tile[tileNum]" is n Programming Software Development by Hoàng_32 …public class TileManager { GamePanel gp; public Tile[] tile; public int mapTileNum[] []; public TileManager(GamePanel…uTool = new UtilityTool(); try { tile[index] = new Tile(); tile[index].image = ImageIO.read(getClass… Re: Active Tile not moving even though I am changing it's position Programming Software Development by JamesCherrill …as to how often you need to know which Tile is in a given position, as opposed to …where a given Tile is. If I'm wrong the keep the …cases where you just have a reference to a Tile without it's x,y context and you … use public getX() and getY() methods in the Tile class that search the array to return the current … Switching List View From Tile To Details Issue Programming Software Development by Unhnd_Exception … the list view has groups and the Default View is Tile, when changing the view to Details the first Group is… of 1,1. When switching back to Tile View setting the Tile Size to the Global Tile Size Stored. Interested if someone can… group, and add 1 column. Set the default View to Tile. In a button click event change the view to Details… Re: Active Tile not moving even though I am changing it's position Programming Software Development by Doogledude123 … tiles to get the position's of the active tile and the tile that should be moved. Now that I think about… Re: Please help me, Cannot read field "image" because "this.tile[tileNum]" is n Programming Software Development by Dani I see you have the code: g2.drawImage(tile[tileNum].image, (int)screenX, (int)screenY, null); However, where do you set the value of `tile[tileNum]`? I see you have int tileNum = mapTileNum[worldCol] [worldRow]; Do you mean to say: g2.drawImage(tileNum.image, (int)screenX, (int)screenY, null); Re: Please help me, Cannot read field "image" because "this.tile[tileNum]" is n Programming Software Development by JamesCherrill When you call setup you always pass 0 as the index, so all the Tile instances are stored in tile[0] and all the other elements of tile are still null. Re: Active Tile not moving even though I am changing it's position Programming Software Development by mKorbel … part of paintComponent again, swap with content in the concrete Tile, never to moving with (you missing concept with JComponents ZOrder… Re: Switching List View From Tile To Details Issue Programming Software Development by Unhnd_Exception …are groups and the initial state is Tile Switching from Tile to Details is causing the Group …System.EventArgs) Handles Me.Load ListView1.View = View.Tile Dim sDir As String = "C:\\"… = View.Details Case 1 ListView1.View = View.Tile End Select End Sub [/code] Run that and… Re: Switching List View From Tile To Details Issue Programming Software Development by zinnqu …are groups and the initial state is Tile Switching from Tile to Details is causing the Group …System.EventArgs) Handles Me.Load ListView1.View = View.Tile Dim sDir As String = "C:\\"… = View.Details Case 1 ListView1.View = View.Tile End Select End Sub [/code] Run that and… How would I make a tile map, that is easily alterable? Programming Software Development by chris99 … the position of the character in the list with the tile size (16) to place them on the background. y = 0… line[i] = ........ repeat for each different tile. As it stands I only have the one tile right now. How would I implement… A little help with scrolling tile based collision. Programming Game Development by Pikachumanson … wanted to ask you is how do you go about tile based collision? Let's say I got my scroll map… array? I don't any experience with working with scrolling tile maps so any help would be appreciated. Oh yeah, and… he hasn't gotten back to me yet. [code] //my tile array int TOWN[TOWN_MAPWIDTH*TOWN_MAPHEIGHT] = { 0,1,1,1,1… Re: How would I make a tile map, that is easily alterable? Programming Software Development by chris99 I can make it place one tile, but how do I alter it to draw all the … Learning to make a tile map in vb.net Programming Game Development by Jaav … don't understand is why are there gaps between every tile? Second thing I wonder is why is there only 6… if I'm on the right way to making a tile map or if I'm doing it completely wrong etc… Re: Learning to make a tile map in vb.net Programming Game Development by Jaav …'ve gotten further now with the learning of making a Tile Map.. Thanks to a very good tutorial. Ran into a…] I'm so close to finally being able to make tile maps it feels like it's just this error in… Code for getting tile info Programming Game Development by CoolGamer48 … with getting the left and top values for a tile from a tile set. A book I have gives these two formulae… Re: Code for getting tile info Programming Game Development by CoolGamer48 Hmm.... ya, you're right. The example started with tile 1, though not 0, so that was a problem, and there was no mention of using floor() (the book uses C). Guess that might be part of the reason that version of the book is discontinued... Re: Is it feasible to build Tile Base Game Engine using Java ? Programming Game Development by jtfrench I agree with peter_budo, in that if you're looking for a javaSCRIPT tile-based game...well that's a whole other story, and quite frankly I wouldn't bother. A Java tile-based game though is entirely feasible. Check out a java based game engine called GTGE (Golden T Game Engine). It's all right there. -jason ([url]www.fantasyhiphop.com[/url]) windows tile view Hardware and Software Microsoft Windows by iceo in windows xp the default view for any exisiting folders and new folders is the tile view.how can i change it so the exisiting view is the icon view?. I need a simple tile based map editor, that will output to a text file. Programming Game Development by jmjmjmjm …; or "1" or "!") stands for a tile or sprite. Here's a picture of what one of… Re: I need a simple tile based map editor, that will output to a text file. Programming Game Development by i_Robot have you tired Tile studio check out [url]http://tilestudio.sourceforge.net/[/url] hope this helps Is it feasible to build Tile Base Game Engine using Java ? Programming Game Development by ericpaul Hey pal, It would be great if you give your suggestions and ideas on Java script Tile base game engine. You know.. with click to walk (or keyboard), inventory, grab items, talk to people, exp, levels, etc. Any Good Ways, any help would be appreciated. Thanks, Eric Paul any tile map editor Programming Game Development by android_gl I cant seem to find a tile map editor software where you can click and drag tiles … Re: any tile map editor Programming Game Development by mrnutty I use that mapeditor, but usually export it to json. Actually exporting it to json is what you need. It has a "data" attribute which is an array of numbers like you have above, and each number represents a tile. Re: tile map scrolling Programming Game Development by TheRealOrder I have not used XNA but have written many games with different kinds of maps and data structures. It looks like posX and posY are screen coordinates and MapX and MapY are map coordinates of individual tiles. To scroll your map were your view (camera) is fixed, you offset your map screen location something like this: posX=(MapX-MapY)*TileWidth/… Re: Tile an animated GIF image Programming Software Development by pritaeas I think you'd just need to put several images next to each other (dynamically), until you fill your required width. Re: 2d array tile map Programming Software Development by JamesCherrill If the player is in one tile, and the wall is in another tile, and the Rectanges correspond to whole tiles, and one… tile cannot be both 1 (player) and 2 (wall), then I … Re: 2d array tile map Programming Software Development by game06 ah ok. how to check for collision? i just learn about tile map collision from google and having hard time understanding other people code. also i was using intersect method on google people were using it.