A tournament

I hate to admit, but I did rip the art from an online sprite database. Being I little concerned with infringing on copyrights, I did look up the maker of the game, and the Japanese business no longer exists. I was hoping to get in contact with someone, just to ask if it was OK to use these images.

As for the uphill, downhill challenge, I’ve been reading around on different approaches. I could still rely on the idea of the player overlapping the ground, but unfortunately I don’t know where the overlap occurs. I could just keep positioning the player to be a few pixels above the ground, until it no longer overlaps. Also I need to move the ground sprites at a certain x,y speed that matches the vx of the player.

This type of programming would certainly make for an interesting stream for the team.

1 Like

@cosmoscowboy there is a great writeup on how sonic games did slopes here: http://info.sonicretro.org/SPG:Slope_Physics

I based my slope demo off of that

2 Likes

It took me awhile to recall a similar game that I played before on the NES 30 years ago. It was a fun game, Adventure Island 2.

Weststone had made the original, but also allowed other companies to make their own version as long as it did not contain same title. Hudson Soft had indeed made their own with version of Adventure Island.

@richard
Thanks for the tip, I will have a look at how that is done; that is if I understand it :wink:

I based my slope demo off of that

Do you mean this game?
hill runner (makecode.com)

I not sure which post will be approved first, but this version is slightly improved:

When checking whether the player is on the slope, if the player is not moving left or right, I set the vy and ay to zero. :+1:

1 Like

I found your demo here: Platformer extension demo - Arcade - Microsoft MakeCode

Based on this idea: Slope collision test - Arcade / Game Design - Microsoft MakeCode

I made this.

I know it is not perfect, as the sprite bounces up and down on certain parts of the slope, but good enough for me (and frankly, also for my little knowledge of trigonometry :blush:). I am happy with the result and also how the sprites move at the correct speeds. :astonished: :+1: :grinning_face_with_smiling_eyes:

1 Like

Slightly beter version:

1 Like

I’ve also done things with slopes too:

1 Like

I’ve been working on this too. My son asked to design a Captain Toad game on MakeCode. When he mentioned that the player can’t jump, I told him it will be a challenge. I’m trying to teach him programming and I want to stay out of JS and focus only on blocks. He’s been debugging and learning when you try something it doesn’t always work and you keep trying. Right now our slope algorithm is acting like a conveyor belt that makes the player move faster. The other algorithm we are working on is climbing ladders.

I’m very curios to all ideas where a player can walk on a slope, so I can figure which works best. I’d like to see what you are working on when you get so far.

I like how you can walk under objects, and also climb over them; well done.

Work in progress:

4 Likes

Yes! But rn I am coding something already (Among Us) so I can’t help too much!

1 Like

Who dare say inappropriate things in my topic!! >:(

3 Likes

he said nothing wrong idk why they flagged him.

i put this extension in my game and it broke it :sob:

1 Like