Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pygame Tutorial - Tech w/ Tim #22

Open
Gizmotronn opened this issue Apr 26, 2020 · 6 comments
Open

Pygame Tutorial - Tech w/ Tim #22

Gizmotronn opened this issue Apr 26, 2020 · 6 comments
Assignees
Labels
applets bots Bots that do tasks automatically, for example fb messenger bots duplicate This issue or pull request already exists minigames open source projects os projects with py pygame python

Comments

@Gizmotronn
Copy link
Owner

https://ac0rd-software.tribe.so/post/5ea453b78c7c596b484f1eca

@Gizmotronn Gizmotronn added duplicate This issue or pull request already exists python open source projects os projects with py bots Bots that do tasks automatically, for example fb messenger bots minigames applets pygame labels Apr 26, 2020
@Gizmotronn Gizmotronn self-assigned this Apr 26, 2020
@Gizmotronn
Copy link
Owner Author

#18
#20
Other issues

Gizmotronn added a commit that referenced this issue Apr 26, 2020
Gizmotronn added a commit that referenced this issue Apr 26, 2020
Will do more Unity, just want to do more EH stuff and python stuff first; I have udemy tutorials & I WILL do it soon 👽

Co-Authored-By: Liam Arbuckle <[email protected]>
Gizmotronn added a commit that referenced this issue Apr 26, 2020
@IrisDroidology I am going to add my own images in later for the sprites/animations, I could possibly incorporate the Unity sprites

Additions to code:
1. Removed the ability for the player to go up or down - you need to jump to do that now:

```py
        if keys[pygame.K_UP] and y < vel:
            y -= vel
        if keys[pygame.K_DOWN] and y > screenHeight - height - vel:
            y += vel
```

2. Loaded the images in

3. Changed size of the character to reflect the img sizes

4. Moved the drawing/refreshing to a function

5. Changed the bg to an image

More changes in `pygame1.py`

I might also go over some of his other Python tutorials :)

https://www.youtube.com/watch?v=UdsNBIzsmlI&list=PLzMcBGfZo4-lp3jAExUCewBfMx3UZFkh5&index=3

https://www.youtube.com/playlist?list=PLzMcBGfZo4-lp3jAExUCewBfMx3UZFkh5

Got an issue regarding the imgs not loading, but everything else is good :)

Co-Authored-By: Liam Arbuckle <[email protected]>
Gizmotronn added a commit that referenced this issue Apr 27, 2020
Description:
> "In this video I explain the importance of optimizing your games and why using classes to organize your objects such as characters a blocks is very important. I show how to create a class called player where we will then store all of the attributes of the character. We also clean up our redrawGameWindow function by transferring most of that code into the players .draw method. All of this is done using Python 3 and a module called pygame."

Created character instance & switched to object-oriented approach

Co-Authored-By: Liam Arbuckle <[email protected]>
Gizmotronn added a commit that referenced this issue Apr 28, 2020
Gizmotronn pushed a commit that referenced this issue Apr 30, 2020
Fix errors (mainly syntax)
Add more comments for proof of knowledge
Gizmotronn pushed a commit that referenced this issue Apr 30, 2020
@Gizmotronn
Copy link
Owner Author

Gizmotronn pushed a commit to IrisDroidology/python-learning that referenced this issue May 7, 2020
I'm going back to the fourth tutorial in the intro to pygame series (may have to catch up on Python as well soon). The reason for that is simple: I don't fully understand/remember the reasons for going OO (object oriented /programming) and what we do to do so, and how it works. I'll send my notes in here.

We can also see commits in https://github.com/Gizmotronn/python-learning/tree/master/Applets/TWT that reference Gizmotronn#22

Plenty of stuff to do! And I'm enjoying & LEARNING!

Co-Authored-By: Liam Arbuckle <[email protected]>
Gizmotronn pushed a commit to IrisDroidology/python-learning that referenced this issue May 9, 2020
#3 Gizmotronn#22

Once we get this out of the way, will go into the Pygame tutorial, once that's finished Django REALPYTHON --> will be continued

Co-Authored-By: Liam Arbuckle <[email protected]>
Gizmotronn added a commit that referenced this issue May 9, 2020
Gizmotronn added a commit that referenced this issue May 11, 2020
Practising without the tutorials, and analyzing pygame stuff --> #22 start
@Gizmotronn
Copy link
Owner Author

Gizmotronn commented May 15, 2020

Once I get through the OOP tutorials with TWT, I'll continue with the pygame tutorials. While the stuff may not work because of the images, I can always get help, and I'm still learning, which will prove useful for the next set of pygame tutorials and games.

I'm/@IrisDroidology going to reference this in a commit soon

  • there's always opportunities to help + places to get help from

Gizmotronn added a commit to IrisDroidology/python-learning that referenced this issue May 15, 2020
Gizmotronn#22 (comment)

https: //github.com/acord-robotics/python-learning
Co-Authored-By: Liam Arbuckle <[email protected]>
@Gizmotronn
Copy link
Owner Author

https://gitq.com/acord-robotics/python-learning/topics/2/pygame-tutorials-may-2020

@Gizmotronn
Copy link
Owner Author

656a062

@Gizmotronn
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
applets bots Bots that do tasks automatically, for example fb messenger bots duplicate This issue or pull request already exists minigames open source projects os projects with py pygame python
Projects
None yet
Development

No branches or pull requests

1 participant