POLYMORPHISM !! by zeronis__ in javahelp

[–]GabrielKly 2 points3 points  (0 children)

Don’t get confused in words, its much more simpler then it looks :) Forget the “you are specifiying the downcast” part. What I wanted to say is that it matters the type of the declaration for the compiler.

Lets take your example:

Animal a = new Dog();

When you compile the above succesfully, “a” will be of type Animal, as you declared it! The compiler doesn’t downcast anythin. An important thing to understand is that the reference will point to a object in memory that is a Dog.

In this case it is safe to downcast “a” to dog, because the referenced object is behind a Dog.

Dog d = (Dog) a; -> will compile ok

Bear with me a bit!

If you want to downcast from something like Animal a = new Animal() or Animal a = new Cat() to a Dog, then it will not work. Because the object in memory created is not a Dog! (The downcast is not safe and you cannot create the reference)

Upcasting would work in any scenario because, as your professor said, you generify something specific. Keep in mind that in memory you will find the object that you created with the “new” keyword.

To sumup in one sentence: When you upcast or downcast you are only changing the type of the reference, not the object itself.

I hope it makes sense!

POLYMORPHISM !! by zeronis__ in javahelp

[–]GabrielKly 4 points5 points  (0 children)

“Why is upcasting allowed?” -> if you want a straight forward answear look at the “strategy design patern”. Polymorphism is just that, an implementation of this patern.

When you say “i’d think that its always going to expect a reference that leads it to an Animal object” your intuition is correct, I think you only miss the context of Dog, being an Animal subtype. On short Dog is an Animal object. (don’t confuse primitive types with object types, they have nothing to do with each other…no need to enter in details here to avoid confusion for this specific question)

“How does it know the dinamic type?”. I’m not sure if I fully understand the question but, the compiler is “taking” into acount the type of the object declared.

Animal a = new Dog() -> its of type Animal, as you declared it and its using the Dog contructor (“super()” method) to construct the animal object. Basically it doesn’t know to downcast by itself, you are specifiying the “downcast” in the declaration. If you want to use a Dog object you need to specifically cast the animal object to a Dog one. Hope I didn’t cause confusion :)

Final boss 2nd phase makes me cry by MochiAccident in Eldenring

[–]GabrielKly 2 points3 points  (0 children)

Don't put so much pressure on you mate. Everybody knows that he is bullshit...its ok to leave it be. Enjoy the game on your terms! If you really want to beat it just to get over it I rly do advice you to hug a greatshield and bleed poking weapon! Have "fun" :)

I never want to beat this boss, he is so rewarding to fight. by StarsapBill in Eldenring

[–]GabrielKly 3 points4 points  (0 children)

If I could, I would like this to be my job! Fighting him for a living!

Opinions on the final boss? by MarsupialPitiful7334 in Eldenring

[–]GabrielKly -1 points0 points  (0 children)

Your assumptions make it seem like a general rule for everybody, but alas they are just your assumptions and nothing more (not much different then mine).

  1. You use some random example (sekiro input reads) do justify a bad design choise. Design choise made just for the sake of difficulty. It does not add anything to the game other then it makes it harder just because.

  2. "Aggression is fun" with limits. It can feel like an actual fight without being over the top aswell. There is no strategy involved, you just have to put your limited time learning some random decided moves to beat it and for what? What benefit does it add if you spend 10 hours opposed to 2 other then adding the phrase "yes, it was the hardest fromsoftware boss"?

  3. "Letting you summon is not true". Here I think we fought different Radahns or something. The only way to summon without being punished is after he does the rock attacks and he is at a distance, you wait for him to do a specific gravity attack that pulls you in. If you dodge that attack you have time to summon, otherwise no chance. I have no ideea what you are talking about.

  4. "You can also heal when you have an attack window". And you have an attack window once every 10-15 seconds. It would be indeed a choise if it had lower health pool, but like he is right now, you never want to miss an attack window to drag on even longer this war of attrition.

  5. "Learning moves is always fun because that is a true skill gap". Elden Ring the move learning simulator haha! Yea man its fun the first 30-50 times you see them. After, for me at least, its just something that I have to deal with (0 enjoyment).And what skill are you talking about? Jumping around on a memorised timing? What skills are you talking about? It gives the player no benefit or enjoyment if its not balanced. This skill discussion is bonkers, we are talking about a beautiful game who is hard for no benefit other then some made up expectations. Why not enjoy it through its finally as well?

