Jamornh

Bangkok, Thailand

jamornh.com

Age: 27

Apr
29
awarded Nice Answer
Feb
20
answered CCSprite as an iVar
Feb
18
awarded Popular Question
Jan
12
awarded Editor
Jan
12
revised Cocos2d patterns for simple texture management
Added more points justifying against loading all textures at the start of the game.
Jan
12
answered Cocos2d patterns for simple texture management
Dec
1
comment viewWillAppear equivalent in cocos2d
This does not work if I want to check if my application was suspended and then started up again in the same Scene. The Scene never stopped being the running scene and thus the onExit never gets called, therefore the onEnter will not get called again when the app resumes.
Nov
29
awarded Yearling
Oct
26
comment Copies of GameScene created when called additional times
Do you happen to use blocks in any of the codes further in your class? If you do, please provide those as well. There are cases where blocks causes a retain loop which essentially prevents the object from being deallocated so that might be the problem. Plus, I don't see the code for the replace scene, that might be useful to see as well.
Oct
18
awarded Yearling
Oct
16
comment iPhone Game framework on top of cocos2d?
I don't think "unmanageable code" is a result of cocos2d not being a high level framework. (Not fully understanding your situation I wouldn't go as far as questioning the capability of your dev team... but) As a 2D game framework, Cocos2d does a great job abstracting away all the lower level openGL code so that beginners can use the framework while allowing experts to dig into the lower level if needed. Anything higher level would limit its flexibility. Are you perhaps looking for something along the lines of GameMaker which seems to have much richer IDE and visual development environments?
Oct
16
comment Does an inventory limit in an MMORPG make sense?
I'm not sure if this would be the main reason you should have limited inventory space. A lot of great JRPGs (the final fantasy series) allows you to carry essentially unlimited items with 0 need for inventory management. The combat system for those games hold up just fine and gameplay is not worse off for it. Given that all item usage during combat takes up a valuable turn, it still gives you a sense of trade-off that you make and having unlimited potions doesn't mean using it every turn is your best strategy. Personally I feel the "upgrade" and "progression" reasonings carry more weight.
Oct
16
comment Does an inventory limit in an MMORPG make sense?
There are a few reasons why people don't sell items, and that comes down to design choice. If you want them to sell items, it better be an easyprocess, a good example is in Guild Wars 2 where you can pick up all items from mobs by pressing F. This means the inventory fills up quickly. Had they not have the "Sell Junk" button at all vendors, it becomes very tedious for players to sell items 1 by 1. Couple this with unlimited space, people would just keep things lying around. In either case, having to go to town or a vendor to sell items is a pain... some just avoid it until they really have to.
Oct
1
answered How to create array with unique sprites? in cocos2d iphone
Sep
6
awarded Tumbleweed
Aug
24
awarded Necromancer
Aug
10
comment How to make and correctly use progress bar in cocos2d-iphone?
It might be useful if you provide some of the code you're using. When I implement the progress bar, I usually make sure that the anchor point for the bar that you're scaling is at ccp(0, 0.5f) so you're anchoring on the left side. This way when you scale the bar is scaled to the right and not both ways.
Aug
8
accepted Is there any way to verify the GPS location data received from client?
Aug
8
comment Is there any way to verify the GPS location data received from client?
Thanks for this answer. When you refer to "location providers" I assume you're talking android's location API and which hardware it's using to calculate location. It would make it slightly harder for the person trying to fake the location (having to provide 2-3 values instead of 1) but since they're providing fake values anyways, this shouldn't pose much additional work for them to bypass (provide additional fake values.) Totally agree with your point on IP geolocation, not granular enough but good for rough verification :) Thanks for the help!
Aug
8
awarded Critic
1 2 3 4