This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!

Domingas Pleckauskas

Greenhorn
+ Follow
since Mar 06, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Domingas Pleckauskas

Hi Josh,

I have not read any books on Java but I am planning to as I am just finishing my first year at university. The more Java knowledge I can get the better.

Thank you for coming by.
1 year ago
Hi,

I'm new to web development and have been coding for around 7 months now, not long at all and am currently programming a personal website. I have added images and text, made a parallax effect. I am attaching my code if anyone could read it and judge it as well as give back feedback. I want to get better at coding and I think learning from people who have been doing it much longer than me is helpful. Bare in mind I have not started adding any JavaScript but do intend to do so.

Thank you in advance!

HTML:


Hi Piet,

The solution is exactly what I was looking for. However I have no idea how to implement it into my game I have uploaded a .zip of the whole game so you or anyone who wants to help can have a good look.

https://www.dropbox.com/s/f6m0tqk32tbyqbc/MyGame.zip?dl=0

Thank you so much for all the help you've provided so far. I should have uploaded my project from the very beginning saves a lot of guess work for anyone trying to help.
1 year ago
Thanks for the response. I have currently got a line that follows the mouse, the problem now is that I have a UserView for my game and when I create the line as a JPanel the JPanel appears on top of the UserView and the UserView is not visible. I have the code for my main Game class and the AimLine Class:



1 year ago
Hi,

I am trying to create an aim arrow in my game in JBox2D. I want the arrow to be of fixed length and point at the mouse around a fixed point. I have tried drawing a label but I get flickering everytime I repaint and the line does not get deleted, multiple lines get drawn as the mouse is moved. I have also tried to create a shape which follows the mouse but can not get it rotated around the outside. Currently the shape rotates around the center which is not what I want. I have tried searching for answers but I have found nothing, I have tried to implement this for a few days and am starting to get a headache. Any help would be appreciated!

How would I go about implementing an aim arrow without flickering of the screen every time the mouse is moved?

Thank you in advance.
1 year ago