원문정보
A Cocos2d-x-based Mobile Game Using the Mersenne Twister PRNG
초록
영어
This paper presents a Cocos2d-x-based mobile game using a twisted GFSR-PRNG (Generalized Feedback Shift Register - Pseudo-Random Number Generator), known as the Mersenne Twister, with a super astronomical cycle of 219937 - 1, and good virtual randomness in up to 623 dimensions, to deal with random factors for use on Android. Especially, if there are several rand() function calls at the same time, when a user plays the game, the dots do not fit. The Cocos2d-x-based mobile game shows the Mersenne Twister MT19937 is suitable and much faster than rand(). In addition, anyone who has a smart phone can easily install the game and play it. In this game, the player controls his or her own aircraft to destroy the enemy while avoiding obstacles. One key point of this game is that various effects are assigned to each image frame. Moreover, this game is special because it allows the player to produce something called small boss mobs and large boss mobs, providing various types of attached projectiles, upgrading to 10 stages in total and enemies that appear accordingly, and giving items that burst out laughing during the game.
목차
1. 서론
2. 모바일 게임의 동향
3. 메르센 트위스터 유사난수 발생기
4. 제안한 Cocos2d-x 기반 모바일 게임
4.1 배경
4.2 점수 및 각종 데이터
4.3 플레이어 object
4.4 Schedule() 처리
4.5 Tag값 처리
4.6 충돌 처리
4.7 메모리 처리
4.8 액션처리
5. 결론
감사의 글
참고문헌