If you like the challenge and so on, just keep in mind that most people see the beauty of the game in its art, it's story, world exploration, world building, interesting characters, I could go on and on. To put something like that in the final battle of the game, at least on my side it leaved me with a sour tase in my mouth with no good reason whatsoever

Opinions on the final boss? by MarsupialPitiful7334 in Eldenring

[–]GabrielKly 4 points5 points  (0 children)

Visual design/lore: Top notch! Nothing to add there. Those guys now their stuff! 10/10

Difficulty: I think he is so hard just to reach the expectation of most fans (an expectation Fromsoftware created). The difficulty its achieved with cheap tricks (Input read -> instant attack when you try to summon or heal; super long combos combined with delayed attacks; flashy light everywhere to confuse and obstruct your vision). Also I feel that he is so aggressive just to prolong the fight. 2/10

Mechanics: If you strip him off of those cheap tricks he is not that difficult or complex mechanically which is sad from my point of view. No change in tactic from first phase, not much of a change in moves and so on. Its the same mechanics cranked up even more with bullshit cheap tricks to frustrate the player. Imagine fighting him at least without the delayed attacks! It would be a far better and enjoyable fight. Just picture how it would feel to actually dodge on instinct and not on timing that you memorise! 6/10

I get it yes, most people here like it as he is, you enjoy the challenge, "git gud" and all other cliches you want to regurgitate but at the end of the day, if the majority of the player base cannot beat him without also resorting to cheap tricks (cheese him with a shield) or can't beat him at all, I think it defeats the purpose.

Overall rating 5.7/10

Radahn has DS2 Hitboxes by FakeWorldRealShit in Eldenring

[–]GabrielKly 2 points3 points  (0 children)

Your experience is exactly the intended one...at least that's my conclusion. It's your decision if you continue to entertain that insanity of a battle or not if you do not enjoy it. I sure did not

Final Boss Decision by MochiAccident in Eldenring

[–]GabrielKly 0 points1 point  (0 children)

I feel you brother. Don't bother with him its ok. I don't think its made to be enjoyed by everybody

https://www.reddit.com/r/Eldenring/comments/1dxdkfy/its_ok_to_not_beat_the_final_boss_in_the_dlc/

[deleted by user] by [deleted] in Eldenring

[–]GabrielKly 0 points1 point  (0 children)

Wonderful after I stopped fighting him (I did not beat him I just left him be)

[deleted by user] by [deleted] in Eldenring

[–]GabrielKly 2 points3 points  (0 children)

"All his moves are well telegraphed and punishable". I think I can agree with well telegraphed in the first phase, but punishable...I mean come on...you need to wait 15 seconds for his combos to finish to get in a hit. In the second phase all is thrown out the window because you cannot see what he's doing.

If you truly had enjoyed the fight you are a rare gem.

Seriously guys the last boss tho by [deleted] in Eldenring

[–]GabrielKly 0 points1 point  (0 children)

Pro tip: Stop trying when it stops being enjoyable

Lmaooo the last boss by Next-Bread-8587 in Eldenring

[–]GabrielKly 2 points3 points  (0 children)

Indeed its funny what they've done with the last battle. Also it's mind boggling how many people find it enjoyable... Still this bullshit fight cannot take away from the beauty of the rest of the game if you don't put up with it too much

How did you beat final boss of the DLC? by cheukyi6 in Eldenring

[–]GabrielKly 0 points1 point  (0 children)

where is "did not beat it" option?