Search found 19 matches
- Fri Sep 23, 2022 7:23 pm
- Forum: General
- Topic: Pokemon style movement
- Replies: 17
- Views: 11240
Re: Pokemon style movement
That is very nice for that system, but I should have been clear, I meant the other system here: https://love2d.org/forums/viewtopic.php?p=247379#p247379 How to implement NPC movement in that one? Cause that's the system that I have working nicely right now and don't really need to use the other one....
- Fri Sep 23, 2022 3:26 am
- Forum: General
- Topic: Pokemon style movement
- Replies: 17
- Views: 11240
Re: Pokemon style movement
One more question I have. Using this system, how would NPC movement be implemented? Logically, it has to have separate logic from player movement, but how to actually achieve this? I just need to figure out something basic for now, like a trigger that causes a NPC to move in a certain direction for ...
- Mon Sep 12, 2022 6:57 pm
- Forum: General
- Topic: Pokemon style movement
- Replies: 17
- Views: 11240
Re: Pokemon style movement
oh thank you very much, that is indeed what i was looking for! now only thing left is to fix the sliding effect.
edit: ok i fixed the sliding effect, everything works so nice now!
edit: ok i fixed the sliding effect, everything works so nice now!
- Sun Sep 11, 2022 11:34 pm
- Forum: General
- Topic: Pokemon style movement
- Replies: 17
- Views: 11240
Re: Pokemon style movement
What part of that snippet code would I have to modify to adjust the speed from one tile to the next, because the movement is a bit too fast for me. and also, i managed to combine this method with animated spritesheet (anim8 library) and it works nice, but there is a sliding effect, such that if you ...
- Tue Jan 18, 2022 1:38 am
- Forum: Support and Development
- Topic: not correct texture cube
- Replies: 11
- Views: 5691
Re: not correct texture cube
Yes, that does perspective correct rendering, at the expense of sucking a lot of GPU resources. You can't have many such polygons on the screen at once, at least with my graphics card, or that's my recollection when I tested it. If you know the concepts of model matrix, view matrix and perspective ...
- Tue Jan 18, 2022 12:07 am
- Forum: Support and Development
- Topic: not correct texture cube
- Replies: 11
- Views: 5691
Re: not correct texture cube
Come on man. That's way beyond a support question, that's at least a whole year in school learning linear algebra question. There's an endless stream of tutorials for 3D programming out there: in formats for people who can read, or in YouTube format for people who can't read. Now let's not be too h...
- Mon Jan 17, 2022 10:15 pm
- Forum: Support and Development
- Topic: not correct texture cube
- Replies: 11
- Views: 5691
Re: not correct texture cube
I saw some of those 3D libraries, but I kinda want to try doing it myself a bit. But let's say for now, just to fix the texture warping itself with GPU, no lighting or camera, just the texture, is that just a matter of perspective matrix on GPU alone or something else. Thanks for the help so far, ap...
- Mon Jan 17, 2022 4:03 pm
- Forum: Support and Development
- Topic: not correct texture cube
- Replies: 11
- Views: 5691
Re: not correct texture cube
Hmm, I understand. So assuming I want like you say arbitrary orientation of polygons on GPU, what would I need to do with my code, would it require tons of changes or just some? Thanks!
- Sun Jan 16, 2022 10:36 pm
- Forum: Support and Development
- Topic: not correct texture cube
- Replies: 11
- Views: 5691
not correct texture cube
I am not sure what is either missing or wrong for this textured cube to be warped like that,
what do I need to modify to make it look correct?
Keep in mind I want to use purely CPU side, so no GPU shaders, etc (if possible)
Thanks!
what do I need to modify to make it look correct?
Keep in mind I want to use purely CPU side, so no GPU shaders, etc (if possible)
Thanks!
- Mon Dec 13, 2021 2:31 am
- Forum: Support and Development
- Topic: problem with LAN connection enet udp
- Replies: 14
- Views: 8695
problem with LAN connection enet udp
I attached the sample code. It works if client is localhost and I run client and server on same machine. But, as soon as I try to run client as ipv4 address (192.168,etc) and on different machines (server on desktop and client on laptop for example), it doesn't work. I already ruled out router/PC/fi...