Python Forum
I have an idea and don't know where to start...
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I have an idea and don't know where to start...
#2
This is what programming is all about. Figure out how to program your code. More you program without copying. The more you will learn.

I would use a surface for her name. Then use a rect to color out here name. As you move sprite. You shrink and move the rect.
# Sprite moves.
if cover_rect.w > 0:
    cover_rect.x += sprite_x_movement
    cover_rect.w -= sprite_x_movement

# Draw
screen.fill(clear_color)
screen.blit(hername_surface, position)
if cover_rect.w > 0:
    screen.fill(clear_color, cover_rect)
99 percent of computer problems exists between chair and keyboard.
Reply


Messages In This Thread
RE: I have an idea and don't know where to start... - by Windspar - Jul-25-2020, 06:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  class has no idea what i am talking about, and i have no idea how to give it the info TheNumericDolfin 3 2,751 Aug-16-2018, 05:39 AM
Last Post: TheNumericDolfin

Forum Jump:

User Panel Messages

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