Skip to main content
Filter by
Sorted by
Tagged with
8 votes
1 answer
7k views

I am using xmonad and I am unable to get Chromium to display videos in fullscreen. It was my impression that the following would create a very basic Manage Hook that would detect fullscreen ...
Avi Caspe's user avatar
  • 575
0 votes
2 answers
273 views

I have a segmented path/route on a map, and my software needs to request imagery from a server to completely cover the route. Image requests to the server can only be for rectangular regions (aligned ...
WeatherLightning's user avatar
1 vote
3 answers
6k views

Python noob needs some help guys! Can someone show me how to rewrite my code using loops? Tried some different syntaxes but did not seem to work! img = cv2.imread("C://Users//user//Desktop//research//...
Justin Mcgill's user avatar
5 votes
2 answers
19k views

I have been trying to make an infinite scrolling 2D background in Unity using a quad to display a Texture. My idea was to change the offset of the quad depending on the player's position. For some ...
TommyE's user avatar
  • 368
1 vote
1 answer
327 views

One has a rectangular-prism 3 dimensional space, e.g. {xmin, xmax}, {ymin, ymax}, {zmin, zmax}. The goal is to use a pre-defined "grid" of at most N cubes to maximally tile the 3 dimensional space. It ...
rveale's user avatar
  • 66
4 votes
1 answer
1k views

I am trying to make an algorithm that's able to solve a big tileset in the tiling problem. Right now it's able to find the correct Tiles to place based on their width and height, but there are some ...
L.B's user avatar
  • 139
1 vote
1 answer
124 views

I would like to have the window manager to, well, manage the plots. When I create a plot interactively in python: from numpy import arange import matplotlib matplotlib.use('Qt5Agg') import matplotlib....
Thomas Möbius's user avatar
1 vote
1 answer
737 views

Ok ill get straight to the point, here is an image of what i want to achieve: And here is an Image of what my game looks like: What I'm referring to is how the tiles seamlessly "connect". As you can ...
user3738071's user avatar
1 vote
2 answers
3k views

I have three BitmapImages that I would like to stitch together to create a composite image. The three images to be stitched together are aligned in the following way: The images are of a type System....
siavashk's user avatar
  • 434
2 votes
1 answer
734 views

I want to build a general purpose application that will be used like a IDE for anything. How can I embed an application into another application, in the runtime, like so:
ceremcem's user avatar
  • 4,392
4 votes
3 answers
2k views

Using SpriteKit, how would I tile a SKTexture that repeats itself horizontally to fill the width of the SKSpriteNode? This is what I have so far - only stretches the texture. var header = ...
Chris's user avatar
  • 461
1 vote
1 answer
2k views

I was keen to know the algorithm to solve this problem. The formal description of the problem statement is something like this-Given N(<100) and dominoes 2x1 and 1x2 I have to find the number of ...
Aditya Bahuguna's user avatar
2 votes
1 answer
5k views

I'm faced with a problem where I have to solve puzzles. E.g. I have an (variable) area of 20x20 (meters for example). There are a number of given set pieces having variable sizes. Such as 4x3, 4x2, ...
Shine's user avatar
  • 587
1 vote
1 answer
172 views

I have implemented FBLoginView on my previous version of my iOS app, suited for iOS 6&7. Recently, after the iOS 8 release, I upgraded my Facebook Framework to the latest version and below is the ...
Mehdi Badjian's user avatar
1 vote
0 answers
122 views

I'm working with a 3rd party maps vendor and would like to create an overlay for this map to display arbitrary content. I already have callout pins created, but am looking to expand that with truly ...
Alex Stone's user avatar
  • 47.4k
0 votes
1 answer
1k views

Hello I have the following two Isometric tiles: Normal tile (water): Rock tile: I need to add some tiles like the rock tile into my game board, but the problem is, that some tiles like this rock ...
Artemkller545's user avatar
0 votes
1 answer
2k views

I am tiling a surface in WebGL using a texture that requires mipmap to look good (non-negotiable). Because WebGL does not support a wrapping mode of gl.REPEAT for mipmap'ed textures, I clamp texture ...
Kasper Peeters's user avatar
0 votes
1 answer
3k views

I'm trying to learn Python and Pygame by making a 2D tile-based platformer. Right now I'm stuck on the "tile-based" part. This is my code: import pygame, sys from pygame.locals import * #Just ...
DementedDr's user avatar
0 votes
1 answer
2k views

The Perlin.GetValue(x, y, z) method of libnoise (using the C# port) returns 0's if the input values are integers. How could I go about mapping a 2D array of tiles--as the indices of an array are ...
Bagofsheep's user avatar
0 votes
1 answer
888 views

I'm looking for a solution in order to manage what tiles to delete from the user's device. The options from mapbox is the wipe all tiles or to use one of the options: FIFO = first in, first out; LRU =...
user2553832's user avatar
3 votes
2 answers
261 views

I'm trying to figure out the purpose of this piece of code, from the Tiled utility's map format documentation. const int gid = data[i] | data[i + 1] << 8 | data[...
manster's user avatar
  • 48
0 votes
2 answers
82 views

I am working with a few friends on a Dungeon-game and am working on pathfinding. The game is tile-based and the pathfinding we are planning to implement is this: class PathMapper generates a grid of ...
evangambit's user avatar
1 vote
1 answer
828 views

I am new at drawing with Cairo and GTK, and the program I'm working on needs to draw a circle tiling of 500x500 or 1000x1000. Also, there are some work to do before drawing but right now I am focused ...
Larckov's user avatar
  • 45
0 votes
0 answers
450 views

I use behave python lib to create a bdd test suite. I have following step implementation: @given(u"open new window") def step_impl(context): context.browser.execute_script("window.open()") The ...
simno's user avatar
  • 478
0 votes
1 answer
625 views

I look for this answer everywhere but I couldn't find satisfied answer so far. I have UIScrollView with Tiled UITableView as subviews. I did it like it was showed in WWDS 2012 video and it work fine. ...
Marko Zadravec's user avatar