• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Game tile map concept help

Hi, I have a game concept that I've previously worked on using older software development environments like XNA back in the day and I want to restart it on Android.

I need to know how to firstly create a 2d tile grid array, first layer being the floor tiles and the next layer up being stuff on top like obstacles, and give each individual tile a draw and touch event so I can move the items in the 2nd layer around the tile grid with either gestures or context buttons.

Any pointers on where to begin with any of that? Any help appreciated.
 
Hi, I have a game concept that I've previously worked on using older software development environments like XNA back in the day and I want to restart it on Android.

I need to know how to firstly create a 2d tile grid array, first layer being the floor tiles and the next layer up being stuff on top like obstacles, and give each individual tile a draw and touch event so I can move the items in the 2nd layer around the tile grid with either gestures or context buttons.

Any pointers on where to begin with any of that? Any help appreciated.

www.GoogleAndroid suit
Hi, I have a game concept that I've previously worked on using older software development environments like XNA back in the day and I want to restart it on Android.

I need to know how to firstly create a 2d tile grid array, first layer being the floor tiles and the next layer up being stuff on top like obstacles, and give each individual tile a draw and touch event so I can move the items in the 2nd layer around the tile grid with either gestures or context buttons.

Any pointers on where to begin with any of that? Any help appreciated.


https://developer.android.com/studio/
 
I should point out I already have Android Studio setup and the Virtual Machine active as well as access to a connected device too, I just need pointers as to concepts I need to learn first.
 
I should point out I already have Android Studio setup and the Virtual Machine active as well as access to a connected device too, I just need pointers as to concepts I need to learn first.

On a score from 1 to 10 how would you rate your skill level in graphic design then I could help you with a concept on what you are trying to achieve with a 2D or 3D graphic imagery?
 
Last edited:
I am quite low, probably a 3 but I'm resourceful and can find free assets. I want to make something like this:


How to download Skia
Install depot_toolsand Git
Follow the instructions on Installing Chromium’s depot_tools to download depot_tools (which includes gclient, git-cl, and Ninja). Below is a summary of the necessary steps.

git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
export PATH="${PWD}/depot_tools:${PATH}"
depot_tools will also install Git on your system, if it wasn’t installed already.

Clone the Skia repository
Skia can either be cloned using gitor the fetch tool that is installed with depot_tools.

git clone https://skia.googlesource.com/skia.git
# or
# fetch skia
cd skia
python tools/git-sync-deps
Getting started with Skia
You will probably now want to buildSkia.

Changing and contributing to Skia
At this point, you have everything you need to build and use Skia! If you want to make changes, and possibly contribute them back to the Skia project, read How To Submit a Patch.
 
Make sure you have an idea on what your if your game platform is bordered or borderless then construct your shape source codes for each individual object you want to design as the game play surface for starters, save that to its API and then start on any doogles that will interact with the games surface image code.
 
Back
Top Bottom