Recent

Author Topic: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector  (Read 13956 times)

vfclists

  • Hero Member
  • *****
  • Posts: 1146
    • HowTos Considered Harmful?
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #105 on: February 22, 2024, 12:48:49 am »
So by your own admission you are complaining about my chat channel which you don’t even like enough to participate in because you prefer to be data harvested and monetized by the owners of discord. That’s your choice I don’t care what you choose to do with your spare time so long as it doesn’t involve helping pascal haters by attacking a pascal support channel.

This long thread has now gone off-topic.

Please let's stop here the talk about IRC, Discord, and let's not rush to judge people as haters etc.

I am happy to help anyone, including people completely new to Pascal, to learn. I'm sure most people in Lazarus community agree. To this end, both Lazarus and CGE have a lot of docs to help people learn Pascal ( https://wiki.freepascal.org/ , https://castle-engine.io/learn_pascal ).

Hi Michalis,
I'm checking out your video channel and I see you use Emacs for your Pascal programming.

What packages do you use to support Pascal coding? LSP, delphi-mode, pascal-mode etc?
Lazarus 3.0/FPC 3.2.2

michalis

  • Full Member
  • ***
  • Posts: 143
    • Castle Game Engine
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #106 on: February 22, 2024, 01:30:35 pm »
I'm checking out your video channel and I see you use Emacs for your Pascal programming.

What packages do you use to support Pascal coding? LSP, delphi-mode, pascal-mode etc?

A short version of my Emacs setup is mentioned in the "Emacs" section (it is right of "VS Code" page now, for historic reasons): https://castle-engine.io/vscode#_emacs .

Much longer description of my experiments with getting Pascal LSP to work with Emacs are on: https://github.com/michaliskambi/elisp/tree/master/lsp , I also made a news post about it in https://castle-engine.io/wp/2022/11/19/visual-studio-code-integration-intelligent-code-completion-with-our-lsp-server-also-for-emacs-neovim-and-other-text-editors/ .

And my full Emacs config is in: https://github.com/michaliskambi/elisp . Enjoy, I hope it is useful :)

I have to note: All above is now historical. I switched to using VS Code last year. (I also mentioned it on https://castle-engine.io/wp/2023/04/29/visual-studio-code-and-lsp-server-improvements/ ) Overall I'm happy with the switch, for a number of small reasons. Anyhow, the above instructions for Emacs should still all work, and the Pascal LSP server we distribute with CGE should work with Emacs and VS Code equally well.

valter.home

  • Jr. Member
  • **
  • Posts: 81
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #107 on: February 29, 2024, 12:06:37 am »
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.
Code: Pascal  [Select][+][-]
  1. if RayCastResult.Hit then
  2. begin
  3.   SandyAirborne := 0;
  4.   LabelFps.Caption := 'FPS: PLACEHOLDER';
  5.   if SandyIdling = 0 then
  6.   begin
  7.     SandyIdling := 1;
  8.     SandyLegs.PlayAnimation('LEGS_IDLE', true);
  9.     SandyTorso.PlayAnimation('TORSO_IDLE', true);
  10.   end;
  11. end
  12. else
  13.   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:

Code: Pascal  [Select][+][-]
  1. if RayCastResult.Hit then
  2.   begin
  3.   SandyAirborne := 0;
  4.   LabelFps.Caption := 'FPS: PLACEHOLDER';
  5.       if SandyIdling = 0 then
  6.       begin
  7.   SandyIdling := 1;
  8.   SandyLegs.PlayAnimation('LEGS_IDLE', true);
  9.   SandyTorso.PlayAnimation('TORSO_IDLE', true);
  10.       end
  11.   else
  12.   SandyIdling := 0;
  13.   begin
  14.     if SandyAirborne = 0 then
  15.     begin
  16.   SandyAirborne := 1;
  17.   SandyTorso.PlayAnimation('TORSO_AIRBORNE', true);
  18.   SandyLegs.PlayAnimation('LEGS_AIRBORNE', true);
  19.     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
« Last Edit: February 29, 2024, 12:25:34 am by valter.home »

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1208
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #108 on: February 29, 2024, 12:23:16 am »
@ valter.home there is no need to defend yourself. The castle game engine project has attracted the attention of a time wasting troll. His skill seems to be wasting developers time. These types of people do not even know rudimentary pascal so it’s easy to detect them by Trying to talk to them about pascal. Good luck
« Last Edit: February 29, 2024, 12:33:55 am by Joanna »
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

valter.home

  • Jr. Member
  • **
  • Posts: 81
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #109 on: February 29, 2024, 12:43:09 am »
I thought so, but I'm not sure yet. Who knows?

lainz

  • Hero Member
  • *****
  • Posts: 4599
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #110 on: February 29, 2024, 01:23:03 am »
@ valter.home there is no need to defend yourself. The castle game engine project has attracted the attention of a time wasting troll. His skill seems to be wasting developers time. These types of people do not even know rudimentary pascal so it’s easy to detect them by Trying to talk to them about pascal. Good luck

For me seems an advanced developer in other languages. Else he will not start with such a game, and know details of programming that are just not obvious to everyone.

Like in one of his posts trying to show that pascal array is wrong because using parentheses like it was an expression
https://forum.lazarus.freepascal.org/index.php/topic,66324.msg508932.html#msg508932

So he knows of what is talking about. But instead of assuming, ah ok, is done like this in Pascal. No, he is just laughing at us.

I thought so, but I'm not sure yet. Who knows?


I was not sure, but yes is a troll.

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1208
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #111 on: February 29, 2024, 01:41:07 am »
He accused us of being trolls !!  :D
Well I guess he will need to switch accounts now that he has been called out. He probably has many accounts ready to go.

These types of people often know c language. I don’t understand why they need to keep bothering us.
We had one in chat channel ranting about fpc not having “&&” instead of “and”. He then went to the mailing lists and raised hell and upset a lot of people and wasted their time before some of them figured out that he was a troll.

It’s kind of embarrassing when these things happen. In the future just make sure they are willing to learn pascal before investing too much time and effort.




« Last Edit: February 29, 2024, 01:42:59 am by Joanna »
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

michalis

  • Full Member
  • ***
  • Posts: 143
    • Castle Game Engine
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #112 on: February 29, 2024, 11:00:05 am »
For what it's worth, I don't think the OP is a troll. That's a very strong accusation and not something I'll throw without a better proof.

And I'm happy to help people who may know nothing about Pascal. It's OK, everyone learns. Coming with a knowledge from another programming language is also a plus (whether the OP has it or not, is a guesswork).

He's just a beginner at programming (which is OK), and he's not efficient at learning on his own, or following on the advised we gave him (which is less OK, and admittedly it has used a lot of time now of many people involved, on both Lazarus forum and CGE forum).

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1208
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #113 on: February 29, 2024, 11:26:22 am »
@michalias yes it’s good to give people the benefit of the doubt and yes people new to pascal sometimes need help but I think you might have fallen victim to the “sunk cost fallacy “ https://www.lifehack.org/articles/communication/how-the-sunk-cost-fallacy-makes-you-act-stupid.html

You have invested so much time and energy into this person that you don’t want it all to be for nothing. So you want to keep trying until you can help him succeed. But if he does not want to learn pascal You cannot succeed in helping him write a Castle game engine project. {Although you will definitely  succeed in helping him waste your time}

 This is not your or valter.home‘s fault {apart from creating something nice that someone wants to sabotage} Your attempts to help have been valiant.  How many posts is it now ? Have you counted?

As I’ve already told you I did online gaming for 15 years and I’ve had more than my share of encounters with destructive people online. I also have a chat channel that has been under attack since 2019.

Please prioritize your castle game engine development and people who are genuinely sincere about developing games with it. That’s the best advice I can offer you. Take care  :)
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

