Earticle

현재 위치 Home

안드로이드 플랫폼에서 JBox2D 물리 엔진을 이용한 모바일 게임구현
An Implementation of Mobile Game using JBox2D Physics Engine in Android Platform

첫 페이지 보기
  • 발행기관
    국제인공지능학회(구 한국인터넷방송통신학회) 바로가기
  • 간행물
    한국인터넷방송통신학회 논문지 KCI 등재 바로가기
  • 통권
    제11권 제6호 (2011.12)바로가기
  • 페이지
    pp.119-126
  • 저자
    황기태
  • 언어
    한국어(KOR)
  • URL
    https://www.earticle.net/Article/A165218

※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.

원문정보

초록

영어
As a software component for computer game, the physics engine simulates objects' movement according to the laws of physics. This paper introduces a design and implementation of mobile game on the Android platform, where we used JBox2D physics engine library and Android graphics APIs. We borrowed the key idea of this game from Crayon Physics which is known as a famous PC game. This game starts with no way from user character to destination character. The game user has to make a way to destination character from user character by creating polygon objects between them. The user wins when user character meets destination character. However, the game user has to decide the time to create objects and their shapes well because all objects in this game are governed by the laws of physics. As an important thing of this paper, we introduced into this game new input methods of LCD touch and sensors embedded in mobile devices but not in PCs. Game users can create objects by drawing polygons with LCD touch and move objects or characters according to sensor values from accelerator sensors by tilting the mobile device.
한국어
물리엔진은 게임에 등장하는 객체들이 실세계의 물리적 법칙을 따라 움직이는 것처럼 시뮬레이션하는 게임 엔진의 한 요소이다. 본 논문은 오픈 소스로 제공되는 JBox2D 물리 엔진 라이브러리와 안드로이드 그래픽 API를 이용하여 작성한 모바일 게임의 구현 사례를 소개한다. 본 게임은 Crayon Physics로 알려진 PC 게임의 아이디어를 도입하였다. 이 게임은 사용자 캐릭터와 목표 캐릭터 사이에는 길이 끊어진 상태로 시작되며, 사용자는 끊어진 길을 잇는 다각형 물체를 만들어 사용자 캐릭터가 목표 캐릭터에 도달하도록 해야 한다. 사용자 캐릭터가 목표 캐릭터를 만나게 되면 승리하게 된다. 그러나 캐릭터 및 물체는 중력 등의 물리적 법칙에 지배를 받기 때문에 게임 사용자가 물체의 모양과 만드는 시점 등을 잘 설정해야 한다. 본 논문에서는 PC에는 없지만 모바일 단말기에 있는 LCD 터치와 가속도 센서 등의 다양한 입력 방식을 도입하였다. LCD 터치를 이용하여 사용자가 물체를 임의로 만들 수 있게 하였으며, 단말기를 기울여서 가속도 센서를 작동시켜 물체나 사용자 캐릭터를 이동시키는 방법을 도입하였다.

목차

요약
 Abstract
 I. 서론
 II. 관련 연구
  1. Box2D
 III. 게임 설계
  1. 게임 시나리오 및 기능
  2. 게임의 구조 설계
 IV. 게임 구현
  1. 구현 플랫폼
  2. 런타임 객체 관계
  3. LCD 터치와 물체 생성
  4. 시뮬레이션 진행과 그래픽
  5. 물체 삭제
  6. 게임 스테이지별 초기 지형 생성
  7. 게임 시연
 V. 결론
 참고문헌

키워드

Android platform physics engine mobile game Box2D

저자

  • 황기태 [ Kitae Hwang | 종신회원, 한성대학교 컴퓨터공학과 ]

참고문헌

자료제공 : 네이버학술정보

간행물 정보

발행기관

  • 발행기관명
    국제인공지능학회(구 한국인터넷방송통신학회) [The International Association for Artificial Intelligence]
  • 설립연도
    2000
  • 분야
    공학>전자/정보통신공학
  • 소개
    인터넷방송, 인터넷 TV , 방송 통신 네트워크 및 관련 분야에 대한 국내는 물론 국제적인 학술, 기술의 진흥발전에 공헌하고 지식 정보화 사회에 기여하고자 한다.

간행물

  • 간행물명
    한국인터넷방송통신학회 논문지 [The Journal of the Institute of Internet, Broadcasting and Communication]
  • 간기
    격월간
  • pISSN
    2289-0238
  • eISSN
    2289-0246
  • 수록기간
    2001~2025
  • 십진분류
    KDC 326 DDC 380

이 권호 내 다른 논문 / 한국인터넷방송통신학회 논문지 제11권 제6호

    피인용수 : 0(자료제공 : 네이버학술정보)

    함께 이용한 논문 이 논문을 다운로드한 분들이 이용한 다른 논문입니다.

      페이지 저장