tile

BWidget and Tile (ttk)

Do any tcl'ers out there know what is happening with the (possible) transition of BWidget to use the newer Tile (ttk) themed widgets. I know that some work has been done in BWidget 1.8 (it does have the Widget::theme command after all), but if I try to "force" BWidget to use themed widgets, it fails for even the simplest scripts.... > t...

How can I tile videos/create a video montage?

I have four videos that I would like to tile in a 2x2 fashion to make a new video. Is there a way I can do this easily, preferably free and under Linux? I am willing to program a moderate amount, perhaps in order to interact with some library, but unwilling to write an entire video-processing program myself. You may assume that the in...

How to Generate a Map in Java?

I trying to complete a RPG game for a project, but have no idea on how to make the game map. It doesn't need to be graphical, but the code for the whole map and each tile must be correct. So far, I thought about making a non-matricial map (as request by the professor) by using an ArrayList which contain all the linked tiles. public abs...

How do I start with 3D tile based game

Hi, I'd like to write a strategy game where it's map will be 3D tiled. I've read some articles on gamedev but most of them are trying to implement 3D in 2D space. I wonder how in nowadays it is implemented using 3D cards. I wonder if using Irrlich will be an overkill (it has a nice heightmap scene node). Thanks in advance, ternyk ...

iPhone Tile-based game board question

Let's say you have a game board where you have tiles, like those where its a picture and its scrambled but you have one empty tile. So you drag a tile around until you can reassemble the picture. You have a 3x3 or 4x4 (doesnt matter) matrix with one empty square. example: http://www.kirix.com/extensions/sliding-tile-picture-puzzle/ ...

How to draw lots of bitmaps on screen in an Android game without slow performance

Hi, I want to make a tile based game for android. At the moment I am drawing each tile as a separate bitmap. I have a big for loop that reads from a string and draws different tiles depending on what character it finds to draw the level. I have allowed the user to scroll the screen using scrolling gestures. However the game is too s...

efficient TIFF tile extraction C++

I am working with 1gb large tiff images of around 20000 x 20000 pixels. I need to extract several tiles (of about 300x300 pixels) out of the images, in random positions. I tried the following solutions: Libtiff (the only low level library I could find) offers TIFFReadline() but that means reading in around 19700 unnecesary pixels. I i...

my experiment shows that rendering order affects performace alot in TBR architecture. why???

Hi, TBR chips perform HSR (hidden surface removal) before fragment processing, so only the visible pixels are rendered. This feature results in no necessary sorting opaque objects from front to back. But i have done a experiment on my iPhone 3GS. By comparing the frame time, rendering opaque objects from front to back is much faster tha...

AS3 - Tile image/movieclip along a line

If possible I would like to tile an image or MovieClip along a line using the standard moveTo() and lineTo() methods, The lines are directional so need to show something similar to >>>>>>>>>>>>>. The lines can be at any angle, so using drawRect() with beginBitmapFill() isn't an option. Also if possible I would like to have the lines anim...

Tile inside Accordion does not resize correctly

In a Flex application I'm building I have an Accordion with a Tile component as shown: <mx:Accordion id="accordionShoppingBasket" width="100%" resizeToContent="true"> <mx:VBox width="100%" height="100%" > <mx:Tile id="tileOutNow" width="100%" height="100%" horizontalGap="12" verticalGap="30" paddingLeft="20" paddingRight="20" padding...

1067: Implicit coercion of a value of type void to an unrelated type flash.geom:Matrix.

Im confused, I passed a matrix datatype into the this.graphics.beginBitmapFill(); and i get Implicit coercion of a value of type. below is my code. var theMatrix:Matrix; theMatrix = new Matrix(); this.graphics.beginBitmapFill(tileImage,theMatrix.translate(30,0)); this.graphics.endFill(); and the fol...

Culling offscreen tiles in an Isometric engine

For a university term project, I'm working on a graphical roguelike (I'm aware of the contradiction in terms :P) that uses an isometric display. What I'm trying to figure out is, since drawing all the tiles is stupidly expensive and unnecessary, I'm wanting to figure out a relatively fast algorithm to determine which tiles should be dra...

OpenGL Threaded Tile Texture Loading with Qt 4.5 / 4.6

Hi, I am trying to develop am map application for scientific purposes at my university. Therefor I got access to a lot of tiles (256x256). I can access them and save them to an QImage in a seperate QThread. My Problem is, how can I actually manage to load the QImage into a texture within the seperate QThread (not the GUI main thread)? Or...

Flex Tile that expands as items are added to it

<mx:Tile width="100%" height="20"> <mx:Button label="btn"/> <mx:Button label="btn"/> <mx:Button label="btn"/> <mx:Button label="btn"/> <mx:Button label="btn"/> <mx:Button label="btn"/> </mx:Tile> The above Tile has a height of 20. When I add 50 new buttons to it, a vertical scrollbar is added. How can I make it ...

Tile 2 popup windows

Hi all I have struggled with this for a week now and seem to hit walls everywhere I go...so here i am looking for some help with this....hopfuly it is possible. I need to TILE 2 popup windows....dont worry...not annoying ones and they will be at the request of the user ok...to the point. What im trying to is have a link on my site th...

moving iphone app background image

Hey there. I am creating my first iPhone native app (beginner Objective-C). On my main menu title screen, i would like for the background image to move slowly to the left. Is it possible to tile a background image and have it move? I'm basically trying to have my clouds drift across the background. How would you accomplish this? ...

java applet - array checking

OK so my code is here: http://www.so.pastebin.com/m7V8rQ2n What I want to know... let's say I have an image which I can redraw on tiles... is there a way to check for future tiles so I DON'T go out of bounds of my already defined tile map? Like if I were at the edge of a map... it would NOT let me go past it? Thanks. ...

NES Programming - Nametables?

Hello everyone, I'm wondering about how the NES displays its graphical muscle. I've researched stuff online and read through it, but I'm wondering about one last thing: Nametables. Basically, from what I've read, each 8x8 block in a NES nametable points to a location in the pattern table, which holds graphic memory. In addition, the ...

Visual artifacts on UIView rotation with tiled background image.

I have an iPad app with a standard UIViewController/UIView setup - all rotations are allowed. The UIView draws some tiled image as background (the tile is 256*256 pixels): - (void)drawRect:(CGRect)rect { [[UIImage imageNamed: @"Background.png"] drawAsPatternInRect: rect]; } When I turn my iPad I can see that during the rotation th...

Fadeout a tiled background image in load using JQuery

Hi, I've used JQuery in the past to fade divs in and out successfully. However, I have encountered a situation I can't quite wrap my head around: I am coding a site for a designer who has based the formatting of all the elements on a grid pattern he's created. As he wants the pattern elements to be the same size independent of the brow...