GGLibs - Modules to speed up development

Hello,

I have just finished implementing GGRating, GGTwitter and GGFacebook and my incoming app
(Space Command - Asteroids Killing Machine) and I cannot be more happy about the results. I actually just now “purchased” all three of them. I say “purchased” because the price is so minimal given the HUGE value that I am getting back. And I will purchase GGStore as soon it hits the site;) I strongly suggest that everybody support this developer. Again you cannot put a price on the returned value in term of time and headaches saved!

@Glitchgames: THANK YOU for a great library. I know now that my next app will be much easier to put together because of libraries like yours.

Cheers.

Mo [import]uid: 100814 topic_id: 32733 reply_id: 133016[/import]

I have been looking at a few of the GG libs for the last few weeks, they are quite awesome. Huge thanks for your generosity.

On another note, I had two questions.

I am curious what is the difference between GGScene and GGSceneManager.

What is the benefit of GGScene over Storyboard, I noticed it had a lot more transitions and some really unique ones, but are there other benefits that may not be apparent in a glance over?
[import]uid: 160288 topic_id: 32733 reply_id: 133032[/import]

We’ve just uploaded a video showing the screen transitions in GGScene - http://www.youtube.com/watch?v=_riCrSOjTS0 - the actual code should be up later today in theory. [import]uid: 119420 topic_id: 32733 reply_id: 132933[/import]

Be able to set slide distance would be great, like Facebook and most other apps do to show menu or chat etc… [import]uid: 13560 topic_id: 32733 reply_id: 132956[/import]

Like a slide in menu thing? You could probably do that with a popup with “slideFromLeft”. [import]uid: 119420 topic_id: 32733 reply_id: 132988[/import]

I’ve just added in a couple of transitions for that purpose. I will upload it to the repo and you will see an example “PopupC”, the stuff for it is in main.lua but commented out. [import]uid: 119420 topic_id: 32733 reply_id: 132992[/import]

@ emaurina - Thanks! I wanted to make sure there were some cool ones in there over just the ubiquitous slides and fades :slight_smile: They would be quite a bit faster if I could create ImageSheets directly from DisplayObjects, currently I have to take a screenshot, save it to disk and then load it back up again which naturally causes a slight delay.

@ LairdGames - Thank you so much for supporting us! We really do appreciate it so thank you very much! Very glad to hear that they are all in and working too, that’s good to hear :slight_smile:

@ cspence - Originally GGScene and GGSceneManager were going to be two separate modules however I decided that it would make more sense to just combine them both into GGScene. Made everything a whole lot simpler.

As for benefits over storyboard, the main reason we are making these libs is to make our development lifes easier by allowing us to focus on code we have written, if there is a bug or we want a new feature etc it’s our code that requires changing. We then decided to release them as other people might like them too. Naturally you could still go with Storyboard if you like, we’ve just never used it ourselves as I’ve always gone with Director since it first came out. [import]uid: 119420 topic_id: 32733 reply_id: 133151[/import]

I especially like the mosaic and dissolve transitions. Nice! [import]uid: 110228 topic_id: 32733 reply_id: 133009[/import]

Hello,

I have just finished implementing GGRating, GGTwitter and GGFacebook and my incoming app
(Space Command - Asteroids Killing Machine) and I cannot be more happy about the results. I actually just now “purchased” all three of them. I say “purchased” because the price is so minimal given the HUGE value that I am getting back. And I will purchase GGStore as soon it hits the site;) I strongly suggest that everybody support this developer. Again you cannot put a price on the returned value in term of time and headaches saved!

@Glitchgames: THANK YOU for a great library. I know now that my next app will be much easier to put together because of libraries like yours.

Cheers.

Mo [import]uid: 100814 topic_id: 32733 reply_id: 133016[/import]

I have been looking at a few of the GG libs for the last few weeks, they are quite awesome. Huge thanks for your generosity.

On another note, I had two questions.

I am curious what is the difference between GGScene and GGSceneManager.

What is the benefit of GGScene over Storyboard, I noticed it had a lot more transitions and some really unique ones, but are there other benefits that may not be apparent in a glance over?
[import]uid: 160288 topic_id: 32733 reply_id: 133032[/import]

Just put a new lib up - https://github.com/GlitchGames/GGScoreoid - it’s for using Scoreoid.

[import]uid: 119420 topic_id: 32733 reply_id: 133243[/import]

