Recent

Author Topic: Using the Castle Game Engine Without Any Prior Coding Experience  (Read 3373 times)

Joanna

  • Hero Member
  • *****
  • Posts: 768
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #30 on: February 29, 2024, 12:05:56 am »
@lainz this is probably a time vampire I’ve seen them before. They aren’t interested in learning pascal.
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

JPF12141999

  • Jr. Member
  • **
  • Posts: 88
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #31 on: February 29, 2024, 12:07:34 am »
That is objectively not true and you know it.

My posts show that I followed the directions of the examples, like using the colons and indenting my code correctly when I am told that is what I need to fix, rather than just going "I don't wanna do it" for no reason.

JPF12141999

  • Jr. Member
  • **
  • Posts: 88
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #32 on: February 29, 2024, 12:10:34 am »
But again, telling me to teach myself everything from the ground up isn't actually teaching or helping me, it's just telling me to go to heck with myself and figure everything out myself, and even if it's not the exact words the idea is still always the same.

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #33 on: February 29, 2024, 12:27:51 am »
But again, telling me to teach myself everything from the ground up isn't actually teaching or helping me, it's just telling me to go to heck with myself and figure everything out myself, and even if it's not the exact words the idea is still always the same.

Sorry, but that's the way they teach programming at university. They give you a machine, and start to code. They teach the basics only, but then you're alone.

Joanna

  • Hero Member
  • *****
  • Posts: 768
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #34 on: February 29, 2024, 12:28:38 am »
But again, telling me to teach myself everything from the ground up isn't actually teaching or helping me, it's just telling me to go to heck with myself and figure everything out myself, and even if it's not the exact words the idea is still always the same.
So you feel that it is beneath your dignity to learn pascal ?
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

JPF12141999

  • Jr. Member
  • **
  • Posts: 88
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #35 on: February 29, 2024, 12:33:33 am »
I am not saying I am not willing to learn period, but for example when you walked did you somehow magically learn to walk on your own, or did you have a parent patiently explain to you the proper techniques to?

I get that you guys were raised on the survival of the fittest mentality where you had to figure it out yourself or be left out basically, but I am advocating that people in general shouldn't have to do that, because no one knows every single thing right away - that is a completely ridiculous expectation.

JPF12141999

  • Jr. Member
  • **
  • Posts: 88
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #36 on: February 29, 2024, 12:34:24 am »
This will be my last reply to you guys, while I wait for someone else who actually is willing to teach me - again I will point out the section is called "Beginners", and not "I know everything right away so I expect you to as well".

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #37 on: February 29, 2024, 12:36:28 am »
If you're a beginner don't start with the advanced projects then, start with something more simple until you have the confidence to do a game.

Joanna

  • Hero Member
  • *****
  • Posts: 768
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #38 on: February 29, 2024, 12:38:17 am »
Maybe he feels entitled to have other people write his game for him so that he will not need to learn pascal  :D
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #39 on: February 29, 2024, 12:41:34 am »
Maybe he feels entitled to have other people write his game for him so that he will not need to learn pascal  :D

I think the time the people at Castle Game Engine lost writting his entire documentation for pascal don't worth his time.

Having problems with begin..end is a beginner problem. He must be doing simple programs to start.

When no more begin..end problems are found on his own programs, maybe he is ready to do a step up and try to do first a smaller game. Then provide full sources not without resources.

JPF12141999

  • Jr. Member
  • **
  • Posts: 88
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #40 on: February 29, 2024, 12:56:57 am »
I get that is your point and michaelis' too, but I am explaining that I am following what well-known examples do, and they are known to compile fine; for example I found on this particular page that I am supposed to use custom variables as inputs to vectors:

Page link for people to see for themselves:

https://castle-engine.io/custom_components#:~:text=Custom%20Components%201%201.%20Introduction%20You%20can%20enhance,custom%20components%20...%205%205.%20Publishing%20properties%20

Code snippet in particular so it's easy to see and you don't have to read the entire page:

