Platformer Collaboration. I'm a noob, so noobs are welcome.
- BrotSagtMist
- Party member
- Posts: 657
- Joined: Fri Aug 06, 2021 10:30 pm
- Gunroar:Cannon()
- Party member
- Posts: 1141
- Joined: Thu Dec 10, 2020 1:57 am
Re: Platformer Collaboration. I'm a noob, so noobs are welcome.
This type of thing is always funny to watch. I honestly don't ....like what the ...??
I spelt
https://sheepolution.com/learn/book/contents
...wait.
Last edited by Gunroar:Cannon() on Thu May 12, 2022 10:12 am, edited 1 time in total.
Re: Platformer Collaboration. I'm a noob, so noobs are welcome.
OK. Thanks! I NEED MORE HELP!!! I am using physics from windfield https://github.com/a327ex/windfield, but that's just a wrapper for the physics module, which is a wrapper for Box2d. As you will notice, the ground is VERTICLE!!!! GRAVITY IS HORISONTAL!!!! Don't worry, I planned that. Questions, Comments, or Concerns?
PS: I am placing the code in a GitHub repository. The link is here: https://github.com/PixelHeroFromLove2d/Collab-1
PS: I am placing the code in a GitHub repository. The link is here: https://github.com/PixelHeroFromLove2d/Collab-1
- Attachments
-
- WIP.love
- Vertical Platformer
- (1.66 MiB) Downloaded 169 times
Dragons are great.
Re: Platformer Collaboration. I'm a noob, so noobs are welcome.
Why do you use all caps so much? IT COMES ACROSS AS HOSTILE when you do that. (I'm not meaning to be hostile - just trying to demonstrate the effect that has.)
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Re: Platformer Collaboration. I'm a noob, so noobs are welcome.
Thanks! Could you give some platformer help? Also, I would love to make you a profile picture. Anything you like!
Dragons are great.
Re: Platformer Collaboration. I'm a noob, so noobs are welcome.
Your WIP.love looks decent enough - WASD to move/jump, wall/ground collisions seem to be working. You can currently jump repeatedly whether or not you're on the ground (bug or feature? lol) and the level doesn't scroll with the player cube. Those might be the next things to look into.
And thanks for the avatar offer, but I'll pass on it. I have an avatar stashed away on another PC, and I've just never bothered to pull it out and upload it. Maybe I'll do that someday.
And thanks for the avatar offer, but I'll pass on it. I have an avatar stashed away on another PC, and I've just never bothered to pull it out and upload it. Maybe I'll do that someday.
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Re: Platformer Collaboration. I'm a noob, so noobs are welcome.
I just don't know how to make it check for ground, or else I would put a triple-jump limit. I am using the love.physics module, but with the Windfield lib to make things easier. Wanna check out my GitHub repo to help more?milon wrote: ↑Tue May 17, 2022 4:47 pm Your WIP.love looks decent enough - WASD to move/jump, wall/ground collisions seem to be working. You can currently jump repeatedly whether or not you're on the ground (bug or feature? lol) and the level doesn't scroll with the player cube. Those might be the next things to look into.
Oh... Can I make you anything else?And thanks for the avatar offer, but I'll pass on it. I have an avatar stashed away on another PC, and I've just never bothered to pull it out and upload it. Maybe I'll do that someday.
Dragons are great.
Re: Platformer Collaboration. I'm a noob, so noobs are welcome.
Why has nobody checked this out?PixelHero wrote: ↑Thu May 12, 2022 12:41 am PS: I am placing the code in a GitHub repository. The link is here: https://github.com/PixelHeroFromLove2d/Collab-1
Dragons are great.
Re: Platformer Collaboration. I'm a noob, so noobs are welcome.
Checking for ground (since you're using a physics library) is essentially doing a collision check between the player and any (nearby) objects. Standing on the ground is just a special-case collision where the ground is under the player. To implement triple jump, use a jump counter that resets to 0 when the player lands on the ground. Jumping is only allowed if jump counter is less than 3.PixelHero wrote: ↑Wed May 18, 2022 12:42 amI just don't know how to make it check for ground, or else I would put a triple-jump limit. I am using the love.physics module, but with the Windfield lib to make things easier. Wanna check out my GitHub repo to help more?milon wrote: ↑Tue May 17, 2022 4:47 pm Your WIP.love looks decent enough - WASD to move/jump, wall/ground collisions seem to be working. You can currently jump repeatedly whether or not you're on the ground (bug or feature? lol) and the level doesn't scroll with the player cube. Those might be the next things to look into.
Sure, I'm open to that. Feel free to PM me.
I can't speak for anyone else, but these are my reasons:PixelHero wrote: ↑Wed May 18, 2022 2:52 amWhy has nobody checked this out?PixelHero wrote: ↑Thu May 12, 2022 12:41 am PS: I am placing the code in a GitHub repository. The link is here: https://github.com/PixelHeroFromLove2d/Collab-1
1 - My free time is extremely limited. I work full time, I'm a husband, I'm a father, and I own a nearly 100 year old house that needs a lot of upkeep. It's therefore difficult for me to get meaningfully involved in any additional projects. (I actually do most of my coding & forum posting during any downtime at work, lol!)
2 - External libraries are kind of a turn off for me personally. Yes, I'm weird that way, lol! I typically don't understand the code or I dislike the implementation. As a result, I'm really uncomfortable relying on them as a result. I might look at them to learn something, but it's much more efficient for me to write my own code.
3 - I looked at the posted .love file and assumed the git was basically the same - there's been no real activity since the .love was posted.
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Re: Platformer Collaboration. I'm a noob, so noobs are welcome.
There has been plenty of activity, and there would be more, if people were more willing and able to help. Here's the new .love:
- Attachments
-
- .love
- Has 3 songs
- (9.56 MiB) Downloaded 172 times
Dragons are great.
Who is online
Users browsing this forum: No registered users and 5 guests