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

Apps Making a Connect Four game, getting images to appear on touch

atac57

Lurker
I have already made connect four in C++ using a graphics library so I have all the logic and stuff figured out. I'm basically just trying to re-write it in Android Studio, but I'm pretty new at app development.

How I did this before was I created 7 columns, using rectangles. If a click event is detected within any of those rectangles, an image (the player marker) appears one on top of the other as you click.

Any ideas on how to get multiple images to appear every time you tap the screen? I believe you want to use onTouchListener to detect touch and use ImageView to have the image come up (not too sure about the ImageView part). Any suggestions? Thank you.
 
Back
Top Bottom