Edit Game in Xcode!

2»

Comments

  • BoomshackBarryBoomshackBarry Member Posts: 712
    @FryingBaconStudios I've spent about a year away from Gamesalad recently and spent a lot of it studying to code with Javascript too, it's awesome to know that I can use that knowledge in Gamesalad soon. Will have to start looking in to Lua now...
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    Lua is quite easy to learn, I began to learn Lua 2 years ago, In still learning - the possibilities are endless with Lua, Would love some gamesalad-Lua integration
  • CodeWizardCodeWizard Inactive, Chef Emeritus Posts: 1,143
    Again, the precise details of how this will be done are unclear. But! Just want to make sure you guys know it's on "the list" for implementation. Custom behaviors in script followed by a native plugin system. Exact timing is TBD and will be after our other major optimization tasks.
  • BoomshackBarryBoomshackBarry Member Posts: 712
    The timing doesn't matter, just the fact that custom scripting and plugins are on the to do list at all shows that Gamesalad is starting to take itself more seriously as a professional tool than it perhaps has in the past. Which is awesome!
  • GreggTheDevGreggTheDev Member, PRO Posts: 33
    Wonderful! :D Does anyone know how long it would take to learn Lua? I know in other computer languages.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited May 2013
    That's question is a paradox. How quickly a person learns is based on their own particular inherent intelligence. The more neurons and amount of pathways between those neurons determine intelligence so I guess you'd need a brain scan and an average benchmark to being to determine that plus factor in effort.
  • GreggTheDevGreggTheDev Member, PRO Posts: 33
    Ha! Will do--maybe I'll let you know when I get the results. :D
  • ChakkuChakku Member Posts: 1,513
    Custom behaviors in script followed by a native plugin system. Exact timing is TBD and will be after our other major optimization tasks.
    @CodeWizard
    I personally know some particularly bright developers (coders) that loved the simplicity and especially the speed of getting a working game done in GameSalad. However, the sole reason they are not using GameSalad is due to the lack of the feature above. Once we get that in, I can see GS getting a ton of experienced devs! :D :)
    8->

    Chakku
  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    Again, the precise details of how this will be done are unclear. But! Just want to make sure you guys know it's on "the list" for implementation. Custom behaviors in script followed by a native plugin system. Exact timing is TBD and will be after our other major optimization tasks.
    When you say native plugin system.. I'm assuming that SDK's that you can add in to XCode would not work with GS? Devs would have to make plugins that were made specifically to fit with and modify GS?
    - Thomas
  • MSEagle2MSEagle2 Member, PRO Posts: 98
    Again, the precise details of how this will be done are unclear. But! Just want to make sure you guys know it's on "the list" for implementation. Custom behaviors in script followed by a native plugin system. Exact timing is TBD and will be after our other major optimization tasks.
    When you say native plugin system.. I'm assuming that SDK's that you can add in to XCode would not work with GS? Devs would have to make plugins that were made specifically to fit with and modify GS?
    - Thomas
    Custom behaviors would be done in LUA. SDK's would probably require C.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    I would Image you could write a plugin in one of the supported languages discussed like JavaScript or LUA. A plugin I imagine would work similar to making variables and such in unity visible in the actors inspector palate. So a plugin would show up as a custom behavior with modifiable variables. This would be different than adding a script that would not have visible adjustments in the interface.
  • SolarPepperStudiosSolarPepperStudios Member Posts: 754
    @Bluemoonstudios Lua.framework is the magical file that allows Lua in Xcode...
    @BoomshackBarry I like the sound of that! =P~
    @FryingBaconStudios I can't figure out how to get a way to code it! I've done all the terminal commands, compiled all of the files and such! I'm still looking for a GUI to open so I can code it! Do you have any suggestions @CodeWizard ?
  • GreggTheDevGreggTheDev Member, PRO Posts: 33
    Going back to my previous question (but I should rephrase it): is Lua "easy" in comparison with other languages (i.e. JavaScript, C, Java, etc.)? I am open to anyone's opinion!!
  • BoomshackBarryBoomshackBarry Member Posts: 712
    edited May 2013
    Going back to my previous question (but I should rephrase it): is Lua "easy" in comparison with other languages (i.e. JavaScript, C, Java, etc.)? I am open to anyone's opinion!!
    @GreggTheDev I'm no pro but here's my take on it:

    Of the four you've mentioned, Javascript and Lua are the more lightweight scripting languages, whereas C and Java are more fully fledged programming languages. If you're coming from a zero-programming background then the scripting languages will be the easiest to understand at first due to their simpler nature. Once you have experience in any particular language then learning another one becomes a lot easier, as they generally all share the same features (variables, loops, functions, arrays, etc...) and it's mostly down to syntax then, in other words how each language expects those features to be formatted. For a basic example - comments; in Javascipt a commented line starts with //, whereas in Lua it would start with -- . The feature is the same it is just formatted in a different way.

    The link below outlines the differences between Javascipt and Lua, and as it's a fairly short document it's a safe guess that the two languages aren't too dissimilar from one another.

    http://phrogz.net/lua/LearningLua_FromJS.html

    And just as a reminder I'm no coding pro at all, but seeing as you said you're open to anyone's opinion I thought I'd chip in while I'm drinking my morning cup of tea :)

    Also note that this post is a bit of a simplification; each language can deal with more complex ideas such as inheritance, object oriented practices (or lack of) etc differently from one another, but generally speaking learning any of the languages will make learning another one easier when coming from a zero-coding background.
  • alexconsincalexconsinc Member Posts: 54
    Wow! This feature sounds do useful. Good job I learnt JavaScript last year making a website! :-\"
  • Team6LabsTeam6Labs Member Posts: 541
    Best way to learn javascript is to visit codechademy.com
  • SolarPepperStudiosSolarPepperStudios Member Posts: 754
    I'm working on a game in Xcode right now and I'll say, not fun. It is an SNES emulator for iPad and iPhone but boy is that code hard to read and right!
  • ericzingelerericzingeler Member Posts: 334
    Custom behaviors and scripting are coming, FYI. Other stuff first, but that's definitely on the way!
    This will change everything. :)
  • GreggTheDevGreggTheDev Member, PRO Posts: 33
    OK, thanks everyone. What's the best way to learn Lua? Are there any good books out there?
  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    Best way to learn javascript is to visit codechademy.com
    I think you mean http://codecademy.com
    - Thomas
  • GreggTheDevGreggTheDev Member, PRO Posts: 33
    So does anyone have any books/videos (any media) which they recommend for learning Lua?
  • MSEagle2MSEagle2 Member, PRO Posts: 98
    LUA is very easy. Just google around a bit, watch some yt vids, etc.
  • ORBZORBZ Member Posts: 1,304
    I'd prefer python if we are going to go scripting languages. I think it'd be easier for people to read the syntax too.
  • GreggTheDevGreggTheDev Member, PRO Posts: 33
    Alright--I was thinking at first that we'd be able to edit it in Objective-C, but, I know what I'll be doing: learning Lua! :D

    @ORBZ
    Python is pretty easy as far as I know--I'd like that, too.
  • blorschblorsch Member Posts: 248
    I don't know if this has been mentioned yet but, how about Export to Corona? Corona is LUA based
  • BoomshackBarryBoomshackBarry Member Posts: 712
    I don't know if this has been mentioned yet but, how about Export to Corona? Corona is LUA based
    @blorsch I can't see GS implementing an option to export your game to one of it's competitors ;)

  • GreggTheDevGreggTheDev Member, PRO Posts: 33
    Yeah--it's pretty unlikely.

    What do you guys think would be better--Lua or JavaScript?
Sign In or Register to comment.