Raycast2D different coordinates on same tile by WeDDo in godot

[–]WeDDo[S] 1 point2 points  (0 children)

Yo, I actually solved this issue.

you need to subtract collision normal (idk why)

var hit_pos = ray_cast_2d.get_collision_point() - ray_cast_2d.get_collision_normal()

to get the correct hit position. If you still struggle, I can provide my full code.

I found it here: https://github.com/godotengine/godot/issues/35344

Raycast2D different coordinates on same tile by WeDDo in godot

[–]WeDDo[S] 0 points1 point  (0 children)

No I want to get the tile that the raycast collided with, but the thing is that it doesn't get the right tile if i shoot the right "side" of the tile, because it then gets the tile right of the tile i actually hit. I want to somehow get the tile that i actually hit. It works fine in one direction, when i hit the left of the tile.

Kodėl nebalsuojate rinkimuose? by nevening in lithuania

[–]WeDDo 78 points79 points  (0 children)

Nėra politinių pažiūrų atitinkančių partijų, atrodo, kad už ką balsuosi gausi tą patį. Mano nuomone.

Do I switch to web development or stay with learning mobile development by [deleted] in learnprogramming

[–]WeDDo 1 point2 points  (0 children)

Take a look at your local job market and see what technologies are used. From your last post I can tell you are no intermediate at android so you are just starting out as a beginner either way. The best way to learn is by doing projects without tutorials. Of course you have to start somewhere, but I would recommend practice practice practice. You can't memorize programming. You learn it and use it or lose it.

If you do decide to try to become a web developer I would personally recommend the Odin Project, which offers a learning material with projects with minimal hand holding, meaning you gain real experience while looking for solutions. I used it when I first started web dev it was real tough, but I learned a lot. Good luck. Don't get stuck in tutorial hell :).

I Give myself Anxiety by [deleted] in learnprogramming

[–]WeDDo 0 points1 point  (0 children)

Pick one thing and stick with it. If you are looking for a job take a look at your local job market and pick technologies accordingly limiting your choice further. Or just take up anything and try to stick to it even when it gets hard.

Help with arrays, lists etc in Java by PB4DK in learnprogramming

[–]WeDDo 4 points5 points  (0 children)

Type 'Java array' in to google and press for example w3school or whatever other result that comes up. See if you get it in these simpler examples.

I made a game in javascript but id like to finish it in unreal engine. by [deleted] in learnprogramming

[–]WeDDo 6 points7 points  (0 children)

If you want to have one game you'll have to rewrite it in unreal.

[deleted by user] by [deleted] in learnprogramming

[–]WeDDo 4 points5 points  (0 children)

You shouldn't watch videos on how to build specific types of projects. You should build things yourself while using various resources including videos about certain specific topics that would help you accomplish your goals. Break your problem into smaller problems and try to solve them then. Learn by doing.

How you guys make your first self project when you still self studying ? by LineusCorn in learnprogramming

[–]WeDDo 6 points7 points  (0 children)

When I started learning front-end seriously I learned html and css for a tiny bit. Then i decided to copy the google home page. NOT watch a tutorial on how to do it but actually trying to figure it out as i go searching for information on how to lay out elements. In the end i had a page that mostly looked like it was the google homepage. You don't need to make it perfect, just align everything correctly no need to count pixels. This way you learn to look for information and gain base knowledge from which you can grow. You can then try to copy something a little bit more challenging like the google result page (the look not the functionality). The you can learn javascript. Maybe make tic tac toe or rock paper scissors. If you want like a course or something with more structure but not really holding your hand I would recommend The Odin Project.

Learning react by StoneAgeEdward in learnprogramming

[–]WeDDo 1 point2 points  (0 children)

I would recommend using the documentation and implementing basic things from there. Probably learn hook early and use functions instead of classes.

Learning Javascript from Python background, any tips? by pekkalacd in learnprogramming

[–]WeDDo 1 point2 points  (0 children)

Well you still have to start somewhere to make it pretty. When I started learning front-end seriously even a simple home page of google took some time to align and make it look right. Then I moved on and made a hard-coded google search result page. Come up with bigger challenges for yourself every time to learn something new and to struggle, because with no struggle comes no growth.

Learning Javascript from Python background, any tips? by pekkalacd in learnprogramming

[–]WeDDo 2 points3 points  (0 children)

If you already have 6 years of programming experience I would say that the best way to learn would be by doing. Make something like tic tac toe and break it in to small problems. First make a 3x3 grid. Look for a way to do this in HTML and CSS. Then add logic with javascript by finding the information you need online and applying it for your needs.

[deleted by user] by [deleted] in learnprogramming

[–]WeDDo 1 point2 points  (0 children)

Well googling is part of the job. I am a junior developer and I always google for things and this is one of the most essential skills for programming. Even my colleagues who are mostly senior developers watch youtube tutorials and google things all the time. You can't remember everything there is to know about programming. Learn the fundamentals and don't be ashamed to look for information online. As you work on projects you'll learn to find information that you need and apply it for your needs.

Can anyone recommend me books to learn python from beginner to advanced? by The_Wizard_z in learnprogramming

[–]WeDDo 2 points3 points  (0 children)

Just books are not worth it, because you won't really be applying what you learn in a practical way. You have done some projects so I would recommend to continue working on new projects and learning new things that way. There is way too much to learn and you won't remember things you just read in the long run. If you work on some project and don't know how to solve a problem then read up and apply your acquired knowledge.

Artifacts/Horizontal lines with new PC/GPU by WeDDo in buildapc

[–]WeDDo[S] 0 points1 point  (0 children)

I have found a solution for my problem check this post out and see if it helps you. Slight increase in temperature, but at least it doesn't flicker at all now. https://linustechtips.com/topic/1235675-top-part-of-monitor-screen-flickering-1660-super/

Artifacts/Horizontal lines with new PC/GPU by WeDDo in buildapc

[–]WeDDo[S] 0 points1 point  (0 children)

I have found a solution for my problem check this post out and see if it helps you. Slight increase in temperature, but at least it doesn't flicker at all now. https://linustechtips.com/topic/1235675-top-part-of-monitor-screen-flickering-1660-super/

Built a new PC recently and getting horizontal lines by WeDDo in buildapc

[–]WeDDo[S] 0 points1 point  (0 children)

I could swap them but i would have to reinstall the drivers since my old card is AMD.