I ran into a small issue after updating XCode via the MacApp Store. Basically installing Xcode now removes the old /Developer directory from the root of your hard drive and it now lives inside of the Xcode.app directory.
If you use the built in OS X merge tool for fixing merge issues in git repose then the following git command will break and not work.
$> git mergetool -y
In order for it to work again you need to run the following command in terminal.
$> sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer
Hope this little tip helps.
NME is proving to be a great framework on top of haxe to use for multi-platform development. Currently learning the ins and outs of it by porting my CoronaSDK game to the language and platform.
Blog post will be coming showing my setup and how to get started so be on the lookout. Till then if you are at all doing Flash dev and want a more optimized platform for multi-platform development you should start checking this out.
Here are the bullet points of you should look at using to get started.
Found a quick video on how to export a .p12 file, witch you will need if you are using FDT IOS Mobile project templet.
Going to start playing around with Starling and the new Stage3d for mobile in the next week or two and ran across this great FDT video. The debugging they give you looks awesome and you can debug wirelessly to the device!
I started doing quite a bit of HTML, CSS, Javascript, RoR development. As a long time developer using Flash we compile a swf and most IDEs launch the browser in order for you to view changes.
That small nugget can save you lots of development hours. Textmate is my editor of choice for Rails and Javascript these days. While it does have a "preview" browser it has some small issues. It does refresh but it only stays visible on a selected file. If you switch to another file you have to launch it again.
You will be doing yourself a huge favor by checking out "LiveReload". This awesome and simple application allows you to set up lots of directories for web development. Placing some javascript on the page hooks up a single page to reload as files change but even better there is an extention for google chrome and ff and any time a file changes with in your web directory it will reload any page you have loaded within the browser for that project. A very small simple solution but one that is well worth the money.
The Web Developer Wonderland
(a happy land where browsers don't need a Refresh button)
CSS edits and image changes apply live.
CoffeeScript, SASS, LESS and others just work.
Citizenship is granted through the Mac App Store.
Windows permanent residency issues are being worked out,
temporary stay already allowed.
Grab it on GitHub
This is an attempt to create a simple view manager class for corona sdk projects. The goal is to keep it simple and light. basically swapping out one view for another and adding some simple transition effects.
About the project
This project was started for my own personal use but please feel free too fork and add. I would like to add some other classes for doing stuff like modal or popup windows.
Questions or thoughts?
Send me a github message or hit me up on twitter http://twitter.com/matthewswallace
Awesome to see stuff like this in the Flash community. Always pushing the envelope aren't we.
Starting in December of 2011 we changed the direction of the Nashville Flash UG. We now cover all kinds of topics in the Interactive Developer space. Check out the stats on member sign up and participation.
Next week Andy Matthews is going to cover One Codebase - Deploy to Web, Desktop, & Mobile w/ jQuery, AIR, & Phonegap RSVP to be a part.
SWAG! - Andy will be giving out some great Phonegap stuff as well so don't miss this meetup!
Also a special announcement from Phillip Maddox of Ceed Creative. He's has been hard at work on the new logo and identity for the meetup. You guys are going to really dig what he came up with.
Use this offer code "communitymatters" and register NOW! This year promises to be the best yet. Check out the schedule.
April 15-18, 2012.
Join us in Denver CO April 15-18, 2012! Tickets are on sale now!
360|Flex has quickly become THE conference for Flex/AIR/ActionScript developers to attend to connect with the community, learn from the Adobe Engineers, as well as community experts, and get the deepest, most technical understanding of Flex and what’s coming for Flex, anywhere.
360|Flex was the first and is still the best all Flex/AIR themed conference. Our inaugural conference in San Jose was a sell-out success. 360|Flex takes you into the nitty-gritty of Flex development, with well known community leaders, giving some of the most advanced Flex talks anywhere. Anyone serious about being the best Flex developer they can be, owes it to themselves to look at 360|Flex as they best option for raising their game to a new level!
360|Flex is a community driven event. The sole purpose of the show is to bring the best of the Flex community together in one place to share war stories from the trenches and to allow the experts to share their deep technical knowledge with the community at large. Another benefit is finally being able to put a face, voice and personality to the bloggers, flexcoders and article writers that you’ve come to depend on.
Adobe is a strong supporter of the community and therefore, a strong supporter of 360|Flex. They make sure that the Flex Team is available to speak and that someone comes to deliver a killer keynote, and there’s a networking dinner “party” as a way for them to thank you for supporting them. You won’t find more Flex team members in one place, outside of Adobe MAX, than at 360|Flex.
360|Flex is a production of 360|Conferences, a company devoted to putting on low-cost, high-content, killer value conferences. Oh and of course, FUN!
After using Sublime Text 2 on a few html and ruby on rails project I think it is an awesome choice. If you are Textmate or BBedit user then Sublime will hook you right away. Naturally I wanted to get away from Textmate in my CoronaSDK / Lua projects. The one convenience that I enjoy with Textmate is "command + R" runs your Corona project for you.
First thing is to get Textmate Corona bundle working in Sublime. Do some googling and you will find some instructions for that. http://bit.ly/z1OCCF
Now that you have the bundle working in Sublime the next step is adding a new Build System so that we can run a simple command and launch the simulator from our project in Sublime. To do this you will go to Tools > Build System > New Build System.
You will see a new Build system document open. If you are on OS X you will add the following code to the file.
1 2 3 |
{ "cmd": ["/Applications/CoronaSDK/simulator", "main.lua"] } |
After that hit "command + s" and name the file CoronaSDK. This will add the new Build to your Build System menu so that you can select it.
Now open up your Corona project and give it a try. "Command + B" should launch the simulator and you will notice that the terminal window will open inside of Sublime at the Bottom witch I think is awesome. Enjoy!
Parsley is an MVC framework for Actionscript 3 and Flex projects. It uses dependency injection very much like Robotlegs. In this first video I show you how to get things set up.
I've had my share of feelings about the news coming out of Adobe over the last month. The dust settles fast in the software development world. At the end of the day we all just want to work with languages and technology that doesn't get in our way, that's fun to use and just gets the job done.
Lesson Learned : One thing I can say that I have learned from this and will maker sure doesn't happen again is I found myself defending Adobe, when what I thought I was really doing was defending Flash. From now on, no matter the platform or language, I am going to make sure that I don't do that again, and if I do, please someone stop me or at least give me a nudge and let me know.Flash is an awesome platform and I am thankful to work on projects that use flash. Actionscript 3 and the Flex framework has made me a better developer. I didn't start out wanting to be a developer until I started using the Flex framework. I have learned better OOP concepts, along with better UX best practices. The whole platform has just made me a better software developer.Where to go from here : I'd say do what most of us Flash Developers have always done. Do what you love, find languages and platforms that get your creative brains turning and most importantly, don't let a companies bad PR mess with the fun you are already having. Don't limit yourself. There are some awesome languages and technologies out there.All that to say .... Flash will remain and the industry will still need skilled developers that know what the hell they are doing and more importantly have a passion for the platform they are working on.
That's about all I have to say about that. This was just an attempt to put my thoughts out there. Nothing too it more than that. I enjoy Flash and will continue to enjoy developing on the platform but I enjoy being an Interactive Developer more.
I recently had to create a sliding menu for a game I am working on. Coming from a Flash background I usually think in terms of, "how would I do this in flash?", and it translates really well. Same goes for the functionality that I came up with for the menu component that I created so the user can swip from left to right to get to the next set of buttons.
The difference in Corona and flash that I found was the way you listen for events on the "stage". The following video has some great little bits of info for advanced touch event features and logic. The first tip solved the issue I was having and it only took adding a couple more lines of code.
In hopes to save someone else a few hours of reading and digging I figured I would start posting some quick tips about some of the small things that will make your programming experience on iOS with coronasdk a little easier and let's face it, make you feel more awesome that your applications does what it's supposed to do when a user interacts with it.
If the user hits the home button on iOS the app closes and if they where in the middle of doing something, by default they will not be returned to that state in the app. Not sure why this is the default functionality but none the less I started searching on how to "save state" of the app when it's interrupted by navigating to another application or clicking the home button to get back to the main screen.
If you do some googling as I did for "saving state", or "coronasdk suspend" and so forth you will more than likely come across a few posts that suggest listening for and event that the applications is exiting and then figuring out a way to save the state of all the variables and logic needed to load the screen the user is on when they return to the app. This is totally the case and something you should do if you want to return them to that state if the app quit but suspend is different that quitting or exiting the app all together.
If you want the app to suspend and return to the screen and state that it's in when the user navigates away and returns via "iOS multitasking" then the solution is very simple. Go into your app build.settings file and add the following line "UIApplicationExitsOnSuspend = false". By default a corona app "Exits" the app when suspended by default. You are basically telling the app to suspend rather than exit by adding this to your build settings.
1 2 3 4 5 6 7 8 9 10 |
settings = { iphone = { plist = { UIApplicationExitsOnSuspend = false, }, }, } |