Skip to main content
Post Undeleted by kdavis8
Post Deleted by kdavis8
deleted 10 characters in body; edited tags; edited title
Source Link
kdavis8
  • 395
  • 2
  • 4
  • 13

How can I organize code for views properlyefficiently?

I'm making a video game for the Android platform and I need advice on the overall set up of the activities and views in the code. I don't need actual code, just a general idea of how topsuedocode will do it, but actual code always helps. I will basically have the following:

  • A surface view that draws bitmaps in a 2d scene and rearranges them according to what ever is happening on the screen.
  • A main UI interface that needs to be shown on top of the surface view at all times that has buttons like the attack, defend, hotkeys and so on.
  • A start menu as a seperate activity that the user can choose options like volume, orientation, graphics quality, save & exit and so on.

Also I want dialogs throughout the games that pop up when interacting with NPCs and these dialogs need to display pictures as well.

That pretty much encompasses the first version of the game. I will add complexity to it maybe later on down the road but for now I would just like a general plan of how to set all of this up in a functional way. Again code would be nice but I really just need an idea of how to efficiently do these things without wasting memory resources and utilizing the Android APIs capabilites with smart programming methods.

How can I organize code for views properly?

I'm making a video game for the Android platform and I need advice on the overall set up of the activities and views in the code. I don't need actual code, just a general idea of how to do it, but code always helps. I will basically have the following:

  • A surface view that draws bitmaps in a 2d scene and rearranges them according to what ever is happening on the screen.
  • A main UI interface that needs to be shown on top of the surface view at all times that has buttons like the attack, defend, hotkeys and so on.
  • A start menu as a seperate activity that the user can choose options like volume, orientation, graphics quality, save & exit and so on.

Also I want dialogs throughout the games that pop up when interacting with NPCs and these dialogs need to display pictures as well.

That pretty much encompasses the first version of the game. I will add complexity to it maybe later on down the road but for now I would just like a general plan of how to set all of this up in a functional way. Again code would be nice but I really just need an idea of how to efficiently do these things without wasting memory resources and utilizing the Android APIs capabilites with smart programming methods.

How can I organize code for views efficiently?

I'm making a video game for the Android platform and I need advice on the overall set up of the activities and views in the code. I don't need actual code, psuedocode will do, but actual code always helps. I will basically have the following:

  • A surface view that draws bitmaps in a 2d scene and rearranges them according to what ever is happening on the screen.
  • A main UI interface that needs to be shown on top of the surface view at all times that has buttons like the attack, defend, hotkeys and so on.
  • A start menu as a seperate activity that the user can choose options like volume, orientation, graphics quality, save & exit and so on.

Also I want dialogs throughout the games that pop up when interacting with NPCs and these dialogs need to display pictures as well.

That pretty much encompasses the first version of the game. I will add complexity to it maybe later on down the road but for now I would just like a general plan of how to set all of this up in a functional way. Again code would be nice but I really just need an idea of how to efficiently do these things without wasting memory resources and utilizing the Android APIs capabilites with smart programming methods.

edited tags
Link
deleted 3 characters in body; edited title
Source Link
user1430
user1430

how to layout How can I organize code for views in android properly?

ImI'm making a video game for the androidAndroid platform and iI need advice on the overall set up of the activities and views in the code. I dontdon't need actual code, just a general idea of how to do it, but code always helps.

  I will basically have the following: A surface view that draws bitmaps in a 2d scene and rearranges them according to what ever is happening on the screen,a main ui interface that needs to be shown ontop of the surfaceview at all times that has buttons like the attack, defend, hotkeys and so on, a start menu as a seperate activity that the user can choose options like volume, orientation,graphics quality,save & exit and so on, also i

  • A surface view that draws bitmaps in a 2d scene and rearranges them according to what ever is happening on the screen.
  • A main UI interface that needs to be shown on top of the surface view at all times that has buttons like the attack, defend, hotkeys and so on.
  • A start menu as a seperate activity that the user can choose options like volume, orientation, graphics quality, save & exit and so on.

Also I want dialogs throughout the games that pop up when interacting with npcsNPCs and these dialogs need to display pictures as well.

thatThat pretty much encompasses the first version of the game. iI will add complexity to it maybe later on down the road but for now iI would just like a general plan of how to set all of this up in a functional way. Again code would be nice but iI really just need an idea of how to efficiently do these things without wasting memory resources and utilizing the android api'sAndroid APIs capabilites with smart programming methods.

Thanks in advance!

how to layout views in android properly

Im making a video game for the android platform and i need advice on the overall set up of the activities and views in the code. I dont need actual code, just a general idea of how to do it, but code always helps.

  I will basically have the following: A surface view that draws bitmaps in a 2d scene and rearranges them according to what ever is happening on the screen,a main ui interface that needs to be shown ontop of the surfaceview at all times that has buttons like the attack, defend, hotkeys and so on, a start menu as a seperate activity that the user can choose options like volume, orientation,graphics quality,save & exit and so on, also i want dialogs throughout the games that pop up when interacting with npcs and these dialogs need to display pictures as well.

that pretty much encompasses the first version of the game. i will add complexity to it maybe later on down the road but for now i would just like a general plan of how to set all of this up in a functional way. Again code would be nice but i really just need an idea of how to efficiently do these things without wasting memory resources and utilizing the android api's capabilites with smart programming methods.

Thanks in advance!

How can I organize code for views properly?

I'm making a video game for the Android platform and I need advice on the overall set up of the activities and views in the code. I don't need actual code, just a general idea of how to do it, but code always helps. I will basically have the following:

  • A surface view that draws bitmaps in a 2d scene and rearranges them according to what ever is happening on the screen.
  • A main UI interface that needs to be shown on top of the surface view at all times that has buttons like the attack, defend, hotkeys and so on.
  • A start menu as a seperate activity that the user can choose options like volume, orientation, graphics quality, save & exit and so on.

Also I want dialogs throughout the games that pop up when interacting with NPCs and these dialogs need to display pictures as well.

That pretty much encompasses the first version of the game. I will add complexity to it maybe later on down the road but for now I would just like a general plan of how to set all of this up in a functional way. Again code would be nice but I really just need an idea of how to efficiently do these things without wasting memory resources and utilizing the Android APIs capabilites with smart programming methods.

Source Link
kdavis8
  • 395
  • 2
  • 4
  • 13
Loading