Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
direction
- Page 1
Slaying Unicorns: How Europe Sabotages Its Own Economic Future
Community Center
3 Weeks Ago
by Johannes C.
… alike. As it stands, Europe is moving in the wrong
direction
and failure to recognize this issue puts the economic future…
Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by jprog1000
…; i++){ this.b[i].move(); } // check for collision and change
direction
if balls collide for (int i = 0; i <b…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by toneewa
…++) { this.b.get(i).move(); } // check for collision and change
direction
if balls collide for (int i = 0; i < b…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by toneewa
…++) { this.b.get(i).move(); } // Check for collision and change
direction
if balls collide for (int i = 0; i < b…
Middle Aged Needing Career Advice
Community Center
Geeks' Lounge
2 Weeks Ago
by BigPaw
… finding. Any and all advice welcome for a new career
direction
. (I'm in good health now)
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week Ago
by vortex_1
… and energy, as the new ball's initial velocity and
direction
could be determined based on the properties of the colliding…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by jprog1000
Thank you so much for your reply and additions! It is certainly working as I wanted. I will read through the code you have added and ask you any questions I might have. I hope you don't mind. Regards
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by Dani
I’ll mark this question solved :)
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by Dani
… oh, sorry, missed the bit about you still needing clarifications. Feel feee to ask :) I’ll now unmark this topic as solved. /facepalm
Re: Middle Aged Needing Career Advice
Community Center
Geeks' Lounge
2 Weeks Ago
by Dani
Perhaps a career as a [software QA engineer](https://in.indeed.com/career-advice/finding-a-job/what-is-qa-engineer) will be interesting to you?
Re: Middle Aged Needing Career Advice
Community Center
Geeks' Lounge
2 Weeks Ago
by Dani
Oh ... and congratulations on your cancer remission. :)
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by jprog1000
Hello, Thank you again so much! All your additions are clear, but it seems like whenever two balls collide, more than one ball is added to the arraylist and painted. Any way to have just one ball added to the panel for every collision? Have some kind of a toggle flag in paintcomponent? Regards
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by toneewa
Yes, this is true. Overlapping ball spawns can do that causing a chain reaction. Something like that could be done. How you handle the spawning of the new ball is what I played with a bit before. You will see better collision detection changing to: g.fillOval(ball.getX(), ball.getY(), 1 * ball.getRadius(), 1 * ball.getRadius());
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week Ago
by jprog1000
Got it. Thank you so much!
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week Ago
by jprog1000
Great reply, vortex! Agree with all your points.
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week Ago
by Digital_39
Hi, Its helpful for me. I got my answer.
Security or UI/UX Design?
Hardware and Software
Information Security
1 Month Ago
by brainsoverbrawl
I have been debating between learning cyber security or UX Design. In the next two years I would like a career in one of those two areas. What are some pros/cons that could help me find which
direction
is right for me?
Re: How to disable the automatic swipe effect on the product page?
Programming
Web Development
1 Month Ago
by Dani
…').length > 0) { var spiltSwiper = new Swiper('.spilt-swiper-slider', {
direction
: "vertical", loop: true, slidesPerView: 1, mousewheel: true, paginationClickable…
Re: Security or UI/UX Design?
Hardware and Software
Information Security
1 Month Ago
by Dani
Those are very, very different areas. They are both in demand and both great career paths. Maybe if you give a little insight into what specifically interests you about each, and what your existing skill set is (eg do you have a lot of Linux experience already?) then we can provide more assistance in figuring out what’s maybe best for you.
GETTING INPUT FROM THE KEYBOARD
Programming
2 Years Ago
by Iskodaraog
Direction
: create a program to computer for the final grade using scanner and JOptionpane. Given: Quiz- 20% Activity-60% Exam-20% Output Enter guiz grade: Enter activity grade: Enter exam grade: The final grade of: (Student name) si: (total of quiz, activity,and exam grade
Re: Problem using Switch Case
Programming
Software Development
12 Years Ago
by Ezzaral
Direction
is the enumeration class. You need to switch on a variable that holds the
direction
.
Re: C++: Help with sorting a string array from a .txt file!
Programming
Software Development
14 Years Ago
by Lerner
>>
direction
on how to sort In line 103 you compare index …
Re: Fantastic word game
Community Center
Geeks' Lounge
17 Years Ago
by WaltP
Direction
? We don't need no stinkin' directions!
Re: Fantastic word game
Community Center
Geeks' Lounge
17 Years Ago
by joshSCH
Direction
is what makes a scalar a vector.
Re: Anyone Understand This Very Technical Error Message?
Hardware and Software
Microsoft Windows
12 Years Ago
by caperjack
direction
on this site . [url]http://www.bleepingcomputer.com/virus-removal/how-to-use-malwarebytes-anti-malware-tutorial[/url]
Re: Get int main to direct user input string, to bool class and perform search for keywor
Programming
Software Development
12 Years Ago
by coroshea
Direction
do, call for the search to be performed on a …
direction ...
Programming
Software Development
14 Years Ago
by wwsoft
hello , Im creating a top down game. Id like to know what is the formula for moving X and Y values N pixels in a specified
direction
(0-360) ? [CODE] int x=0; int y=0; int speed=3; // "n" int
direction
=45; //some formula ... //output x=3; y=3; [/CODE]
Direction requested
Digital Media
UI / UX Design
16 Years Ago
by Taffd
… with one of these. Can anybody possibly give me some
direction
. Should I attempt to use a ready made system and…
Re: Direction requested
Digital Media
UI / UX Design
16 Years Ago
by Taffd
…. Also this was the point where I needed some general
direction
. As to your second post, I'm afraid I don…
direction of cursor
Programming
Software Development
13 Years Ago
by calamaris
Hi every one . in default cursor move from left to right how can i change
direction
of cursor in my program int main() { char tile[NO_OF_COLS][NO_OF_ROWS]; char ch1,ch2; int counter = 0; system("MODE CON:COLS=80 LINES=50"); gotoxy(35,25); do { cout <<"#"; Sleep(200); ++counter; }while(counter <=100);
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC