#๐Ÿ”’ Gorilla Quiz

48 messages ยท Page 1 of 1 (latest)

silver etherBOT
#

@edgy fractal

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

hollow elk
#

!paste

silver etherBOT
#
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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

edgy fractal
#

so im struggling with making the gorilla move

cinder apex
#

all of the code is inside the function so nothing runs

#

unless u run it from a different python script

#

also pygame not imported

#

it looks like it's missing some parts

honest kayak
#

Maybe he just pasted a part of the code

edgy fractal
#

yeah

#

so its like a button from the main menu

#

so this is like a section

#

unnamed variables are mentioned before hand

upbeat obsidian
#

Your indentation is off

cinder apex
upbeat obsidian
#

Is this meant to all be in message_display_centered?

cinder apex
#

can u share what's the problem ur having and also maybe the rest of the code

cinder apex
edgy fractal
edgy fractal
#

which on the background there are 2 points

honest kayak
#

Just a random question is it possible to make a 3d game in python?

edgy fractal
#

so it supposed to gradually slide upright and then after go to the next part, where it has a different position

cinder apex
honest kayak
#

It kinda matches to the topic sorry for disturbing xD

honest kayak
edgy fractal
#

so it doeosn't slide

#

if transition_timer < 120 and transition_timer > 0 and anscorrect:
gorilla_x += slide1x
gorilla_y -= slide1y

#

i was trynna make it slide with this

cinder apex
#

where are u drawing it

#

also what's the gameDisplay variable

#

not. defined in the code u provided

edgy fractal
#

instead of screen.blitz i did gameDisplay

#

.blitz

cinder apex
#

so you re not implementing any sliding it seems

edgy fractal
#

i am?

edgy fractal
cinder apex
#

yea but it's after u draw the gorilla

#

so it doesn't move until the next frame

cinder apex
#

you drawing order is like

  1. fill screen
  2. draw gorilla
  3. move gorilla

while it should probably look more like

  1. fill screen
  2. move gorilla
  3. draw gorilla
edgy fractal
#

oh okay let me try it

silver etherBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.