961 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
1
vote
16
replies
197
views
Wpf or Win Forms - tile editor
I'm trying to create a console application game to really push the boundaries of what a console game can do and look like. I'm going to need to create maps with ASCII tiles and think it could be fun ...
- reputation score 1
Score of 1
1 answer
64 views
Can I get a RuleTile to consistently rotate its texture by 90°, 180° or 270°?
In Unity, I have a RuleTile with a texture which is not rotationally symmetrical:
I want to make 3 other, similar tiles, where the texture is rotated 90°, 180° or 270°.
I could do that by making 3 ...
- reputation score 610
Score of 1
1 answer
53 views
Check if TileBase corresponds to an AnimatedTile
In Unity, how do I find which tiles in my Tilemap are AnimatedTiles programmatically?
My code looks something like this:
void FindAnimatedTiles(Tilemap tilemap)
{
for (int x = tilemap.cellBounds....
- reputation score 610
Score of 1
0 answers
53 views
Update a Tilemap Collider 2D's shape during runtime when the tiles on a Tilemap change
In Unity, I have a Tilemap with an attached TilemapCollider2D.
The TilemapCollider2D creates a Rigidbody2D in the shape of the placed tiles on the Tilemap when the scene begins.
However, it is ...
- reputation score 610
Score of 0
1 answer
97 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): ...
Score of 0
1 answer
75 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 ...
- reputation score 11
Score of 0
1 answer
71 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 ...
Score of 1
1 answer
182 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 ...
Score of 0
1 answer
95 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 ...
- reputation score 31
Score of 8
4 answers
453 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 ...
Score of 0
1 answer
91 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 ...
- reputation score 58
Score of 0
1 answer
60 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 ...
Score of 5
0 answers
188 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 ...
Score of 0
0 answers
274 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 ...