Python Forum
How to make a walljump + move between rooms ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make a walljump + move between rooms ?
#2
A dash would simply be the player moving maybe 4-6 times the usual pixels. For Stamina, just have a stamina variable and if it reaches 0, they can't move or if it get's low they move slower (half the usual pixels). One last thing, if you have a player, you should make a player class and give the class all the attributes of a player and functions such as move and draw. Then execute the draw and move functions from the game loop. Hope this helps!

For moving between rooms, I either have the player touch the side of the screen, or touch a door/exit
Reply


Messages In This Thread
RE: How to make a walljump + move between rooms ? - by SheeppOSU - Jul-17-2019, 08:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to make an image move in relation to another in PYGAME CompleteNewb 1 2,341 Nov-10-2021, 03:38 PM
Last Post: metulburr
  [PyGame] how to make objects move at a precise amount of time? Zhaleh 2 2,649 Aug-02-2020, 02:52 PM
Last Post: Zhaleh
  How can I make all of the background move as opposed to just one platform? HelpMEE 6 3,000 Dec-28-2019, 11:04 PM
Last Post: HelpMEE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020