top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to make Android games

+4 votes
341 views

I have developed few android applications. I was wondering how would I develop android games with eclipse or android studio. I don't want to use any third party ide for development. I need native development.

posted Jul 28, 2016 by Vijay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

First of all, yes, it is possible to develop games native without any 3rd party libraries. However, libraries contain complex logic and functions which helps us build more complex games. If you are targeting to develop a small game, then developing native shouldn't be a problem.

So, to start you need to have a CustomView (an extension of android.view.SurfaceHolder)
Then override the onDraw events and draw your game. Over User inputs as well and update the onDraw parameters accordingly say move your character in x pixels in X axis as long as user holds down their touch on screen or something. The logic is yours to develop!

Hope this helps.

answer Aug 4, 2016 by Vinod Kumar K V
Similar Questions
+1 vote

Gaming Laptops are very expensive and powerful. We know that playing a game is only for entertainment and fun. So,. do people spend money to use/buy these types of computer just for "playing games"?!.. Do they take Gaming that much 'Serious' task. I mean is there any hidden benefits in game playing? What makes gaming industry so popular?

0 votes

Is there a PyGame tutorial out there? I've seen TheNewBoston's tuts, but he didn't finish his. MetalX100 did a VERY good tutorial. I've been having trouble with some player movement because he isn't moving smoothly, he jumps. If I add 5 pixels to his X position if I press a button, jumps to the next 5 pixels instead of smoothly moving. If I just add 5 pixels normally, he moves smooth.

0 votes

I was planning on making a small 2D game in Python. Are there any libraries for this? I know of:

• Pygame - As far as I know it's dead and has been for almost a year
• PyOgre - Linux and Windows only(I do have those, but I want multi-platform)
• Cocos2D - Won't install and cant find any support
• PyCap - Can't find any documentation
• Panda3D - Dead since 2011 + overkill for what I need
• PyOpenGL - Overkill

Any help on what to do with this would be appreciated. I am making games mainly in Lua but I'd like to make one in Python for fun. I also understand that Python isn't exactly the *BEST* choice programming a game, but I have heard it is possible. Tell me if it's true. Thanks!

+3 votes

I want to make my FAB button look like a circle or any particular shape? how to achieve this?

+2 votes

I am trying to figure out the best way to get a device to only use LTE and not GSM. I want to know would it be better to write an up to attempt to force the android to stay in LTE only or in the android OS and make the change.

...