Zebratic
Zebratic
CC#
Created by arch_il on 8/10/2023 in #help
❔ I just can't even start to think what has gone wrong.
It might be referencing to some other place by mistake
23 replies
CC#
Created by arch_il on 8/10/2023 in #help
❔ I just can't even start to think what has gone wrong.
Not an expert in XNA, but check if you have tankOne defined somewhere else in the code (and tankTwo is not)
23 replies
CC#
Created by arch_il on 8/10/2023 in #help
❔ I just can't even start to think what has gone wrong.
hm good question
23 replies
CC#
Created by arch_il on 8/10/2023 in #help
❔ I just can't even start to think what has gone wrong.
Might work, never used XNA before so im not entirely sure
23 replies
CC#
Created by arch_il on 8/10/2023 in #help
❔ I just can't even start to think what has gone wrong.
aka
public Tank tankOne = new Tank();
public Tank tankOne = new Tank();
23 replies
CC#
Created by arch_il on 8/10/2023 in #help
❔ I just can't even start to think what has gone wrong.
else try to initialize it in the global scope
23 replies
CC#
Created by arch_il on 8/10/2023 in #help
❔ I just can't even start to think what has gone wrong.
your private GraphicsDeviceManager _graphics; its private, try do the same with the Tank
23 replies
CC#
Created by arch_il on 8/10/2023 in #help
❔ I just can't even start to think what has gone wrong.
Make the variables accessible by putting it in the correct scope
23 replies
CC#
Created by arch_il on 8/10/2023 in #help
❔ I just can't even start to think what has gone wrong.
it overrides an existing function
23 replies
CC#
Created by arch_il on 8/10/2023 in #help
❔ I just can't even start to think what has gone wrong.
because its an "override", then the global vars are not accessible in the compiled version
23 replies
CC#
Created by ✰Black_Star✰ on 8/10/2023 in #help
✅ Russian words become question marks
just different encoding
26 replies
CC#
Created by ✰Black_Star✰ on 8/10/2023 in #help
✅ Russian words become question marks
what he said ^^
26 replies