how to banana soup:
- clone repo
- make sure dependencies are installed (see below)
- open however you want
dependencies:
- python 3
- pygame
Pygame game I am working on with my friends to learn python/game dev
An EntityHandler class for easy creation, deletion and Pathfinding/entity movement.
This will need to work well with the Entity class and have scalability in mind. We will likely add more attributes to the Entity class soon
add some configuration stuff for input handler, store inside of the class
be able to change what keys you are using to move with some nice methods to access it from a future options menu
make the user able to resize the screen without causing horrible side effects,
after we make a camera system we will need to add some extra functionality so that may be a new issue down the line
Rewrite blob program to allow for more than 1 blob and also iteration through blob coordinates to allow for scaling:
Blob into list
Do normal location check but compare all the coordinates via for each loop
Eventually migrate to calculating closest blob while moving to help with workload
#5
Eventually run foreground ticks and combat/tile registration individually to prevent fps/built in render throttles from interfering with combat/eco
This is sorta exclusive to Multiplayer though, which should be the long term goal.
Decide between a client side server system to allow players to connect to eachother or a dedicated server for players to connect to.
C# Might be the best option here and is something I plan to explore the upcoming days. A lot fo what I plan to do is essentially just location data and Object creation. Handling connect/disconnect with creation/deletion of entities.
Discuss how we want to handle maps (Scrolling map? Set boundaries with doors? Idk)
And rooms. This will decide A lot about our game.
A class to handle inputs for character movement. As well as a tag along class that handles the input config (Likely through a text file/config file, just make sure to close the stream so we can easily access that file and make changes elsewhere)
Menu UI for closing the game, settings (Such as game resolution and screen size) as well as a menuHandler class.
Basic buttons needed:
Resume, Exit
Add a button somewhere (Maybe a hotbar too) to show # of Items picked up/bought. When item is picked up remove blob from “entities” list THEN create a new instance (New instance creation shouldn’t be cooked into anything, for testing ofc). Maybe iterate through # to keep Blob IDs lower.
#5
FPS Counter
In PR #5 we added a line to print when entities are created, we just need a (probably constant) variable to control this inside of main()
Python makes this annoying
There are existing ways to package python applications into a .exe, however they
Pygame is based on SDL which is a C library, so it probably has to bring the .dll file along
Might be reasonable to create an installer that just installs python and downloads our scripts instead of an .exe file that contains all of python
One advanced idea would be to just compile the python with some like C compiler thing (that would be a whole different issue, this would give us a LARGE performance boost)
Double buffering
For now you could just cache what images have been loaded already
Dunno if pygame does that
We also should be able to make the entity constructor a bit easier to use / use this with entityhandler
Create a subclass of entity that allows you to create a player(Entity)
The goal behind this is to differentiate between the two easily.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.