댓글 검색 목록

[Python] Kivy Python 라이브러리를 사용하여 게임 및 모바일 앱 만들기

페이지 정보

작성자 운영자 작성일 21-05-21 13:49 조회 1,588 댓글 0

Kivy는 자연스러운 사용자 인터페이스로 모바일 앱 및 게임을 개발하기 위한 무료 오픈 소스 Python 프레임 워크입니다.


freeCodeCamp.org YouTube 채널에서 5 시간 Kivy 코스를 출시했습니다. 이 Kivy 과정에서는 모든 플랫폼 (Windows, Mac, iOS, Android)에 대해 Python을 사용하여 게임 및 애플리케이션을 만드는 방법을 배웁니다.


Jonathan Roux가이 과정을 개발했습니다. Jonathan은 다양한 플랫폼에서 많은 과정을 만들었습니다.


먼저 Kivy 라이브러리를 사용하는 방법을 배웁니다. 버튼, 레이블 및 이미지로 그래픽 사용자 인터페이스를 생성합니다. 데스크탑에서 모바일에 이르기까지 모든 화면 크기에 적응할 수 있는 인터페이스를 만들기 위해 다양한 종류의 레이아웃을 구현하는 방법을 배웁니다.


그런 다음 Kivy와 Python으로 전체 게임을 만듭니다. GALAXY 프로젝트는 우주선을 궤도에 유지해야 하는 원근감 게임입니다.


이 과정에서 다루는 모든 내용은 다음과 같습니다.


소개


  • Introduction
  • The GUI libraries with Python (tkinter, QT, pygame...)
  • The course curriculum
  • Prerequisites
  • Setup
  • Project creation and installation of Kivy
  • Download the resources files


The Lab 프로젝트 | 1-레이아웃 


  • Introduction
  • Button and Label
  • BoxLayout
  • Size_hint and Pos_hint
  • What can we do with Kivy ?
  • Embed a layout
  • AnchorLayout
  • GridLayout
  • StackLayout
  • ScrollView
  • PageLayout
  • Conclusion
  • Layouts : a practical example


The Lab 프로젝트 | 2-위젯 


  • Introduction
  • Button click
  • Exercise : Create a counter
  • Custom font
  • Toggle Button
  • Exercise : Enable/disable the counter
  • Disabled button
  • Switch
  • Slider
  • Exercise : Display the value of the slider
  • Exercise : Enable the slider
  • Progress bar
  • TextInput
  • Images
  • Create an application with multiple screens ?

The Lab 프로젝트 | 3-캔버스 

  • Introduction
  • Rectangle and ellipse
  • Line
  • Exercise : Cross
  • Lines (Circle, ellipse, rectangle) and colors
  • Canvas from the code
  • Move the rectangle
  • Exercise : borders of the screen
  • Ball and animation
  • Exercise : Make the ball rebound
  • Coordinates and RelativeLayout
  • Exercise : Flag


The Galaxy project | V1 


  • Introduction
  • Project creation
  • Perspective point
  • Vertical lines
  • Principle : Perspective transformation
  • Perspective transformation
  • Exercise : Re-center
  • Horizontal lines
  • Horizontal lines perspective
  • Forward movement
  • Delta time
  • Exercise : Lateral movement
  • Exercise : Key press
  • Keyboard

The Galaxy project | V2 

  • Introduction
  • Structure our code
  • Tiles and lines coordinates
  • Exercise : Line Y from index
  • Display a tile
  • Move the tile
  • Display several tiles
  • Tiles : infinite generation
  • Random land generation
  • Exercise : Do not exit the land
  • Exercise : Start with a straight line
  • Exercise : Display the ship
  • Exercise : Fix the game speed
  • Collisions


The Galaxy project | V3 

  • Introduction
  • « Game over » state
  • Create the menu
  • Start of the game
  • Restart the game
  • Finalise the menu
  • Exercise : Add the background image
  • Exercise : Score
  • Exercise : Add the sounds


아래 또는 freeCodeCamp.org YouTube 채널 (5 시간 시청)에서 전체 과정을 시청하세요.




https://www.freecodecamp.org/news/use-the-kivy-python-library-to-create-games-and-mobile-apps/



댓글목록 0

등록된 댓글이 없습니다.

웹학교 로고

온라인 코딩학교

코리아뉴스 2001 - , All right reserved.