958 questions
3
votes
1
answer
87
views
Player object "phases" through colidible tiles
I made a simple test map in Tiled to experiment with custom properties.
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.11.2"...
0
votes
1
answer
69
views
WearOS protolayout Material3 Text.Builder not found
I'm writing a small app for my Pixel watch. I would like to create a tile.
I'm using the following function to create the layout.
fun tileLayout(
context: Context,
deviceParameters: DeviceParameters): ...
0
votes
1
answer
59
views
How to draw clamped large isometric map with occlusion?
I want to draw a 500×500-tile scene forming a flat isometric surface.
The tile width/height ratio is w = 2:1.
The X/Y axes originate at the top-left corner of the screen.
The logical x-axis points ...
0
votes
0
answers
30
views
Can a pixijs Mesh use two texture atlases
I am creating a tile-map renderer in pixijs v8 (I do not wish to use pixi/tilemap). For performance reasons, I would like each layer of the map to be a single Mesh. However, the data for the map is ...
0
votes
1
answer
61
views
Using numpy tile to group rows by column in a python data frame [closed]
I have a dataframe that looks like this.
I would like to add a column "Tile" that looks like this
is numpy.tile() the correct tool for this?
Ultimately what I am trying to do is count the ...
1
vote
1
answer
124
views
Play tile animation when it is set
I'm trying to make a 2D game where the level dynamically grows as the game progresses. I'm using TileMapLayer s to build the tiles, and I want to have some sort of animation for the tiles as they ...
1
vote
1
answer
81
views
How to adjust tile pane and scroll pane width correctly
Hi I am trying to add Tiles into tilepane which is added into scroll pane my aim is to have three columns of cards perfectly fit horizontally I don`t want to scroll, but I am not able to figure out ...
8
votes
4
answers
409
views
UI element for an infinite scrolling image gallery for 100k images: which data structure?
I'm making an (infinite) scrollable GUI that displays 100x100px thumbnails of possibly 100 000 image files (JPG), in Python Tkinter.
The MCVE code below works:
using lazy loading: it reloads 30 new ...
0
votes
1
answer
76
views
DDA algorithm returning incorrect collision data for specific cases
I'm using my DDA algorithm for tile based collision detection so that high speed objects don't clip through collisions.
The issue is the DDA algorithm I've written is returning invalid responses in ...
0
votes
1
answer
54
views
Tiled Background Image Gets Cut Off and Dimmed During Movement
When trying to create the illusion of movement with a tiled background image, I noticed that the image gets cut off when I shift it. This happens because the offset moves parts of the image outside of ...
1
vote
0
answers
101
views
Mac Drag Windows to Menu Bar to Fill Screen Delay
In Sequoia 15.1.1, is there a way to edit the delay when dragging windows to the top to full screen them?
When I drag to the sides for 1/2 screen it's close to instant to snap, but when I drag to the ...
0
votes
0
answers
209
views
(GODOT 4.3) how to make enemy move to random tile using astargrid2d?
i have made an enemy that uses astargrid2d to move and chase the player, however i wanted to make the enemy move to a random tile when it goes to a certain state
what i tried to do is to make an if ...
1
vote
1
answer
105
views
Add a geom_scatterpie to a geom_tile - Problem while converting geom to grob
I do not fufil to use geom_scatterpie on a ggplot layer made using get_tiles and geom_tile. I always get the following error:
Error: ! Problem while converting geom to grob. ℹ Error occurred in
the ...
1
vote
0
answers
124
views
Godot 4.3 Bug with TileSet putting diagonals tiles with autotiles
I'm trying to put tilesets on a tilemap using autotiling, and I have configured the terrain using the following schema:
But it's not working as it's suppose to, for example, the diagonal
It was ...
1
vote
0
answers
59
views
How do I fix xtensor tile std::bad_array_new_length?
I want to implement np.tile(a[:,0], (len(b), 1)) in cpp xtensor and I got to the following line, with a xarray<float>(N,21) and b xarray<float>(M,21).
xt::xarray<float> res = xt::...
-2
votes
2
answers
333
views
html canvas isometric tile map rendering
am trying to achieve something like this
but i always endup tiles are not rendering when reaching to boundries , it should be drawing 200x200 map how ever it only show 17x17
the game am building is ...
0
votes
0
answers
74
views
Misaligned Tiles in Unity
I want to make a maze in Unity, so I use the Tilemap tool. I created 1 sprite for the path tile and an other sprite for the wall tile. Each sprite is 50x50 pixels, and the outline in the wall sprite ...
1
vote
1
answer
96
views
SVG Texture Tiled Plane
Im trying to tile a plane in SVG, but unfortunatley i cant use css3 perspective as its buggy in safari. I tried skewX with a fixed perspective tile. It kind of works, but i think the maths is wrong? ...
2
votes
1
answer
803
views
Godot 4 - How can I have a tile in a tilemap with a different clickable area?
I'm trying out game programming in Godot, and working on an isometric 2D game. I'm trying to add ramps and elevation, and have run into a problem. Elevation works, fine, but the clickable area for ...
0
votes
1
answer
792
views
Godot Tilemap Tile Shader | Map pixel data to tile color
I've been trying to set the color of a tile based on a color in a texture. The texture's size is equivalent to the size of the tilemap, where each pixel represents one tile. I need this info because I ...
-1
votes
1
answer
176
views
How to replace tiles in Unity?
I want to build some levels (rooms) for my game but i didn't make tile map yet. I want to build my level using placeholder images and when i make tile map i want to replace placeholders with normal ...
-1
votes
1
answer
78
views
Assign values based on reverse combination of two columns
Following this question, Multiple values in one tile with geom_tile and matrix plot, I'd like the tile attributes in agreement_num to be symmetrical, i.e. for the reverse pair combination, I'd like to ...
0
votes
0
answers
337
views
Linkage disequilibrium plot in ggplot2
everyone,
I would like some help to identify if the chart model for representing linkage disequilibrium can be created with ggplot2.
Something like in this link:
https://www.researchgate.net/...
-1
votes
1
answer
248
views
How to return array or json object using function ST_AsMVT in PostGIS
I am working in PostgreSQL/PostGIS and could you please explain me how I can return an array or json object data in the tiles using ST_AsMVT function.
Right now I am using GeoJSON to return an array ...
1
vote
0
answers
118
views
How can i blend adjacent tile borders
I'm trying to achieve a smooth transitioning effect on adjacent tiles, and I can't find a solution to this problem. How can I make it so they blend together? This asset accomplishes it well, but I ...
1
vote
1
answer
75
views
Issue with Incorrect Tile Numbers When Scaling Window in Pygame
Could you identify a bug in my code and explain why, when I use int((mouse_x + scroll_x) // (tw / MAX_COL)), int((mouse_y // th / MAX_ROW)) and hover over some tile, it consistently prints incorrect ...
0
votes
0
answers
162
views
Why aren't all the required tiles loaded at different zoom levels in Leaflet.js when you set the tileSize to 1024px?
I would like to use tiles in a size of 1024x1024 px. When I open the map and display it in Leaflet, it does not load all the required tiles at different zoom levels.
Here is a small example:
As you ...
-1
votes
1
answer
61
views
Why am I always getting 0 values for X and Y . Optimal Solution is found but always x=0 y=0?
No matter what i did the result is always the same. Im not very good with this type of programming. Can someone please help me.
The solution is always optimal but the results are the same. Thank you.
...
1
vote
2
answers
54
views
Java Tile Array Issue
I am creating a 2D TileMap.I am using integers to determine tile type. I wanted to turn every grass tile(4) that neighbours at least one ocean tile(3) in to sand(1).
public void geography() {
...
2
votes
0
answers
139
views
Finding the optimal tiling based on soft edge-matching
I have 26 hexagonal tiles.
Each tile has 6 different edges.
I have an unbounded hexagonal grid into which I can place these tiles, with tile rotation allowed.
When a tile is placed next to another ...
0
votes
2
answers
72
views
Java Generating Random Numbers
I am creating a 2d tile map with a method called generateMap.There is an array called map which keeps what tile will be on x and y locations.There are only 4 types of tiles and they are represented in ...
-1
votes
1
answer
297
views
Why does the player pass through the 3D tiles on tile map?
I have a tile map with 3D tiles which is facing according to the tile rule.
On each tile individually there is a box collider and they are marked as static objects for the occlusion culling.
My player ...
1
vote
5
answers
307
views
imageMagick: hexagonal tiling of many different images (having the same size)
I have many different PNG images all with the same size (142x163). These are badges for students. You can see three examples below, but there are more of them. I would like to create a single large ...
0
votes
1
answer
1k
views
How to create a checkerboard tile pattern in Unity?
I'm trying to create a checkerboard alternating tile in Unity, but creating it by hand is time-consuming and cumbersome.
I tried creating a rule tile to achieve the checkered effect, but it hasn't ...
0
votes
1
answer
40
views
Unexpected collapse of dimension when calling np.tile()
I am creating a multi-dimension numpy matrix like this:
a = np.array([255, 0])
mins_and_maxes = np.tile(a, [9, 2, 43])
I'm expecting mins_and_maxes to be a 4-D array with ...
0
votes
2
answers
129
views
Flutter ListTile in ListView grey in release iOS
When I build my Flutter project in release on iOS, when a ListTile appears inside the ListView I get a grey container instead of the actual listTile.
I suspect it has to do with the size of the ...
2
votes
1
answer
992
views
Android Wear OS App with Tiles and Complications
even thought I have 25 years experience with multiple backend dev languages, I'm brand new to Android and Wear OS. I'm finding it difficult to understand how to build a simple Tile and/or Complication....
0
votes
1
answer
904
views
Is there a way to force single tile request for WMSTile in react-native-maps?
The WMSTile overlay always loads all tiled images, instead of one. There is no option to load a single tile.
One of the features I must implement is a heatmap of objects on the map. Bellow are the ...
-1
votes
1
answer
105
views
Writing combinations from a list of strings where output is longer than input
What I'm trying to do is to take a list like this:
['WS','SB'...]
And write a python program that will produce an output like this for each string in the list:
['WWWW','WWWS','WWSS','WSSS','SSSS','...
0
votes
1
answer
35
views
How do I get a set of 3 tiles' position depend on direction of origin
I have a character which can do an attack on grid that always covers 3 tiles and those tiles' position should depend on the position of the character. I want to know if there is a easier/non-...
0
votes
0
answers
56
views
how to set openweather api tiles to openstreet map in android?
I'm not able to set openweather api tiles on openstreet map, I don't want to use google map if any other map available outside google map please suggest.
I want to load different types of openweather ...
0
votes
0
answers
121
views
Tile selection on a 2D ortho fake infinite grid
I cannot find the right offset to get the tile that is selected on a simulated fake grid.
I draw a grid on a texture (monogame renderTarget) that I offset in the center :
GRID_CENTER_X = (...
3
votes
1
answer
977
views
How to add a quick settings android tile immediately after app install
I'm developing an app and the main use-case is based on the activation/deactivation of its quick settings tile (the swipe down menu buttons).
I don't know how to force the inclusion of the app's tile ...
-1
votes
1
answer
214
views
Scriptable tiles
I am trying to create a game using tilemap. Walls and background are not enough for me, what can I create using tiles. I need doors, coins and similar interactive tiles. That can perform actions and / ...
1
vote
1
answer
171
views
Phaser.js the opposite of .putTileAtWorldXY
Im trying to make a terraria/papercraft like game, and i've been using tiled for the map, and i've wanted to edit the world(break, destroy blocks) and i've looked at this tutorial
https://medium.com/@...
0
votes
1
answer
491
views
Tile in QuickSettings not working after updating SDK to 31
In my application we have a Tile in the QuickSettings of Android. It is a toggleable Tile.
It was working fine in SDK 30, until I updated the SDK to 31.
I read the documentation and the changes in ...
1
vote
1
answer
519
views
Can I use drawables in Wear OS Tiles?
I'm going through the Tiles Codelab:
https://developer.android.com/codelabs/wear-tiles
I want to use drawables instead of url in the tile layout.
i replace the url with drawable (for example: "R....
-2
votes
1
answer
127
views
Tile a FBX in Unreal Engine
I have a tile FBX I designed that you can see down below. The goal of this tile was so that, like in other engines, I could have it tile itself when made larger rather than copying and pasting each ...
1
vote
1
answer
425
views
gdal2tiles.py: Slice an image with its center being (0,0)
I made a map for my Minetest Game I play.
The project is here : https://github.com/amelaye/aiwMapping I created the map with the Python script gdal2tiles, like this : ./gdal2tiles.py -l -p raster -z 0-...
-1
votes
1
answer
419
views
Change collision width and height of individual tiles in a tilemap
I'm working on a game in Phaser 3, and need to be able to change the collision width and height of the wall tiles to something other than the width of the images, but I can't find anything that doesn'...