cdbc

  • Hero Member
  • *****
  • Posts: 1649
    • http://www.cdbc.dk
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #114 on: February 29, 2024, 12:20:26 pm »
Hi
@michalis: +1
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

Handoko

  • Hero Member
  • *****
  • Posts: 5376
  • My goal: build my own game engine using Lazarus
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #115 on: February 29, 2024, 03:52:31 pm »
I personally believe the TS is not a troll. If you do some research, you will know he (they) has been developing many simple games since years ago, and has asperger/austism syndrome. I heard people with such syndrome aren't good in communicating with normal person and a kind of 'stubborn'. But hey, I am not here for judging people. I only want to help others who want to learn/use Pascal and Lazarus.

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1208
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #116 on: February 29, 2024, 04:37:00 pm »
Is this the same guy that was demanding that people fix the tardplaya game for him a few years ago?

Who is to say what makes people act strange online. Regardless of the causes and motives the results will be the same. People will get exasperated after dealing with them and the good people we want will disappear.

You need to stay focused on what the purpose of the Online community is. None of us are responsible for someone having asperger/austism syndrome and it’s unlikely that anyone here can cure it. Our purpose is to help each other write projects in pascal I hope...

Here is a true story...
Around when the Ukraine war started.. I invited someone to one of my non pascal channels and as soon as she? Got there , my channel suddenly became a place to scream Hateful things about how bad her Ukrainian neighbors were. I don’t know if story was real or made up but didn’t want it wrecking my channel so I muted her. I told her I’m sorry you are having problems but I can’t let you wreck my channel. I later saw her banned from other channels for probably the same reason.
« Last Edit: February 29, 2024, 04:49:36 pm by Joanna »
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2269
  • Fifty shades of code.
    • Delphi & FreePascal
Re: Castle Game Engine (Cross Platform) - Need Help with Drawing a Raycast Vector
« Reply #117 on: February 29, 2024, 06:07:25 pm »
In my humble opinion, this forum is moderated already nice and good.
Expanding a thread with troll theories ain't that helpful either in this topic.
One difference between your channels and this forum is also a fact that moderators can all the time remove things while you can just mute or ban but whats written stay visible.

Please get back to topic, many thanks.

@Handoko ++
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1208
It’s not a “theory“, it’s a rather obvious consistent behavior pattern.
I feel sorry for the folks who support castle game engine.

Someone gave me this link
https://slash7.com/2006/12/22/vampires/
« Last Edit: March 01, 2024, 01:19:31 am by Joanna »
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

valter.home

  • Jr. Member
  • **
  • Posts: 81
It’s not a “theory“, it’s a rather obvious consistent behavior pattern.
https://slash7.com/2006/12/22/vampires/

Indeed, according to the guide, various behaviors of the OP would correspond...
However, the guide also adds that many "Help Vampires" are completely unaware, and unless their purpose is destructive it suggests to try to help them anyway.
In my opinion we could continue to give support, but always in the way we have done so far, the way he doesn't like and which makes him so angry.

@JPF12141999
We don't write the code for you! If you're okay with this, this is our way of helping you.
Try to change your attitude a little, but above all read the guide linked above if you really want to understand why everyone ends up closing the door in your face.
Otherwise you could try asking for help on SO, just to understand what it means to be "truly inflexible".

 

TinyPortal © 2005-2018