Python Forum
I want to add a bullet function to my game. how would i go about it?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I want to add a bullet function to my game. how would i go about it?
#1
I'm relatively new to python and I'm currently following a tutorial for a fighting game in pygame, but i want to add my own changes and additions. I'm trying to add a shooting function, but i have no idea how to go about it. I've seen the list method but don't know how to implement it because my game uses a player class and a main function, and i want to be able to assign the function to a button press.
.py   Even Cooler.py (Size: 2.35 KB / Downloads: 56)
.py   Player.py (Size: 6.75 KB / Downloads: 57)
Reply


Messages In This Thread
I want to add a bullet function to my game. how would i go about it? - by Iyjja - Jan-02-2024, 05:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Bullet firing skillamac 1 2,498 Aug-07-2020, 09:56 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