Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Doodle Jump
#2
The big tip I can offer is to use pygame sprites and pygame's collision detection.

HERE is a video from a tutorial I followed a while ago on making exactly that type of game. I would do it all largely the same if I were to do it again.

He uses pygame.sprite.spritecollide() for detection and the screen scroll happens when your player hits a certain height on the screen. When the player hits that height, all the platform sprites have a number added to their y coordinates.
Reply


Messages In This Thread
Doodle Jump - by Dafteaser - Apr-25-2020, 01:18 PM
RE: Doodle Jump - by michael1789 - Apr-25-2020, 09:49 PM
RE: Doodle Jump - by lolloiltizio - May-25-2020, 09:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyGame] infinity jump problem augusto_A 3 1,707 May-27-2023, 01:17 AM
Last Post: deanhystad
  pygame double jump problem Yegor123 3 2,687 May-02-2023, 09:34 PM
Last Post: sudoku6
  [PyGame] Problems with jump code in pygame Joningstone 4 5,478 Aug-23-2021, 08:23 PM
Last Post: deanhystad
  [PyGame] Having 4 players(Sprites) all being able to jump ElijahCastle 5 4,108 May-07-2019, 05:04 PM
Last Post: SheeppOSU
  Doodle Jump themed game! georgecoopers 1 5,872 Apr-11-2017, 08:47 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

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