I get an error even though the code is exactly the same.
Hi and welcome to the community ,
There’s only a slight change required there.
The process method in this version uses a double for the delta parameter.
What you will have to do is cast It down to a float.
So on line 16 you’ll end it with
bulletSpeed * (float)delta;
It’s down to vector2 having float value components.
Hope that works, let me know please.
Darren
Hi,
Slight change of the bracket positions here.
If you could put it as (float)delta instead of float(delta) please and see if that works.
Thank you so much. Problem solved!
1 Like
Nice one, glad it’s working
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.