958 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
1
answer
92
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
78
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
62
views
How to draw clamped large isometric map with occlusion?
I want to draw a ×ばつ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
33
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
62
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
138
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
86
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
423
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
79
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
56
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 ...
2
votes
0
answers
122
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
232
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
109
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. i Error occurred in
the ...
1
vote
0
answers
129
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
65
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::...