Spent a good 30 minutes struggling with why my subview kept animating its position change even though I wanted it to happen automatically and without delay.
[UIView setAnimationsEnabled:NO]; someView.frame = CGRectMake(0, cell.frame.origin.y, cell.frame.size.width, cell.frame.size.height); [UIView setAnimationsEnabled:YES];
Well that was embarrassingly stupid easy. :)
[texture setAliasTexParameters]
[[CCDirector sharedDirector] openGLView].layer.magnificationFilter = kCAFilterNearest; [[CCDirector sharedDirector] openGLView].layer.contentsRect = CGRectMake(0.0001, 0.0001, 1, 1);
So I finally have a trailer and website out for my game! So excited to share it with everyone and get the word out—it’s only about a week off from being submitted to the App Store! Hope you enjoy! :D
I ended up pretty annoyed with not being able to string together multiple CCMoveBy actions on a node in parallel. CCMoveBy uses the node’s starting position to see where the next position should be instead of advances by N amount at every period. If you set two CCMoveBy actions in parallel, they don’t stack up—the longer distance basically cancels the shorter one out.
This is just a little hacked extension so you CAN add multiple actions in parallel to move your node!
// Extensions.h
@interface CCAdvanceBy : CCMoveBy
{
CGPoint tempPosition_;
}
@end
// Extensions.m
@implementation CCAdvanceBy
-(void) startWithTarget:(CCNode *)aTarget
{
CGPoint dTmp = delta_;
[super startWithTarget:aTarget];
startPosition_ = [(CCNode*)target_ position];
delta_ = ccpSub( endPosition_, startPosition_ );
delta_ = dTmp;
tempPosition_ = startPosition_;
}
-(void) update: (ccTime) t
{
CGPoint pos = ccp((startPosition_.x + delta_.x * t ), (startPosition_.y + delta_.y * t ) );
[target_ setPosition:ccpAdd([(CCNode*)target_ position], ccpSub(pos,tempPosition_))];
tempPosition_ = pos;
}
@end
Day 2 of some work on a little Akihabara game I’m working on. Nothing too fancy yet, but the idea is to create a lo-fi game inspired by Ogre Battle. Much more… much later on!
USC Bookstore
Developer / Third-party Classic ASP 2008
Using a third-party vendor for the shopping cart functionality, I handled the front-end user interface for the site and built several custom components that tied the third-party e-commerce application with USC’s back-office systems. I managed the Bookstore website as lead developer for 6 years before heading up other internal projects.
The Bookstore website also humbly won the 3rd Annual Hubbie Awards, a nation-wide competition of university bookstore websites.
The Gamble House
Lead Developer / ASPDOTNETSTOREFRONT 2009
Partnered with The Gamble House to develop an online store for their Bookstore merchandise.
Weddings at USC
Lead Developer / ASP.NET MVC 2010
Developed a web site for wedding event planning at USC. Powered by a content management system built in-house for the clients to update information on their own.
Moreton Fig
Lead Developer / ASP.NET MVC 2010
I was lead developer on the website for the newly launched Moreton Fig, a premiere restaurant on the USC campus.
While the scope of the project was small, the system runs on a custom built content management system I designed and created. It was the first version, and is since being used across several of our new web projects.
Camp Kiffin
Lead Developer / ASPDOTNETSTOREFRONT 2010
I developed this website while partnering with the USC Athletics Football department. It hosts several coach clinics and football camps for elementary and high school students, with registration selling out for the summer offerings.
Win Forever Camps
Lead Developer / ASPDOTNETSTOREFRONT 2010
Win Forever was a similar project to the Camp Kiffin camps, partnering with the Win Forever group and several sponsors to offer football and cheerleading camps over the summer.
Content Management System
Lead Developer / .NET 2010
Very proud of this one! This system creates a workflow system for managing unique content changes across a website. It lays the groundwork for custom management systems for anything from photo galleries, to document managing, to plain text management.
The system allows for modular components to be dropped into a system and automatically interface with the website. This work provides other developers the ability to quickly add common components to a website that leverage the management and gives stakeholders control of their content.
Slideshow Manager
Lead Developer / .NET Web Forms 2009
This showcases work on a custom manager built to maintain photos in a slideshow gallery for the USC Bookstore main page. The request was to deliver an easy-to-use way for the stakeholders to maintain front page content. This project had a three day turn-around by the time it went live.
Battle System Demo
Developer / RPG Maker XP, Ruby 2007
A team-created project developed for the RPG Maker XP platform, a game engine that allowed Ruby scripting to implement high-design features into one’s application. The script and battle system are complete, but the project is currently on hiatus.
The battle system relies heavily on tactical placement of party members and their skillset. Each player can only bring four skills to battle, and some are only effective if the character is on the front-lines or back-line of battle. Enemies must take a similar strategy.