Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. menator01

    Python PyQt5 - Python 3.12 Music Player - Part 1

    In this part we are going to take the MVC (Modal, View, Controller) approach. Modal - Handles all data manipulations View - Handles the display Controller - Handles the communications between Modal and View To install PyQt6 open a terminal and do pip install pyqt6 pip install mutagen To get a...
  2. menator01

    Python PyQt5 - Python 3.12 Music Player - Introduction

    In this tutorial we will be creating a music player using PyQt5 and Python 3.12 Requirements: PyQt5 Python 3.12 Mutagen What the app will do is allow us to browse for music (mp3) files, add them to a playlist, use a next/prev buttons, and have a volume knob. Although this image was written...
  3. menator01

    Fun activity Share your tech stack 👇

    Although I do this for a hobby so my knowledge is not really great on the programming. I'm still learning. My preference: Frontend : Either tkinter or pyqt Backend: python sqlite3 and sometimes mysql If I do a website Frontend: php - not really messed with php since version 5 I have tried...
  4. menator01

    Python Simple pygame dodge car game - Scoring and start page

    In this final part of the tutorial we will implement a scoring system and start page Scoring: Create a function for displaying text Player class add attribute for keeping the score total Blit the score to the screen function for displaying text def score(score): # Create a font and size...
  5. menator01

    Python Simple pygame dodge car game - sprite collisions

    In this part of the tutorial we will be adding sprite collision detection In the game loop, I put it right under the update and draw ''' Mob has moved off the screen kill the sprite. Create a new mob. ''' if mob.rect.top > 720: # Screen height mob.kill()...
  6. menator01

    Python Simple pygame dodge car game - Player and Mobs

    In this tutorial we will be creating a classes for the player and mob cars In the cars images I downloaded, I took and edited the images with gimp as the has space around them that was causing the mob cars to hit the player car at a distance. I just used crop to shrink/remove the spaces. I've...
  7. menator01

    Python Simple pygame dodge car game - The Road

    In this tutorial we will be creating the road. Although there are several ways of doing this, I created three functions. One function for the blacktop part, one for the 2 yellow lines, and one for the white dotted line # define a function to draw the yellow lines def line(surf, x): line =...
  8. menator01

    Python Simple pygame dodge car game - pygame window

    The directory structure I'm using: car media images cars car.py car being the main folder, media to hold all the media types folders, images, and then the folder holding car images car.py should be something like: # Do the imports import pygame import os ''' Get the path of the...
  9. menator01

    Python Simple pygame dodge car game - Introduction

    In this tutorial, we will make a simple pygame dodge car game. Requirements: python 3.12 Note: python 3.10 and 3.11 will probably work. pygame 2.5.2 Images I used images from opengameart specific images are pixel-race-car-pack Editor of choice. I use vscode The game should look something like...
  10. menator01

    Number guessing with tkinter

    To an extent. It's a pretty old frame work.
  11. menator01

    Number guessing with tkinter

    yes. Others used in python are wxPython and PyQt. Tkinter in my opinion is easier to learn. Unlike PyQt and wxPython, it doesn't look the same on all os
  12. menator01

    Day 1 - Halloween Coding Challenges 2023 - PHP

    Tomorrow, do you want the whole code or just the number?
  13. menator01

    Number guessing with tkinter

    Although not related to the original topic, here is an example of python using tkinter. View: https://youtu.be/gQNImxPmpFQ
  14. menator01

    Number guessing with tkinter

    Gui in python. Newer versions of python. https://docs.python.org/3/library/tkinter.html
  15. menator01

    Mostly when I get bored. I try to apply what I've learned in between re-writes. My latest is a...

    Mostly when I get bored. I try to apply what I've learned in between re-writes. My latest is a shmup game written in python 3.12 using pygame and sqlite3 database. Been trying to get any bugs I find worked out. The old project had everything in one file. This write I brike everything down into...
  16. menator01

    Good. Been doing a little re-write from one of my old projects.

    Good. Been doing a little re-write from one of my old projects.
  17. menator01

    How are you?

    How are you?
  18. menator01

    Hello

    Hello
  19. menator01

    Shmup version 0.02

    Ive' finished a re-write of one of my old projects. I welcome all feedback. https://github.com/menator01/shmup2 Requirements: python 3.12 pygame 2.5.2 sqlite3
Back
Top Bottom