To michaelis: I did review the begins and ends, as pointed out in the thread, and although the word "idiot" wasn't used verbatim calling someone hopless when they are patiently pointing out the facts is saying exactly the same thing.
Forums are not the right places to engage in controversy, except in the appropriate off-topic sections. But I have to tell you, your anger is unjustified. You didn't understand the reason for my words, you didn't ask me for clarification, but you started to shoot down everything and everyone.
I found many of your posts in different forums, and they all started with the same complaint:
"the experts call me an idiot instead of actually helping me".
You complained that @michalis closed one of your posts, you say "maybe because of his ego because he is the boss and we have to do what he wants", but do you realize that you published it on the
GitHub issue?
Your interlocutor also took the time to visit your forum link and told you that in his opinion valterB was giving you a lot of help. You ignored him, like you always do when you don't like something.
Let's now come to that terrible phrase that made you so angry.
"There is no hope. I am sorry".
Did I say this as you are a beginner? No. Did I say this because you are studying? No.
I said this because time and time again you have shown that you are careless, that you don't pay the slightest attention to what you are suggested to do, whether it is right or wrong. You just ignore it.
And here is the mystery of this great offense against you revealed:
You post your example code and I notice that you don't indent it correctly. It seems trivial, but since you have problems with the right number of
Begin End, formatting the text correctly would be of great help because you would immediately see if a block is closed correctly. I point it out to you, and I post an example of your code formatted the right way.
if RayCastResult.Hit then
begin
SandyAirborne := 0;
LabelFps.Caption := 'FPS: PLACEHOLDER';
if SandyIdling = 0 then
begin
SandyIdling := 1;
SandyLegs.PlayAnimation('LEGS_IDLE', true);
SandyTorso.PlayAnimation('TORSO_IDLE', true);
end;
end
else
SandyIdling := 0;
Let's ignore all the following posts where you insist on doing things right while the compiler gets it wrong, and get to the point.
You answer me: "[...]
with the code formatted according to how you did it for easier readability"Note: I didn't talk about better readability but about concrete help for opening and closing Begin End blocks.
and you post this:
if RayCastResult.Hit then
begin
SandyAirborne := 0;
LabelFps.Caption := 'FPS: PLACEHOLDER';
if SandyIdling = 0 then
begin
SandyIdling := 1;
SandyLegs.PlayAnimation('LEGS_IDLE', true);
SandyTorso.PlayAnimation('TORSO_IDLE', true);
end
else
SandyIdling := 0;
begin
if SandyAirborne = 0 then
begin
SandyAirborne := 1;
SandyTorso.PlayAnimation('TORSO_AIRBORNE', true);
SandyLegs.PlayAnimation('LEGS_AIRBORNE', true);
end;
I post both codes again, together, and I ask you if it seems to you that they are formatted the same way.
You ignore my question, and reply that I omitted some lines in your code. But as you may realize now, that wasn't the point.
I tell you again: you don't pay attention to what you're told.
And so I ask myself: if you don't listen to me, don't do what I tell you and maybe you even show me that I'm wrong, what's the point of discussing it?
I told you on the CGE forum: being humble does not mean you are weak, but rather a better person. I teach you, you teach me.
valterB. user of CGE