This is cool addition, thanks. [import]uid: 160288 topic_id: 32733 reply_id: 133249[/import]

Very welcome, I can’t wait till we can make a game ourselves using it :slight_smile: [import]uid: 119420 topic_id: 32733 reply_id: 133258[/import]

Just a quick note to say we’ve just added all the recent GG additions to our site, please check them out and see if anything takes your fancy - http://www.glitchgames.co.uk/code/ [import]uid: 119420 topic_id: 32733 reply_id: 133278[/import]

@GlitchGames.

NO, thank you! You did not have to share these wonderful libs but you did and I appreciate it. By the way I quickly check the GGChart lib and it is fantastic! Especially creating QR code on the fly!

The only issue (small ) so far is when using the makePost with Facebook, my app goes to the FB app for few second then goes back to my app, reset my app and then open the dialog asking for login. The bizarre thing is that it only happen once. The other time it open the dialog right from my app. Since I am hoping to send that my app Sunday I may need to use simplePost until then.

Very happy with these libs so far! Any idea on the GGStore? I am sure you guys are super busy but I would love to get some info on that lib!

Thanks.

Mo [import]uid: 100814 topic_id: 32733 reply_id: 133281[/import]

@LairdGames

This is a very simple example of using makePost and it all works fine; if you haven’t authorised the app it will ask you to do so via Facebook, if you’ve authorised it previously but this is a fresh install then it will load Facebook briefly where it will log in and return to the app and if you’ve authorised it and this isn’t a fresh install then the Post To Wall dialog will come up:

[lua]local GGFacebook = require( “GGFacebook” )

local listener
local facebook

listener = function( event )

if event.type == “session” then
if event.phase == “login” then
facebook:makePost( “http://www.glitchgames.co.uk” )
end
end

return true

end

facebook = GGFacebook:new( “000000000000000000000”, listener, { “publish_stream” } )

facebook:login()[/lua]

GGStore is still coming, just taking some time as I want it to be good :slight_smile:
Can anyone else think of some ideas for stuff that is fundamental to all games? [import]uid: 119420 topic_id: 32733 reply_id: 133291[/import]

Thanks! I ended up using:

–[[
local options =
{
message = “Check out this link!”,
link = “http://www.glitchgames.co.uk”,
name = “Glitch Games”
}
facebook:post( options )

–]]

I am still getting a reset (the load page shows up after the system leave the FB app and come back to my app) BUT it is working great! If I do not call facebook:logout then the app does not come back to the FB app and it looks great,

Q1: Is is necessary to logout? Security for the user?

Q2: Is it really necessary to destroy the facebook object? if yes, when would you do it? In the clean() function (director)? What happened when the users comes back to the module (or to the app), I will assume a new facebook object get created and nothing bad will happened right?

In any event, thank you for the info.

Mo [import]uid: 100814 topic_id: 32733 reply_id: 133311[/import]

@ emaurina - Thanks! I wanted to make sure there were some cool ones in there over just the ubiquitous slides and fades :slight_smile: They would be quite a bit faster if I could create ImageSheets directly from DisplayObjects, currently I have to take a screenshot, save it to disk and then load it back up again which naturally causes a slight delay.

@ LairdGames - Thank you so much for supporting us! We really do appreciate it so thank you very much! Very glad to hear that they are all in and working too, that’s good to hear :slight_smile:

@ cspence - Originally GGScene and GGSceneManager were going to be two separate modules however I decided that it would make more sense to just combine them both into GGScene. Made everything a whole lot simpler.

As for benefits over storyboard, the main reason we are making these libs is to make our development lifes easier by allowing us to focus on code we have written, if there is a bug or we want a new feature etc it’s our code that requires changing. We then decided to release them as other people might like them too. Naturally you could still go with Storyboard if you like, we’ve just never used it ourselves as I’ve always gone with Director since it first came out. [import]uid: 119420 topic_id: 32733 reply_id: 133151[/import]

  1. For logging out I’d say don’t do it automatically but provide them with an option so they can choose to when they want then everyones happy.

  2. I would call destroy when you have finished using it so yea if the scene is getting destroyed that should be fine. [import]uid: 119420 topic_id: 32733 reply_id: 133341[/import]

Just put a new lib up - https://github.com/GlitchGames/GGScoreoid - it’s for using Scoreoid.

[import]uid: 119420 topic_id: 32733 reply_id: 133243[/import]