Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - iMountDuneed

Pages: [1]
1
Graphics / Re: problem with drawing multiple objects
« on: April 22, 2021, 12:29:39 am »
oh it was my bad - sorry I was a C++ beginner  - thank you very much for your help

2
Graphics / Re: problem with drawing multiple objects
« on: April 12, 2021, 01:28:55 am »
Hello everyone,
I've found the problem myself. Somehow, SFML 2.5 doesn't work with the
for (auto ... ) syntax,
If I use for (int i = 0; i < ..... ) then it works

Weird!


3
Graphics / problem with drawing multiple objects
« on: April 12, 2021, 01:12:36 am »
Hi,
I need your help with this below issue:

If I only have 1 circle shape and I move it, the render updates it correctly.
mCircle.move(movement);

However, if I put multiple circle shapes in the vector std::<vector> myCircles; and use for loop to move each object
for (auto c: myCircles)
   c.move(movement);

the render doesn't update it correctly. And it looks like the position of each circle remains the same.

Do you have any idea please?

Cheers
Duneed.

Pages: [1]