techdragon.nguyen@gmail.com
f09ce07b06
modified to create a Manifest file before game loads. This is for iOS only as the file handling will be difficult, I am doing this as a way to identify what is already loaded onto the device.
2012-01-05 01:11:49 +00:00
techdragon.nguyen@gmail.com
b03449cbf6
Implemented directional controls on Filters so that you can now navigate the Filters menu on Touch interfaces for the Deck Editor and Shop screens. It's not the best implementation but it at least works across all platforms. swipe will now move the highlighted cursor to the correct direction.
...
in release builds, test suite will now be disabled
2012-01-03 17:53:51 +00:00
techdragon.nguyen@gmail.com
51d1873872
removed nonstandard handling to use JGE::Scroll method. This removes the filter screen support that was added as part of the previous check in.
2012-01-03 14:29:46 +00:00
techdragon.nguyen@gmail.com
6adffc12f0
Issue 565: This fixes the issue with the MENU not popping up ingame. The bug was caused when user canceled out of a deck selection screen to either go back to the Player Deck Selection or Main Menu. The buffer was not cleared properly. added call to reset buffer in GameStateDuel to follow pattern used in GameStateDeckViewer.
2012-01-03 14:05:43 +00:00
techdragon.nguyen@gmail.com
4674f34246
attempt to add swipe up/down/left/right for movement in deck editor and other screens. still causes some bugs on shop and filter screens.
2012-01-03 12:51:09 +00:00
techdragon.nguyen@gmail.com
8f5ebc8109
Modified system path defaults to utilize the User vs Res architecture. After reading some comments of the forum I realized I had implemented this all according to 0.16's design and not the new split architecture. All 'core_' zip files are now placed under 'Res' as before, but any other zip file will be put under the 'User' directory
2012-01-02 05:32:22 +00:00
techdragon.nguyen@gmail.com
c515837172
On iOS the user only has access to the Documents directory via iTunes. Our folder structure is setup as such to read from the Res directory. This change allows users to drop in zip files into the Documents folder and the game will automatically move the zip file into the Res folder on app startup. Note, this is only done on app startup. If the game is running in the background, the user will need to quit the app ( kill it via the multithreaded task bar) and restart it.
...
Jailbroken devices have full access to the filesystem and don't have this restriction. although I do recommend that they do drop zip files into the Documents directory to reduce the risk of causing any undefined behavior with updating the config files while the game runs.
2011-12-31 15:02:37 +00:00
techdragon.nguyen@gmail.com
dfa007cecb
implemented platform independant clickable OK button on gui combat window when selecting blocker order. removed iOS specific coding.
2011-12-31 08:21:00 +00:00
techdragon.nguyen@gmail.com
e102d3f369
enabled OK button on GuiCombat screen when choosing defenders/attackers. iOS solution only currently. To implement in Android, we need to create a mask/invisible button above the OK button coordinates and add a listener to activate when a user touches the appropriate area. Not ideal, but it works for now.
...
TODO: translate functionality into core of engine.
2011-12-30 16:04:21 +00:00
techdragon.nguyen@gmail.com
0a19a61ea6
removed double tap gesture recognizer
...
added some helper methods to reduce code duplication.
added a magnitude calculation method. not currently used but possibly in the future..
2011-12-18 15:59:21 +00:00
techdragon.nguyen@gmail.com
3bfb68f96c
modified touch interface to be a little more fluid on iOS
2011-12-16 11:09:40 +00:00
techdragon.nguyen@gmail.com
a6b2a43188
fixed compile error. sorry, missed this one on last check in
2011-12-15 11:26:26 +00:00
techdragon.nguyen@gmail.com
dc7d52c48c
added new signature for SendCommand in JGE that takes in a command string and a parameter
...
added native keyboard handling in iOS
TODO: add same feature for Android tablets/phones
2011-12-15 11:11:08 +00:00
techdragon.nguyen@gmail.com
8550b70e2e
fixed issue with crashes on devices that only support openGL 1.1
2011-12-13 22:28:16 +00:00
techdragon.nguyen@gmail.com
db664e2836
added some error handling for downloading core files. app will display a message if an error has occurred while downloading and then retry the download after user dismisses the alert.
...
TODO; replace string literals with constants or static NSString objects.
2011-12-12 12:24:12 +00:00
techdragon.nguyen@gmail.com
f8f5c24304
reverted accidental change to modrules.xml
...
added missing appdelegate chagnes for previous changes.(iOS only)
removed system copy of bundled Res folder with app deployment (iOS only)
2011-12-11 10:04:55 +00:00
techdragon.nguyen@gmail.com
fe78345ef7
first draft of ad code for iOS. Not adding admob/adwhirl/adSesnse libs to this commit. You will need to download them to get the port to build under XCode
2011-12-08 20:50:36 +00:00
techdragon.nguyen@gmail.com
28069e980b
modified iOS touch algorithm to match Android deployment.
2011-10-15 13:48:57 +00:00
techdragon.nguyen@gmail.com
6f10ef8425
fixed last check in. Test suite passes. Added comments on possible null pointer exceptions.
...
Updated XCode project file to include AIPlayerBaka classes.
Added test suite to iOS build
2011-10-09 05:51:45 +00:00
techdragon.nguyen@gmail.com
fbe2e44814
fixed memory leak in double tap gesture
...
fixed some compiler warnings
removed dead and useless code
2011-10-08 00:56:07 +00:00
techdragon.nguyen@gmail.com
4e963c168f
added gesture recognizers for all keys.
...
refactored some of the initialization code
left place holder for Zoom in/out with pinch recognizer. The idea here is to make a virtual function like OnScroll for Zoom so we can take care of the zoom features natively.
reorganized some of the method declarations.
2011-09-09 19:03:45 +00:00
techdragon.nguyen@gmail.com
ad72c0ddc3
adjusted controls for Touch interface on iOS.
...
* Single Tap now implemented
* Touch and Hold (2 secs) to pop up menu
* added a pan gesture to simulate flicking up/down and left/right
* removed dependency on binding keys to game for iOS devices. (perhaps extend this to all touch devices.)
* flicking motion needs to be expanded to allow for smooth scrolling. Right now every flick is equivalent to going one slot up/down/left/right.
2011-09-04 08:31:36 +00:00
jean.chalard
c5cd81f6a1
Fix the double key bindings problem.
...
The problem was, the game would initialize first, reading the
keybindings from the configuration, and THEN set up the default key
bindings.
I think this affects only PSP, X, SDL and Qt. A quick scan of the
windows version code looks to me that the order is correct and the
problem should not exist, but I may be mistaken. The iPhone version
looks to me like it has no keybindings at all, though the call is
there ; I put the call in the right order so that the problem does
not happen in the future if we implement some key bindings for it.
If someone can check for windows...
2011-07-07 03:35:26 +00:00
techdragon.nguyen@gmail.com
ac6fd6bbf8
setting default orientation for iPhone and iPad.
...
restricted iPhone to landscape mode only.
2011-05-10 12:37:41 +00:00
techdragon.nguyen@gmail.com
82058e97c5
* fixed some formatting
...
* pruned out unused local variables.
---- There's no need to define something if it isn't going to be referenced. It consumes extra memory temporarily and more than anything is a potential cause for confusion down the road.
2011-05-08 11:56:25 +00:00
Xawotihs
3cb652087d
iOS frontend and XCode project
2010-12-12 15:58:47 +00:00