Kurulum sırasında size kısa notlar şeklinde giriş yapıp sonrasında örnekler yaparak bu konuyu pekiştireceğimi söylemiştim işte şuan için bildiğim notlar.
pygame notları ;
- öğrendikçe yeni notlar ekleyeceğim
- import pygame şeklinde kütüphanemizi projemize dahil ettik.
- pygame.init() diyerek motorumuzu çalıştırdık ( pygame kütüphanesindeki init fonksiyonunu çalıştırdık )
- oyunumuzun pencere yükseklik ve gemişliğini pygame.display.set_mode(( genişlik,yükseklik )) şeklinde belirledik.
- oyunumuzun penceresinde yazan ismini pygame.display.set_caption("oyun ismi") şeklinde ayarladık.
- pygame.time.Clock() diyerek fps işleminden önce ayağa kaldırmak hazırlamak gibi birşey başlangıç olarak 0 fps verir yani ekran da görüntü olmaz.
- penceremizde yaşanan olayları...
Read this content on www.coogger.com
- Dapp; www.coogger.com
- Category; tutorial
- Language; turkish
- Topic; pygame
- User; @hakancelik
Posted using www.coogger.com
Coogger is an ecosystem where is knowledge sharing network which can build web dapps and groups
Congratulations, your contribution has been approved.
You can contact us on discord.
[coogger-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You got a 1.46% upvote from @postpromoter courtesy of @hakancelik!
Want to promote your posts too? Check out the Steem Bot Tracker website for more info. If you would like to support the development of @postpromoter and the bot tracker please vote for @yabapmatt for witness!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit