todo-knk / andors-trail

Automatically exported from code.google.com/p/andors-trail
0 stars 0 forks source link

Action Bar or Action Wheel #151

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I think this game would be well served by an action bar just above the status 
bar or incorporated into it.

The action bar is a small bar that has several boxes in it for Action Icons. 
Action Icons use Skills, or Techniques, or Open the Menu or a submenu, or Hold 
Use Items, etc. It could scroll left right and/or adapt for orientation easily 
without distortion if it does.

It could be hideable/viewable by clicking the Player Sprite or an icon on the 
status bar/Dpad/etc. 

It could also be a Wheel Menu like in the Secret of Mana series(Seiken Densetsu 
sp?)

It could have a number of slots based on Level/Intelligence/Other Stat if you 
want, or it could just e a simple number, like 7.

Original issue reported on code.google.com by rqpa...@gmail.com on 4 Feb 2011 at 2:19

GoogleCodeExporter commented 8 years ago
pseudocode, my java is rusty, not installed etc, been using as3 of late

actionwheel

 var readyActions Array
 var selectedAction Int

 function showWheel
   setvisible = true.
   fade? spinout? spread from center? whatever?

 function hideWheel
   setvisible = false.
   fade? spinout? collapse toward center? whatever?

 function releaseWheel
   setGameStates()
   hideWheel

//tap
 function doSelected
   switch selectedAction
     case 0
      releaseWheel

     case 1
      doActionFunctionFromLookUpTable1

     case 2
      doActionFunctionFromLookUpTable2

//hold? or case 0 above?

 var thisActionBox Int

 function openActionWheelMenu(thisActionBox)

Action Wheel Menu is like the Equip Menu, you have your dude, the boxes around 
him for Actions instead of Items, on the right you have a list of Actions 
granted by Skills or Classes or Items or WhateverTheFoo. Good Code Reuseability 
that way, changing the Action Wheel in battle takes say 2 AP per Box Changed, 
to represent the mental shift, change in footing or stance, or component 
retrieval for pocket.

I read some of the class files, I learned on java, but mostly use as3 and C# in 
Unity these days, I could get down a book but Im pretty busy in school. If I 
get time, Ill start studying the android api, I just got an adroid the other 
day, I never had a phone before, my little black cricket can chirp pretty good, 
its a psp that is a phone. m860. it does everything. Andors loads in under 5 
seconds from sleep to walking.

Original comment by rqpa...@gmail.com on 4 Feb 2011 at 6:43

GoogleCodeExporter commented 8 years ago

Original comment by sdeva...@gmail.com on 10 Feb 2011 at 3:31