Skip to main content

Questions tagged [swing]

Swing is the primary user-interface toolkit in Java and is shipped with the standard Java SDK. It is contained within the package javax.swing.

4 votes
1 answer
3k views

I'm developing a 2D game in Java using Java Swing, and I've run into an issue with my player character's attack animation. The player has both movement and attack animations: Movement sprites: 16x16 ...
TheLearner14's user avatar
0 votes
0 answers
276 views

I'm working on a Java Brick Breaker game, and it's functional so far. However, I'm facing an issue with collisions. Currently, when the ball collides it simply reverses its direction. I want to ...
Zappiermike's user avatar
1 vote
0 answers
135 views

i'm pretty new to coding (about 5 months) and i've been trying to make a custom terminal for a text based RPG. so far i have the terminal working the way it should but i'm looking for ways to rewrite ...
Providence's user avatar
0 votes
0 answers
23 views

I am writing a chess game using Java and Swing, And I wanted to get the tile position on which a mouse clicked. I searched through internet, but all of them were really off, and never accurate. When I ...
anonymous's user avatar
0 votes
0 answers
83 views

I've been in trouble for weeks now and I don't understand why it doesn't work for me! I have tried so many things and I just can not understand. I try to get one player to get a knockback as soon as ...
RonDev's user avatar
  • 3
2 votes
1 answer
1k views

I am coding an Asteroids game in Java. In the real arcade game, asteroids are made of irregular shapes like this: When I code, I can only set asteroids to 1 or another specific shape, like this: ...
Laser Infinite's user avatar
0 votes
1 answer
198 views

I am developing a puzzle game in java with swing. Purpose of the game to find the all the correct pairs on the board without ur lifes reaching 0 , preety simple etc. I have a class My_Button which ...
GioZio's user avatar
  • 1
-1 votes
1 answer
389 views

I have made a game in Java using Swing for the GUI. It is a network game relying on the client-server model. Basically the game is a turned-based chess-like game. It has a connection menu, game ...
Reedy's user avatar
  • 1

15 30 50 per page
1
2 3 4 5