-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for phone resolutions #1
base: master
Are you sure you want to change the base?
Conversation
Thank you very much. I made changes. |
No problem. I post on the Palm Developer forums as HemiMG. The resolution fix solved most of my problems, the touch events now respond properly and, of course, the display isn't so tiny. There are still a few things I want to work on before taking a look at CocosDenshion. If any of it is relevant, I'll pass it along. |
Hi, Thanks for your input to WebOS port. Please keep Cocos2d-x library as shared library. HP should not prevent putting Cococ2d-x library in local folder along with Also from your size function,you hardcoded (1078,787) size,please read size Regards, On Wed, Jun 6, 2012 at 11:09 PM, ImperialPenguin <
|
For some reason, it is loading okay as a shared library now, so I can go back to those Makefiles. I'm not sure where I hardcoded anything as 1024x768? I am using a Palm Pre and don't own a Touchpad, so I'm not sure why I would do that. There was a part where I removed the hardcoding of that value and replaced it with PDK values. Did that commit not come through properly? |
Conflicts: cocos2dx/platform/CCImage.cpp
I'm new to git and didn't realize that i couldn't choose which commits that I wanted to share, so there is probably some stuff in here that you don't want. Having to make a new branch for every thing I do is going to take some getting used to. Letting us choose which commits to send pull requests for would make so much more sense (am I missing a way to do that?)
Anyhow, the other changes are compiling cocos2d as a static lib, both because I couldn't get the shared lib to load on my pre and because I'm not sure HP allows apps on their store that use non-whitelisted .so files. I'm also using the default build of libJPEG that comes with the PDK and that doesn't have a jpeg_mem_src function, so I hacked a replacement in. This problem did not present itself until I build cocos2d as a static library, so you might want to confirm that jpegs are handled correctly if you haven't already. The tests all use PNGs.
The only other significant change is that I created a Makefile with paths for mac users.