TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: My first android game. MongoDB/Tornado backend

5 点作者 farhadabas超过 12 年前
After graduation, my friend and I decided to build mobile games instead of finding jobs. Today we released our first game called Monster Rivals. It is a fighting game with simple RPG elements such as stats and items with unique powers. We have a lot more planned for it in the future, but wanted to get the game out as soon as possible. The game also allows you to fight your friends through Facebook.<p>The game data including the user/character profile is all on my servers hosted on linode. We have 3 servers- [primary mongo], [secondary mongo], [mongo arbiter, redis(for leaderboards), nginx forward proxying to 4 tornado processes]. I chose to use mongodb because it seemed to fit our needs very well for a database. Our user/char data is always queried together, and therefore we don't need to do many joins. The data is sent and parsed on the phone as a json, therefore it is extremely convenient to keep the data in a collection instead of constructing it every time.<p>Link to the game: https://play.google.com/store/apps/details?id=com.pixelmaji.monsterrivals

1 comment

coryl超过 12 年前
Looks awesome, graphics are terrific.<p>I'm curious to know how your animations work, specifically the animating of the attacks/weapons. What engine did you build with?
评论 #5179555 未加载