#game-development
1 messages ยท Page 102 of 1
um what
Hey so initialising a list of mine in my player class just stops my code from running. When I comment out the line it runs but when i dont the whole game just stops. I am also not using the variable for anything at all. Any reason why this might be?
show the relevant code.
shall i ping u in a channel or just send here?
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
def __init__(self, x, y, width, height, health, health_x, health_y, lives_x, lives_y, direction, chosen_char):
...
self.chosen_char = chosen_char```
the self.chosen_char = chosen_char line just somehow stops the code
from _thread import start_new_thread
from game import Game
from player import Player
from characters import characters
import pickle
...
player1 = Player(400, 350, 48, 48, 10000, 100, 725, 100, 755, "RIGHT", characters[1])
player2 = Player(810, 350, 48, 48, 10000, 900, 725, 900, 755, "LEFT", characters[3])
players = [player1, player2]
What error are you getting?
and are you using self.chosen_char anywhere else
nope
ill send the error now
Traceback (most recent call last):
File "C:/Users/Bakri/PycharmProjects/TechnicalSolution1/client.py", line 325, in <module>
menu_screen()
File "C:/Users/Bakri/PycharmProjects/TechnicalSolution1/client.py", line 277, in menu_screen
main()
File "C:/Users/Bakri/PycharmProjects/TechnicalSolution1/client.py", line 107, in main
player.action = 0
AttributeError: 'NoneType' object has no attribute 'action'
this doesnt happen unless i write the line self.chosen_char = chosen_char
is TechinalSolution1/client.py your file
yep
ok find that line number in the file and see whats wrong
i did try but idk why i cant just initialise the list
maybe its becuase you were working with a single player initially and now you are workinng with a list so you need to change parts of your code
ie player.action vs players[0].action
With a little help I added snow to my game
I will do it anyway
This py?
Yeah
wow thats amazing
I made this pokemon legends arceus simulator
Hey @tacit surge!
It looks like you tried to attach file type(s) that we do not allow (.exe, .dmg). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.
Feel free to ask in #community-meta if you think this is a mistake.
Hey @tacit surge!
It looks like you tried to attach file type(s) that we do not allow (.dmg). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.
Feel free to ask in #community-meta if you think this is a mistake.
for sum reason i cant send exe on discord
because it may be potentially malicious, like this one can be, for that matter.
@tacit surge hi, sorry, we do not allow sharing exes here
also don't try to circumvent our filters in the future
you're free to share a link to a github repo
this is a good idea
thank u and sorry for sending illegal msg
i didnt mean to violate rulez
game overview
Any professional game developers dm me please
yesss
is it hard to code a game in python?
Depends on the game, framework/engine, and your definition of hard
ye it kind of is but use pygame to get started and just try thing of a game and google all of the steps instead of watching a youtube video and then not know how to do anything
Trynna be like you ma man
What framework did you use to make 3d games?
Exactly
in general
Ursina and some lower-level Panda3D
I use numpy and pil a lot too
Nice, looks unsettling
does anyone know to convert a pygame file into exe
i have a code file and some folders with the audio, graphics, and font
pyinstaller
does anyone know how I can get the user input and make it
What?
Like getting the user input
input() func
Line 52 to 56
Not working
Plzz help me and fix this
I have been trying to fix this for weeks
Use event.key not event.type
Yes
what colours does the classic gui for 2048 use?
Is panda 3d a good engine
Does anyone know where i can obtain like a good asset creator? trying to make buttons like start exit, pause etc for my pygame but i suck at drawing. Unless there is a easy to use tool anyone knows of
I have been using Ursina, it's the best FPS (30-60) you'll get for Python that I know so far
You'll be able to make low-poly shooters with it, there is a dummy guide for ursina for the most part it's pretty easy to learn and use
What's the simplest way to delay an event in pygame. When i kill an enemy, i want them to finish their animation before I remove them off screenhttps://stackoverflow.com/questions/47463646/how-to-delay-an-event-in-pygame-without-delaying-all-other-functions
iโm guessing time.sleep() would work?
hi guys
does someone can help me ? im coding a tetris in pygame but i have some issues
everything is explained here #๐คกhelp-banana
what was the total development time?
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
15 hours I think
hey all making a text based game which is almost like a sandbox mix rpg don't know it tags yet. but anyways i want to add a ranger class but i cant figure out how make it so it can have range. i was thinking maybe +10 or something on Evasion chance but it doesnt really make sense due to if a creature has a close range attack it will never hit a player at a long range.
forgot to add "Any suggestions"
do you guys think a system were it a distance like 20 squares or something and say your on square 1 and the enemy is on square 20 and depending on the type of damage long or short range has modifiers which affect evasion would work. such as if your using a long range form of attack your modifier would be x 1 and unless 2 squares within for a short range attack the modifier is x 0
dang how do you have that much time and stamina lmfao
Hello @foggy python I just read a good article on AABB collision detection/response. They explained how to use continuous collision detection/response. This is where you check a frame ahead and position the boxes up against the other ones.
Tags: Physics This blog post includes a discussion about AABB collision resolution: what it is and isn't, it's strengths and weaknesses, some common pitfalls, and how you can (hopefully) implement it in your low-level gaming tool of choice, if needed. I learned all this (the second time) as part of โฆ
Just wonder what your thoughts are on AABB collision/response.
discrete or continuous?
I haven't looked into collision methods much. The methods I've been using have been working fine.
I have a video on it
Awesome id like to see it. Can you link it?
I mean im probably gonna watch all your videos on programming.
Tile collision physics confuse a lot of people, so I made this video with fancy MS Paint drawings to explain the concept.
The code written in this video can be found here: https://pastebin.com/W04srBRq
My Twitter: https://twitter.com/DaFluffyPotato
In this tutorial video, I give an in-depth explanation about how I handle tile based physics in...
ah yup
I was able to modify the code to allow the player to slide when colliding with walls or vertical edges. I used this articles pseudo code https://www.deengames.com/blog/2020/a-primer-on-aabb-collision-resolution.html Pretty cool concept and was explained well
Tags: Physics This blog post includes a discussion about AABB collision resolution: what it is and isn't, it's strengths and weaknesses, some common pitfalls, and how you can (hopefully) implement it in your low-level gaming tool of choice, if needed. I learned all this (the second time) as part of โฆ
Thinking about the collision in terms of the velocities components makes sense to me and is actually used in the articles method of continuous collision.
Im having to use raycast at the bottom of my player to tell if its on the floor. I do the same to the sides of the player to tell if its on a wall
It has some problems. Biggest problem is when the player collides with a rects corners. Sometimes the player will go through the tile/wall.
Anyone here work with Roblox API?
If youโre saying mine does that, it doesnโt.
@foggy python Love your work - if you're interested here's a project of my own using Python and Pyglet (forgive me if I brought this to your attention before)
they take down the site during major political events
whaaat? how come?
to make a statement
a statement of peace?
What's the logic behind online/LAN play in games? It uses websockets or what?
Where do I find the archive
websockets are a pretty common way, yeah, since it allows you to handshake once and then maintain a continuous connection
3D labyrinth game work in progress ๐
hey i saw that on dafluffypotato's yt and it looks sick
wait
ITS HIM
that pauses the whole system
there's a part in coding with russ shooter guide where he explains animations on death. i think its part 4 or 5, somewhere around there.
it's on the front page in the bottom left corner
ursina?
Nah I am using Harfang 3D
looks cool
thanks ๐
ookay thank you๐
yeah i'm trying to learn that too (sorry pokepetter :D) but idk where to start
where did you start?
I started by learning algorithmic development, then went onto 2d interfaces, and a little bit more each day towards 3D ๐
There's a ton of tutorials with that engine, it supports 2d and 3d and has a really nice AAA rendering
You can DM me if you need any help
What is the problem here?
could you send the link to the resources? i really couldnt find anything on harfang lol
well you're not calling app.run(), you forgot the brackets at the end
app.run -> app.run()
No, it's a bug with gamepads
If you have one plugged in, or even some other usb device, try unplugging it
What's everyone developing ?
And I'd a question, how difficult is it to develop a RTS game ?
And how long did it take you to learn Python?
The problem was with gamepad being plugged in, plugging it out resolved the issue. Thanks for trying to help, anyways
ah
weird, the app.run not being called is another problem i'm sure?
(oops i didn't know there was an error, i thought the code just didn't run, mb)
RTS is probably of the more complicated genres to make imo
i am currently updating a 3d game made by someone else
Discord
nice
btw what module would you suggest to make basic 2d games for a beginner?
ursina
I meant my implementation . . . The one i showed in the video
Pygame personally
i just meant that both look at the x and y components separately. Many ways to solve this problem. Cool that you found your own way. I just read an article but at least i understand the code enough to modify it to my liking.
alright
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
Nice ๐
You good?
and 2d
arcade
godot 
What does arcade have over pygame?
they have compared themselves with pygame in their docs
Where
What page
oh arcade has
Oh cool with arcade i can use Opengl indirectly?
and its MIT license
Idk tbh
um can anyone tell me how to add sounds to my game
Hello, everyone, I'm a new programmer from Canada, and I'm looking for other new programmers to be friends with motivating each other and just chill and have conversations with anyone is welcome and I am down to be friends with anyone!
A little about me - I am 17 years old from Canada in love with gaming and programming and anything that involves technology.
anyone is interested send me a message and let's talk!!
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
Hey @foggy python I would like to release my pygame game as a commercial product. Do you know what license i should use if any? Its going to be closed source with a few friends contributing.
I don't use any license since the default is all rights reserved
ah cool and pygames LGPL allows this since im not modifying the software and just using it
This is not legal advice. I would recommend forming a company and hiring your friends or you have to have some written agreement that whatever they contribute is your property.
(And idk if they want to work for free)
Thanks. I wouldnt make them work for free. They would get a pre determined amount at the end
or 50% of sales something like that
This is not legal advice. I would make that agreement / company now, not later. Otherwise it can end in broken friendships and lawsuits (I have witnessed it before).
Ok ill be carfeull who to add. Right now i just help python beginners. This was hypothetical as i dont see them really contributing.
But as soon as they are contributing i will make some agreement
Free and open source is fine, but as once as things get commercial, you need to take it seriously.
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
:incoming_envelope: :ok_hand: applied mute to @blissful pier until <t:1646264069:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
:incoming_envelope: :ok_hand: applied mute to @blissful pier until <t:1646264684:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
hey hey so for some context i was working on this basic game, i gave it some features and used if statments, sadly when i put "else" at the end for a final possibilty, the program prints 2 things at once. happens a lot
so i replaced if with elif
wizard_responses = ["uhh..", "that's a weird question..", "for sure!", "i don't know", "nope", "never, 0 chance", "maybe", "i'm not sure..", "yes!", "ofc!", "yeah i think so!", "probably..", "you should ask someone else!", "NO SHOT!", "i doubt it", "yes. 100%.", "without a doubt"]
if cmd == "/wizard":
wizard_ask = input("ask me a question! ")
#questions
if wizard_ask == "hi":
print("[WIZARD]: o/")
elif wizard_ask == "how are you":
print("[WIZARD]:i'm fine. Had some coffee this morning.")
elif wizard_ask == "you suck":
print("[WIZARD]: i will cast a spell on you\r if you don't stop these insults! ")
elif wizard_ask == "i'm sad":
print("[WIZARD]: if you're depressed, please,\r seek therapy. It would benifit you,\r or try talking to someone about it! :) ")
else:
wizard = random.choice(wizard_responses)
print("[WIZARD]:" + wizard)
now nothing gets printed
anyone know why? i'm rusty and i'm looking to get back into programming

are you still working on this, i think i could help
Where do you define cmd?
I think so, it's basically pyglet's opengl wrapper iirc
hey! this is pretty large program and i have clipped out a small portion of it
cmd is way up
cmd is basically a veriable where u enter input/a command
and it gives a response
for the type of command
in this case
it's /wizard
yep, i am
Have you debuged it with print statements to see if certain code executes?
Hey @opaque forum!
You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.
this is the entire project, looking back, it doesn't seem that big after all lol
it has some basic functions like /discord, /game, ect
the only current game available is rock paper scissors, and in that too, the if and else statements bug and print twice
@dawn quiver
This is what i mean by print statement debugging. Have you tried to do this to find the source of the problem?
if cmd == "/wizard":
print("CMD equals /wizard")
You shouled try
alright. I'll get back to you
do the cmd variable exist?
Its kinda hard to help when you dump the source code on me without debugging it yourself first.
yeah
i sent the source
u can check it out
ye i saw it
yeah big time
uh let me show you what i'm getting
when i ask the wizard something which i speficied, for example "how are you"
it replies no problem
but
it's kinda like a 1 time use like if you run it once you can only do 1 command
yeah
you got to re-run
which i find annoying but i don't know how to work my way around it
you can put it in a while loop then it loops until you quit with the command "quit"
idk when i copied from paste site it has a bunch of wierd indetation. Python doesnt complain but it will when that variable isnt defined
https://www.programiz.com/python-programming/online-compiler/ try running it here? it's the exact same except the website is kinda buggy and sometimes u might glitch the program
Write and run Python code using our online compiler (interpreter). You can use Python Shell like IDLE, and take inputs from the user in our Python compiler.
and you have to rerun
pycharm also works 
hm. where do i start the loop though
.
start it here where you get the cmd
cmd = input(">> enter a command: ")
then add a quit command
a while loop runs everything in it while its condition is met so you should put everything to be repeated inside it
running = True
while running:
cmd = input(">> enter a command: ")
# The commands here
@unreal river
it doesn't register other commands
uh nvm
fixed it
it was the indents
id start from scratch and use a while loop
yep i made it organized
sorta)
it all works fine in a loop now
just needed to add a few spaces
i'm usually working on pycharm so it guides me where to write what
i'm writing this online because my computer (main one) is down
and i'm too lazy to install pycharm
wally
wallpos_y
nope not what you think
wall y sounds ok thi
its just a flag to say its collided with a wall
oh
but wall also means something else
ill fix it
yeah its really cool to play around with
right now im optimizing tilemap collision
to only check the tiles around the player
awesome
probably can do some rounding to do that
but aabb shouldnt be that performance intensive
so you can afford to do it on every entity, unless the number of entities is the bottleneck ig
yeah but its giving me trouble
right now im checking only tiles closest to it in a ninepatch around the player
meh
i gotta sort out the code first
It can be tough becuase this kind of program cant be tested like other programs. You have to think about it logically and really know what your doing or else it goes through corners or something
yeah
Like i just went through a corner while testing. I set up a debug case that positions the player at a corner with velovity 1, 1 and nothing doent clip through
perhaps there is a better way
its really hard to clip through corners but its possible
Anyone knows a good library for simple 2D games
um please help me idk how to import sound in my game
pygame or panda3d i guess
ok thx
pyglet and arcade. arcade is a wrapper around pyglet so it may be easier to use then using pyglet directly
ok
hey i am new to python game dev
can i get some resources
hi i am starting game dev so can anybody tell the best programming language for 3d game dev
dm me
i guess c++?
c#
java
js
U can use unity which requires c#
Is pygame the best framework for games?
pygame is the best framework for python games
not in general
I heard that Pygame is slow
please help
https://www.toptal.com/developers/hastebin/iweqoxuwuw.py
im making a ray-caster engine for a doom like game
(put the attached image "map1.png" in /rec/maps/)
i started making the raycaster but it wont step and wont add to the recursion depth
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
python is slow so in turn pygame would also be slow
huhuhuhu help
i had a problem with the floor collision
but it only happens when there are 2+ objects in the list
so i tried making 2 collision code for each object
then nothing works
it didnt work
it only works if its one floor
Looks like a discord nitro gen tbh
anyone know a library like pygame but faster?
I was trying to convert a game made with python to an exe using auto py to exe but when I try to run the file it gives the error expected str, bytes or os.PathLike object, not BytesIO in the terminal. I am unable to get the error in the python file. How do I fix this?
@marble parcel
sir
could you add me please?
sir
i need to ask you smthing
any admins/leaders can anyone add me and help please?
Pygame is a wrapper around a C library and even has assembly components.
raylib?
hi guys
Add where 
!mute 949256710713909258
:incoming_envelope: :ok_hand: applied mute to @ionic trench until <t:1646438427:f> (59 minutes and 59 seconds).
Anyone here good with pytesseract and pyautogui dm me im tryna create a bot for something
wrong channel bud
a heard \
yeah i've tried that library in C++ but not the python port
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
Hey
what
You know what minkowski sum is?
nope
I can test a minkowski sum of the player and the tile against a single point for collision
its where you take a shape and walk it around the perimeter of another shape
just rect rect colision for now
you can make it polygon collision with this method?
the point is to keep the minkowski sum or shape on hand then test it against a point
which is much simpler then polygon vs polygon
but it achieves polygon vs polygon collision detection
Well for my case instead of creating rects i can just get the world coord of the tile
creating rects is not that expesnize but minkowski sum is cool
Its not an expensive operation for rects so im using it
but for more complex shapes it is
oh, why not use aabb then
would you use this in the future for polygons?
im not sure what its good uses are. I just know that i can use it now and it seems right. 1. I dont store the rects in the tile so i have to calculate the wrold position. Instead of making a rect i can just use that point against a bigger offseted rect for the player.
Its a small optimization
Im sure there are better uses
it would not be good if i had to calculate the minkowski sum agaisnt the enemys becuase their hitboxes vary. I just do this for the tiles
so im doing aabb vs aabb for the enemies
Its just so lil complexity that i wanted to add it in
Area of new green space = ฯr^2 + P*r [P - perimeter of initial polygon] for any initial black polygon
Isnt it?
I'm trying to remove the transparent space of the image, but somehow I don't get it. Can someone tell me please why this doesn't work:
HEART_IMAGE = pygame.transform.scale(pygame.image.load(
os.path.join('Assets', 'Heart.png')), (WIDTH, HEIGHT)).convert_alpha()
HEART = pygame.transform.scale(HEART_IMAGE, (50, 40))
I'm trying to get pyxel working in python, but it just isn't. Right now I have the most simple code in it:
`import pyxel
class App:
def init(self):
pyxel.init(160, 120, title="Hello Pyxel")
pyxel.image(0).load(0, 0, "assets/pyxel_logo_38x16.png")
pyxel.run(self.update, self.draw)
def update(self):
if pyxel.btnp(pyxel.KEY_Q):
pyxel.quit()
def draw(self):
pyxel.cls(0)
pyxel.text(55, 41, "Hello, Pyxel!", pyxel.frame_count % 16)
pyxel.blt(61, 66, 0, 0, 0, 38, 16)
App()`
Yet it still gives me an error message
Anybody got any good ideas for text based games? Preferably arcade style games, so not a text based rpg
Ok someone please help. I just want to open the image editor in pyxel but it doesn't work
pls help
Yes, it's called GJK.
Spheres are nice and all, but there comes a time when more complex shapes are needed. One popular algorithm for testing collisions is the GilbertโJohnsonโKeerthi algorithm, or GJK for short. With it we can detect collisions between any two convex polygons.
Check out the full article: https://blog.winter.dev/2020/gjk-algorithm/
Intro- 0:00
Sphe...
It's pretty common for collision detection in games/physics engines these days. Works in N dimensions.
Another video on it:
In 1988, three engineers came together and developed one of the most clever solutions to the problem of detecting when two complex objects collide. Their solution, the Gilbert Johnson Keerthi (GJK) algorithm, named after the authors, made an incredible impact in the fields of robotics, control, and computer graphics. This video is about understa...
maybe but the minkowski sum in the resulting shape not the area.
how is the job market for game devs? 
ah cool
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
The seocnd paste is a function that gets the shortest collision time and the normals of the surfaces collided
between a point and a rect. Im using minkowski sum.
oops wrong place
iran ?
Yooo
I
got
boss recently finish in my bullethell
GAME DOWNLOAD: https://soccerstar118.itch.io/particle-getaway
I decided to post another full game vid since its been a week since last one
If I'm being generous with what is an attack, I have 16 to 18 attacks done for the bossfight (square). I definetely be adding more than 20...
(there was an unavoidable damage taken during transition betw...
yo what thats actually pretty cool, i like the fact that there are so many mechanics. i tried making one before, but the only concept was like dodging bullets, where here you have that line thingy, pretty sick
what language is it in? python?
Ye python
I'm using the pygame library
But I'm not really using any of the inbuilts
Outside of the drawing and player input and the clock.tick
doing stuff like collision and projectile objects manually since I thought itd be fun
u mean the square line thingy or that gradient line thingy
trying to make every attack I make have some unique factor / different pattern
the circle that became smaller and that rotating lines
why is there that weird spraying that disappears quickly though? is that a glitch
hold on
27 seconds in
before the purple attack
is it intentional? looks like a glitch lol
Nah that's intentional
Supposed to be a telegraph for where the attack is
*doesn't do damage
I had a different telegraph (a circle expanding) but then added that one in
And thought it looked kinda funny but never changed it
should I make it go the opposite direction of the particles going into the center of the next attack instead?

Btw
Do u think I should add more attacks
In the form of adding to the current bossfight (square)
To the section before the bossfight
Or start on a new 'level' after the square, with a corresponding bossfight
I'm using pydroid to make game android but my problem is why error in pydroid but running in desktop. is there tips or link error in pydroid? thank you
did I correct enter this channel to ask the question above. sorry, this is my first join discord
I guess there is #โ๏ฝhow-to-get-help
Although this is probably still fine since the getting help isn't game development speciric
hmm it just looks glitchy because it disappears immediately i guess
you could make it fade out perhaps
adding to it would be better imo
maybe you didn't install the necessary libraries via pip, but yeah you should get a help chanenl in #โ๏ฝhow-to-get-help first
btw try making the spawnrate of the bullets something crazy and see how many bullets it takes to lag down the game
I have
I removed the slow downer which brings fps to 60 and game went into hyperspeed
aside from like 1 attack
music reminds me of queen. Very nice
:o
kk I replaced it
with smthing I hope looks more like a warning of an attack
broo thats awesome
fr
have you guys used the ursina engine before?
i'm trying to make it to the camera tilts 45 degreese when you push q or e,, kind of like in r6
any idea how to do that
def input(key):
if key == 'e':
camera.rotation_y = 45
or any other axis you want
Hey guys, kinda weird mix, but are there any beginner guitar players here? Because lately I've been developing a music theory app for guitar, and some opinions would matter the world for me :D I plan on adding chords, scales, as well as 4 string necks, but ablut the concept :D
Cool I wanna know how it works so maybe I can make one for piano
How do i create a graphical environment? I've seen packages such as pygame, but I would like to make an environment using a different method (i found pygame a bit confusing, and it didn't work for me).
try to use Tkinter
anybody else doing any late night programming?
i recomend ursin, its 3d not 2d but if your looking for one that you can find easy to follow videos on then ursina is a good one
thank you so much. Iโll look into it!
its actually what i'm using rn lol
this is where i get most of my ursina questions answered
https://www.ursinaengine.org/cheat_sheet.html#text
any sites recommendation for free music and stuff
i was doing python up until 5 am at which point I went to sleep yesterday
Idk why
google for them, there are tons but i don't use any, i make my own sounds
I know I can google, that's why I am here
๐ฉ
wdym, like you don't know what to google?
search "royallty free music"
any body know how to place a cube where you clicked with ursina?
create an entity with a model of "cube" at mouse.world_point
if you want mouse.world_point to land on something youd have to give that entity a collider
i'm trying to make a shitty minecraft, so how do i make sure the cubes are all square with one another? just set the rotation to (0, 0, 0)
you create an Entity() instance
um, maybe try rounding the coordinates to the scale of the cube, so all coordinates are multiples of that
so it would be ```py
if key == 'right mouse down':
Entity(model='cube', position=mosue.world_point
mouse*
you can try that yes
but if youre not actually clicking on any entity it would spawn some far ass place away
qnyway i hope someone else can help u if u need further help, gtg rn
I'm just here to check recommendations, not google recommendations :/
if i want those I already googled them
answer anything besides google just helps (even not answering)
make your own, download Magix music maker and make your music there and all your sound effects. its fun and much more rewarding
this way you make sure you get what you want
answers like that next time instead of google pls, thx
Any specific free software you recommend for that?
Magix maker im assuming
Iโve heard Bosca Ceoil can be good
Hi
I have a question
Is Unity3d and Unity 5 different? If yes, What is the different?
no, Unity 5 is version 5 of Unity3D
After that they changed to using the year as version number
How many mb it takes to download unity 5 editor
You should probably use a newer version, like Unity 2022, not Unity 5
LOL I'm using dm dokuru s music in my game
Since he did say people could use his music as long as it's credited
well if my game suddenly gets taken down I guess I'll know why though
lol
Although if you're charging money for your game
He did say not to use his music for that
So yeah I guess don't use his music if you want ๐ฐ
np
I hold no legal responsibility if you end up getting a content takedown warning
luul
lmfao
Hello anyone using ursina networking library?
hi i have movement script in godot
extends KinematicBody2D
export var GRAVITY = 10;
export var WALK_SPEED = 200;
export var JUMP_FORCE = 10;
var attack = false;
var velocity = Vector2()
var screen_size
func _ready():
screen_size = get_viewport_rect().size
func _physics_process(delta):
if is_on_floor() == false:
velocity.y += GRAVITY
if velocity.y < -GRAVITY:
$AnimationPlayer.play("jump")
if velocity.y > GRAVITY:
$AnimationPlayer.play("fall")
if Input.is_action_pressed("attack"):
$AnimationPlayer.play("attack");
attack = true;
velocity.y += delta * GRAVITY
if Input.is_action_pressed("ui_left"):
velocity.x = -WALK_SPEED
$Sprite.flip_h = true
if is_on_floor():
$AnimationPlayer.play("run")
elif Input.is_action_pressed("ui_right"):
velocity.x = WALK_SPEED
$Sprite.flip_h = false
if is_on_floor():
$AnimationPlayer.play("run")
else:
velocity.x=0
if is_on_floor():
$CPUParticles2D.emitting = false;
$AnimationPlayer.play("idi");
# velocity.x = 0
# smoothen the stop
velocity.x = lerp(velocity.x, 0, 0.1)
if Input.is_action_pressed("ui_up") and is_on_floor():
velocity.y = -JUMP_FORCE
if is_on_floor() == false:
velocity.y += GRAVITY
velocity = move_and_slide(velocity, Vector2.UP)
# prevent player going out of screen
func _on_hit_area_entered(area):
pass # Replace with function body.
This channel is for python game development, I suggest you get help here: https://discord.gg/4JBkykG
How do I make a game that can be used on a phone?
just google it
kivy?
Python is not really good for mobile development. Android uses Java and iOS has Swift
Unity is not bad for that.
You can use kivy with python for android.
But Unity & C# is probably a better choice for mobile
I would like to make a 2d UI game in python, I have made a few games with just terminal inputs but I would like to make something more, where should I start? also should I use pygame or ursina?
pygame, use the documentation from it and go from there
the pygame website is down atm, is there another way to download it?
pip install pygame
?
oh he said download I thought he wanted the documentation im stupid ๐คฆโโ๏ธ
I have pygame now but how do I use it in pycharm, doing import pygame still returns 'no module named 'pygame''
Google 'how to install pygame in pycharm '
you (probably) will have to re do this step for every new project u make
Your clearly new to python
learn the basics first
dont be so mean man, we are all here to learn
u wasnt being helpful at all imo tho
It's not the basics of python though, it's the basics of pycharm, since it has it's own way to install modules
um i dont know much about pycharm and pygame, but if it uses pip install its not that special or complicated
maybe he just never used pip install and is trying to learn, therefore he should have been nicer to him imo
well imo if you wanna start on gamedev, imo btw, you should learn more of the python basics first imo. if you dont even know how to install packages with your ide, imo, youre not experienced enough yet imo
๐
Wow ur so incredibly funny. But u already know that with all your friends
U know yourself u aint got no friends so just stop trynna be funny
No one is laughing
dude i am incredibly heartbroken rn, with all of my friends ๐๐
Let's spend our energy on something that actually matters ๐
Why are u trying to be funny so hard? Litterly No one is laughing
But imma stop now
U donโt have anyone else to talk to so ur enjoying this
hi
My code works in open source mode
But when I convert to exe, it gives me this error
Because I use pyinjector
How can I solve this problem and convert it to exe?
i want open exe
show this eror message
You can help me
Ok
I mean I switched IDE to a non online one when I used pygame so I didn't know how to install libraries when I first started my bullethell game
and Ive just been learning more Abt classes and other python stuff while coding my game
Not really, I know the basics but this is my first time using pip, I normally just make more back end stuff, or I use turtle
Correct, the idea of pip is very foreign to me, when someone told me you do it through command prompt, I thought it was a joke
How to inject dll with pymem
tbf decent chance if you learn pthon through school they just leave that out
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
Must be a bad school...
oof I meant
]
I learned Python through Codenation
Codenation?
it's like Olympiad but for comp sci
And silver level is the level idiots lazy people like me get tood
gold level is the actually meaningful one
๐
Can pymunk be used with pygame zero
Hey, would it be possible to use dicts to assign how much damage a weapon does?
Example:
randomdict = {
"Wooden Sword": 2,
"Iron Sword": 5,
}
and have it so if they have the Wooden Sword equipped and use it it does 2 damage the opponent.
and if works with that it should with like healing potions, like magic spells, or skills?
@chrome copper yes, you can do that
damage = randomdict["Wooden Sword"]
or
weapon = "Wooden Sword"
damage = randomdict[weapon]
sweet it this would work for using items for healing or mana regeneration im assuming
anything you like
question. so the Wooden sword would do melee damage and an Magic Weapon would do magic damage how would you make it so it does that?
ik that feeling. i was using varibles like Melee damage and had it so when you equipped it, it adds to it like + 2. and when you removed it it does - 2
it was a pain
script:
import pygame
import os
WIDTH, HEIGHT = 900, 650
WIN = pygame.display.set_mode((WIDTH, HEIGHT))
pygame.display.set_caption("E LAND")
RANDOM_COLOR = (200, 200, 200)
FPS = 60
BIRD_IMAGE = pygame.image.load(os.path.join("assets", "bird.png"))
def drawing():
WIN.fill(RANDOM_COLOR)
WIN.blit(BIRD_IMAGE(200, 200))
pygame.display.update()
def main():
clock = pygame.time.Clock()
run = True
while run:
clock.tick(FPS)
for event in pygame.event.get():
if event.type == pygame.QUIT:
run = False
drawing()
pygame.quit()
if __name__ == "__main__":
main()
error:
I was just trying to import the image but then it didn't worked out
each weapon could have different types of damage listed in it by way of a subdict
weapons = {
"Wooden Sword": {
"magic": None,
"melee": 5
},
"Magic Sword": {
"magic": 3,
"melee": 6
}
}
Has anyone here used machine learning to test games?
No I just learned how to use tkinter correctly
i know how to code basics and idk how can i code stuff in games
can someone help me understand it
what engine are you using
:ahahaha
@last tree what language are you using or software enige, for example i use ursina which is a panda 3d build off
which if you wanna make a low poly game then i recomend ursin a but its hard to learn
i use pycharm
idk
oh
unity i guess
i just want to make the code
i want to make little projects for people
i get it, i make them for friends and family too
like i'm trying to code a fre version of mine crasft for my brother and his friends so they can play privatley
nice
deffinatlly look up so tutorials, thats what i did
im trying to learn python too
lol ik
i just wanted to learn python and i want to know how people make projects for games
ik c#..
if you want to use unity you can look at this youtuber named Brackeys, he codes in C# with Unity
is python good 4 game development
like if I wanted to make a game like elden ri g
is python the way to go
helppppp
my floor collision works, i mean it detects collision
but it doesnt stop moving
No one person makes a game like that
Hiwcani install pygame
on windows type
python -m pip install pygame
on unix and macOS type
python3 -m pip3 install pygame
just download tlauncher...
Hey, how do I make it so someone can't mess with their save files and the code of the game?
Only way would be to run part of the game on a server. You can obfuscate the code and save files to make it harder, but'll still be possible
if you encrypt the game files they can't run it
just save the game files as pyc and the save files in binary or something
run it in flask
if it's a single player game and not an mmo or something you should probably stop caring about making your game impossible to mess with
don't suggest anyway to pirate please :/
its illegal :/
Pirating isn't ok, or safe.
it a semi mmo
well end game it will be
that is why im worrying
you wanna compile the python parts, no
then saving all the data in a server should be fine
i meant like use a app u can make into .exe
ok ill make on on my home laptop. i just dont want it to shut down and not allow people to save nor load. i guess i can fix that with temp files.
u can also use a vps :P
what an vps?
like a server thing
virtual private server
?
you can use heroku, but do note that it might change all your code logic
as it doesn't support sockets
might need to use websocket
idk any other vps, maybe repl.it but I haven't used it
ok
repl.it you need subscription to make it so your code is private
though im fine with self hosting it should be fine. ill just have to figure this out when i add multiplayer
though it would prob be smart to do it now cause it could change alot
just use flask
just use flask with authentication or something and save to a db right ?
ill look into it
guys have u guys ever made app that solve quadratic equation?
Yeah, not sure why its related to game dev tho
@unreal river pip is not defined
python -m ensurepip
and u don't type pip in the python shell that looks like >>>
u type in stuff like cmd prompt
does anybody know how to make my cude only extrude in one direction
i wanted it to move 10 blocks in one direction... not 5.5 blocks in each direction
set .origin
if you set origin_x to -.5 for example, the center will be at the left face
https://stackoverflow.com/questions/64018109/character-slowly-falling-through-floor-instead-of-coming-to-a-complete-stop
this might work
whats that lib
ursina
ohh ok
Hello there !
hiya folks, my name is capps.
I want to make my own game using python game language.
Is there someone who can help?
[I can VC if nessecery]
we dont write code for you, but we assist with errors/problems and logic help you might require
you can start off with pygame
try panda3D, it uses C++ for lots of its 3D rendering and python for its interface. With good optimization and code you can code something like that
can anyone help me make a dynamic solution to this problem? as you can see, the right rectangle has less distance between the right side of the screen and the rectangle than the left rectangle has between the it and the left side of the screen, but they should both have the same amount of pixels distance from both sides of the screen
right_x = screen_width - left_x - rect_width
ty it works
Demonstration of a digital twin in virtual reality, based on Python and HARFANG.
The source code can be found here:
https://github.com/harfang3d/reachy-digital-twin
Music: Do Robots Get Bored ? (part 2) by Sondre Drakensson
hey i am new
no.
ok
hi new
From my own experience, I can confidently say it is fast enough
But I used regular sockets. I don't see why you need websockets in game development
Competitive games like CSGO send like 120+ per second depending on the server.
I cant help, but i can recommend that you maybe look into other languages more suited for game dev, but if you want to do python ive heard pygame is good
Hi, I am pretty new in PyGame
So I had some queries
I want to make a simple simulation through pyGame where I could make simple Matchstrick figures to do simple motion actions like walk, run etc...
something like this ...
using PyGame
is it possible?
I want to make the matchstick figure in the right side using PyGame
and want to do simple Human like stuffs
Hi, I was wondering if someone could help me with infinite tile-based world generation (pygame):
https://stackoverflow.com/questions/71388957/pygame-infinite-world-generation-broken
Different types of easing in Python.
https://api.arcade.academy/en/development/examples/easing_example_1.html#easing-example-1
not unless you're insane at python
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
You can probably do this using matplotlib animation
Pygame is not really suited for 3d stuff
Where did you find this image if I may ask
I decided to replicate what I did in js for the hackathon and made some slight tweaks
I guess I technically have infinite content for my game... Full release of game this Tuesday! (jk)
Music: Made by DM DOKURO
https://www.youtube.com/watch?v=KJHNdl3R8GM&t=0s
https://www.youtube.com/watch?v=e3t_dbLaw-M&list=PLbrAnF1cQ0SCKw3yfO2SzJ1g5DaxXOYkv&in...
yoo
i made a fully randomized bullethell game
:)
;_;
only took 50 lines of code to add the randomized attack patterns
LMAO
and a decent amnt of that was just initial variable declarations
oh hey the python logo changed
wowww. LOL
But thats.... not would be used in simulation
just googled it....
you're better off using javascript
there are multiple libraries that exist that tie in to make exactly what you're wanting
and they can do it through cdn and allow you to host it online
the thing is ... I want a live simualtion of them ...
but if you know python you shouldnt have a issue with javascript
wait I am showing one thing ...
but if you do this in pygame, you're going to need to need to design a 3d perspective camera, that simulates a 3d space with orthogonal flattening of a 3d space
if you want a 2d straight plane stick figure thats easy ofc
This is episode #20 of the video series "Game Futurology" covering the paper "XNect: Real-time Multi-Person 3D Motion Capture with a Single RGB Camera" by Dushyant Mehta, Oleksandr Sotnychenko, Franziska Mueller, Weipeng Xu, Mohamed Elgharib, Pascal Fua, Hans-Peter Seidel, Helge Rhodin, Gerard Pons-Moll and Christian Theobalt.
PDF: https://arxiv...
somwhat like this .. I want ...
yeah that makes sense...
but yeah for now lets start with 2d only
you can use that to get started
yeahhh Thanksss
wow... I searched the whole internet... still did not got that
lol
takes time to learn how to google for exactly what you need
Which means they gotta research more in NLP ... for what user wants during this situation ...
it works as a webcrawler, what ever you request, they offer
yeahhh I understanfd that ... okay the above one was a bad joke...
but yeahh lemme check that out
lol i wasnt judging you
yeah I know .. chill
just informing, cos i think nlp is one of many technologies used when you press that search button
yeahh thats trueee
btw if you wanna see nlp in action, https://chatterbot.readthedocs.io/en/stable/quickstart.html
pretty good library
hope to use it one day for a funny chatbot
Yeah I have seen... afrined of mine using it...;
lol
you can look up how to draw a square in your library of choice's documentation. and while the mouse button is held down change the top right position of the square respectively.
in python, a rect has a multitude of coordinate variables that come with the internal class
you're going to want to research into perspective and orthogonal cameras
wdym by "real world" coordinates?
import pygame
initialize the pygame
pygame.init()
create the screen
screen = pygame.display.set_mode((800, 600))
title and icon
pygame.display.set_caption("space invader")
icon = pygame.image.load("player_img.png")
pygame.display.set_icon(icon)
player
playerimg = pygame.image.load("player_img.png")
playerX = 370
playerY = 480
playerX_change = 0
def player(x, y):
screen.blit(playerimg, (x, y))
game loop
running = True
while running:
# rgb - red , blue , green
screen.fill((0, 0, 100))
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
if event.type == pygame.KEYDOWN:
if event.key == pygame.K_LEFT:
playerX_change = -0.1
if event.key == pygame.K_RIGHT:
playerX_change = 0.1
if event.type == pygame.KEYUP:
if event.key == pygame.K_LEFT or pygame.K_RIGHT:
playerX_change = 0
playerX += playerX_change
player(playerX, playerY)
pygame.display.update()
My player ain't moving
Help!
It seems you have extra indent at KEYDOWN.
import pygame
# initialize the pygame
pygame.init()
# create the screen
screen = pygame.display.set_mode((800, 600))
# title and icon
pygame.display.set_caption("space invader")
icon = pygame.image.load("player_img.png")
pygame.display.set_icon(icon)
# player
playerimg = pygame.image.load("player_img.png")
playerX = 370
playerY = 480
playerX_change = 0
def player(x, y):
screen.blit(playerimg, (x, y))
# game loop
running = True
while running:
# rgb - red , blue , green
screen.fill((0, 0, 100))
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
if event.type == pygame.KEYDOWN:
if event.key == pygame.K_LEFT:
playerX_change = -0.1
if event.key == pygame.K_RIGHT:
playerX_change = 0.1
if event.type == pygame.KEYUP:
if event.key == pygame.K_LEFT or pygame.K_RIGHT:
playerX_change = 0
playerX += playerX_change
player(playerX, playerY)
pygame.display.update()
Here
I dint get you
It has only 1 indent
Doesn't look like it. Looks like it's under 'if event.type == pygame.QUIT".
I get you mate the "if event.type == pygame.KEYDOWN"
From there onwards it should be under the for poop
That's how it supposed to look. Sorry I didn't get how this paste thing works.
Okay so the problem is the indent only right ?
Probably.
This game development chat is quite dead
Looks like there are no game developers on this server
@ashen glade please don't advertise your server here
nope
ok
Hey @static apex!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
Hey @static apex!
It looks like you tried to attach file type(s) that we do not allow (.avi). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.
Feel free to ask in #community-meta if you think this is a mistake.
https://paste.pythondiscord.com/ravakatupe.py .Hello! I'm trying to use the "dirty rects" principle in my pygame project and I'm running into some strange behavior. Here is the code for a simple example, in which a circle + square is drawn at the cursor location. When using the pygame.display.update() function with no arguments - the whole screen is updated and everything looks good, when using pygame.display.update() with arguments - only parts of the screen are updated and I see - full_screen_capture.mp4 (OBS recording with capture of everything screen). For some reason, when moving sharply, the cursor update area is truncated. However, when capturing only the window with the game (window_capture.mp4) in OBS, this problem disappears. When using pygame.sprite.DirtySprite and others, this problem persists. Perhaps someone faced this problem or sees my mistake?
hey, so i wanna make a game. where would i get started?
@polar flax if you don't already know programming, learn the basics
i do
at least for python
i know the basics
probably a bit more than that
ive made many projects in it
the major game frameworks, like Arcade or PyGame, have example projects that show you how to use them
Arcade is newer and a little more modern
yes
Not necessarily bound to python but is there a way to make a mobile game on a mobile, preferably in python?
Yes
This channel is just help except slightly gamedev
Ok, how can I do it?
I have a text editor and Termux on my phone, idk what else I need if I want to make the game (important: on the phone / from the phone)
I think kivy library is the best for mobile game in python. Also, there is opportunity compile apk (android example) from pygame.
@random roost anything beyond trivial development should be done on a full PC, as the tools for developing on a phone are extremely limited
I do a bit of coding on a pc, but most of it is on a phone
There are a lot of guides of kivy. Example of pygame building - i has
You can use pydroid for develop and run your app. This is how i run pygame in pydroid.
https://replit.com/@G1NGERN1NJA/Time-Warper#main.py
To everybody that said text based games had to be linear, i made a non linear text based game
Idk if actually be able to help, i could try, what are you trying to code?
basically
im making some tile board game
due in 2 weeks
im making functions for each tile/card in the game
but for some reason whenever i run
"61"
is being outputted as player2's positions
Ah ok, so should I use kivy or pygame? Which works best on android?
Actually, I don't think python is good for game development (especially for mobile platforms). Kivy is a framework for cross-platform development and is also designed for android, so there should not be big problems with the release of the game on it (although for example I had a problem with enabling the front camera on kivy in the latest releases of the library). Also Kivy is more performant than pygame because it uses opengl. You can also create beautiful GUI applications in kivy. In my opinion, the only advantage of pygame is its ease of use. Disadvantages - speed, relative complexity in compiling apk, limited use only by games. In sum, I recommend choosing Kivy for use/learning.
What's good for learning for mobile use then?
Other than python
I think that for game development it is best to pay attention to game engines. The closest thing to python (from adequate options) is godot engine. It uses a special language called gdscript. It's easy to figure it out. Python aside, Unity dominates the game development industry today. With the help of this engine, many games have been written for all platforms. It uses c# and/or c++. It will take a lot of effort to study it. Much more than for pygame)
Ah, ok, tyy
For mobile games unless youโre using an engine with robust cross platform support youโre really best off using a language somewhat native to the platform. Like Kotlin for Android or Swift for iOS
Most of the attempts at Python and other languages for mobile games are fairly difficult and not full featured
Even Go game engines found it easier to make the games be able to be ported to Unity for mobile/console versions
I see, so how would a game actually play out if the code worked? Whats the aim of the game?
Basically
the aim of the game is that each tile has an affect (or nothing happens) and each player has to obtain 4000 gold to win
so i can specify that i want the line to begine at some (x, y) and end at another 2d coordinate
class Point(Entity):
def __init__(self, x: int, y: int):
self.x = x
self.y = y
super().__init__(model='circle', color=color.red, scale=.1, x=x, y=y)
class Line(Entity):
def __init__(self, x: int, y: int):
self.x = x
self.y = y
super().__init__(model='line', color=color.green, scale=1, x=x, y=y)
p1 = Point(0, 0)
p2 = Point(1, 1)
l1 = Line(0, 0)
ping if u reply
start_point = Draggable(model='circle', color=color.orange, scale=.025, position=(-0,-0))
end_point = Draggable(model='circle', color=color.orange, scale=.025, position=(.2,.1))
line = Entity(parent=camera.ui, model='line', origin_x=-.5) # set origin_x = -.5 o it starts at the left and not the middle.
def update():
line.position = start_point.position
line.look_at_2d(end_point) # could also ise .look_at() (3d) for this.
line.rotation_z -= 90 # look_at_2d assumes up as forward, so offset by -90 degrees.
line.scale_x = distance_2d(start_point, end_point)
it's simpler than yours isn't it? don't have to use update, it's just for example purposes
you could set the model instead
model=Mesh(Vec3(0,0,0), Vec3(1,1,0), mode='line')
instead of model='line'
then you can skip the look_at and distance stuff
how do i limit my editor camera to only 2D?
how do I change the brightness of a loaded sprite in arcade?
do I have to like do something in PIL or arcade has something for it?
Does anyone here recommend ursina game engine for experimental game development (ive never done 3D only pygame;)
Go for it
learning some curses cuz why not
Yo send your code let me see what's the problem
try panda3D
you could've just animated some footage and insert it as an interactive source ๐
Ok thanks
โBrightnessโ is kind of a hard thing quantify. You can change the opacity or something but images donโt really have a brightness
You can add a tint color, which can probably achieve the effect Iโm guessing youโre looking for
do i do that in arcade or PIL when loading the image
You can set it on a sprite in Arcade, should be my_sprite.color = (0, 0, 0) or something(I canโt remember the exact code off the top of my head)
ok thanks
So you can set a color there, go for something like dark grey or something, or for something more white to decrease/increase brightness
Just play around and see what gives the look youโre after, but thatโs the best way I can think of to achieve something like brightness without actually doing shader based lighting or something
ye like like adding 2(or any number) to all (RGB) to increase brightness and vice versa to decrease
If I remember correctly, the tint color is multiplied against all pixels by OpenGL, this process I believe happens regardless of if you set a tint color, and the default is just blank
Been a while since I poked around at that functionality
thanks
can i make minecraft cheat by pymem ?
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
ain't gonna help
@fallen thicket hi
hi
my python project
@fallen thicket
Ok, that's really cool!
to the staff if this server ,
if I've shared this in the wrong place please forgive me๐
as I didn't know where to share it,
thank you๐
thnx
i need to learn a python GUI now but i don't know which one to do
I didn't have a chance yet to learn python GUI, but I hope I will get to it soon!
But that's really nice project you got going on there
the simplest is pyautogui to learn
it's also a cool gui to work with
thnx
hi
Hey @restive parrot!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
guy
This is my first game
print('The deepest feelings')
y = input('Presse S and enter to play: ')
if y == 'S':
print('You wake up in the empty room.')
x = input('Presse N and enter: ')
if x == 'N':
print('You see paper on the floor.')
while True:
pickornot = input('Pick?Yes/No: ')
if pickornot == 'No':
continue
elif pickornot == 'Yes':
break
else:
print('Please, type Yes or No only.')
print('The paper says 1937 0103 8575 9476 = 7356')
while True:
print('The door needs password to unlocked it.')
ask = input('What is the password?*To observe the room type [look around]*: ')
if ask == '3324':
break
elif ask == 'look around':
print('The room is so stinky,there is black oil on the floor and there are number on the wall there are 8393 0283 0182 9884')
continue
else:
print('Password incorrect')
continue
print('The door is unlocked and you open the door')
x = input('Presse N and enter: ')
if x == 'N':
print(' This is just a part of your feelings....')
x = input('Presse N and enter: ')
if x == 'N':
print('It is too early to end.')
x = input('Presse N and enter: ')
if x == 'N':
print('Too early....')
x = input('Presse N and enter: ')
if x == 'N':
print('*You are hearing gas leaked*')
x = input('Presse N and enter: ')
if x == 'N':
print('and for a second you unconscious')
x = input('Presse N and enter: ')
if x == 'N':
print('What...')
x = input('Presse N and enter: ')
if x == 'N':
print('Did..')
x = input('Presse N and enter: ')
if x == 'N':
print('Have...')
x = input('Presse N and enter: ')
if x == 'N':
print('Done?....')
x = input('Presse N and enter: ')
if x == 'N':
print('Hi this is from dev this project is just project that remind me of the lesson that I learn this is just 18% what I have to learn')
First time
that smart
BTW this is puzzle game about finding password to unlock the door and The story telling is suck
I don't how to make people interested in the story.
thnx
cooll,nice project,As a beginner I also made a project like this
Thank
@runic granite Do you know why I learn python?
Because I want to make discord raider without bot LOL
unfortunately not๐