Code: Pascal  [Select][+][-]
  1. type
  2.   TMyComponent = class(TComponent)
  3.   strict private
  4.   public
  5.     { Note: For simplicity sake, the My4DVector and MyString are just public,
  6.       not published, in this example code. But you could make them published,
  7.       following instructions from earlier sections. }
  8.     My4DVector: TVector4;
  9.     MyString: String;
  10.     procedure CustomSerialization(const SerializationProcess: TSerializationProcess); override;
  11.   end;
  12.  
  13. procedure TMyComponent.CustomSerialization(const SerializationProcess: TSerializationProcess);
  14. const
  15.   DefaultMyOldVector: TVector3 = (X: 0; Y: 0; Z: 0);
  16.   DefaultMyOldInteger = 123;
  17. var
  18.   MyOldVector: TVector3;
  19. begin
  20.   inherited;
  21.  
  22.   { For example sake, let's assume that in the past, you published
  23.     MyOldVector: TVector3 value.
  24.     But now you want to expose My4DVector: TVector4,
  25.     and when reading old designs -- convert MyOldVector -> My4DVector somehow. }
  26.  
  27.   MyOldVector := DefaultMyOldVector;
  28.   SerializationProcess.ReadWriteVector('MyOldVector', MyOldVector,
  29.     DefaultMyOldVector, false);
  30.  
  31.   if not TVector3.PerfectlyEquals(MyOldVector, DefaultMyOldVector) then
  32.     My4DVector := Vector4(MyOldVector, 1.0);
  33.  
  34.   { For example sake, let's assume that in the past, you published
  35.     MyOldInteger: Integer value.
  36.     But now you want to expose MyString: String
  37.     and when reading old designs -- convert MyOldInteger -> MyString somehow. }
  38.  
  39.   MyOldInteger := DefaultMyOldInteger;
  40.   SerializationProcess.ReadWriteString('MyOldInteger', MyOldInteger, false);
  41.  
  42.   if MyOldInteger <> DefaultMyOldInteger then
  43.     MyString := IntToStr(MyOldInteger);
  44. end;

That I have physical proof that if you want a vector, which AvatarTransform is defined as if you read the Castle Game Engine API, as a custom input to another vector, then you should define it in the particular syntax the example states for you, in exact words.

Or here's the page for proof that you use parenthesis in Pascal to assign precedence; even if it's not from the Castle Game Engine forums it is from an official Pascal tutorial site, so I don't doubt they have the expertise down pat:

https://ctp.mkprog.com/en/pascal/parenthesis_operator/#:~:text=Pascal%20-%20Parenthesis%20operator%3A%20%28%29%20We%20can%20use,in%20other%20words%2C%20we%20can%20override%20operator%20precedence.

So again, I am willing to learn because I make sure to read all the tutorials carefully for the information I need, as I always patiently point out,

But not just for you guys in particular, but for anyone, refusing to explain what I did wrong doesn't actually help me learn, because that isn't actually helping me learn - that is telling me to fend for myself entirely, point blank.

And also, telling me to do simpler projects doesn't help me make the kinds of games I want, and all I ever wanted since my very first post on the original Castle Game Engine forums was simple, direct answers to simple, direct questions, using actual game examples that are known to work, plain and simple.

Joanna

  • Hero Member
  • *****
  • Posts: 768
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #41 on: February 29, 2024, 12:57:41 am »
@lainz while I can feel some sympathy for someone trying to do something new, the sheer number of his posts and the way that he responds to people kind of proves that he isn’t interested in learning pascal but rather frustrating and annoying people.

A sincere person would be motivated to learn pascal after discovering castle game engine. This one not.  ::)
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

JPF12141999

  • Jr. Member
  • **
  • Posts: 88
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #42 on: February 29, 2024, 01:00:56 am »
I do understand begin and end things are a rookie mistake, but again I always make sure to fix it when someone points it out to me, but I need someone to explain clearly what the error is rather than telling me to guess the details myself.

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #43 on: February 29, 2024, 01:02:45 am »
@lainz while I can feel some sympathy for someone trying to do something new, the sheer number of his posts and the way that he responds to people kind of proves that he isn’t interested in learning pascal but rather frustrating and annoying people.

A sincere person would be motivated to learn pascal after discovering castle game engine. This one not.  ::)

Yes I understand.

Well we don't feed the OP anymore.

JPF12141999

  • Jr. Member
  • **
  • Posts: 88
Re: Using the Castle Game Engine Without Any Prior Coding Experience
« Reply #44 on: February 29, 2024, 01:06:14 am »
Good. Then I won't feed you guys anymore.

 

TinyPortal © 2005-2018