Sample Project?

24 replies [Last post]
Naomi
User offline. Last seen 4 days 22 hours ago. Offline
Joined: 6 Jun 2011

I'm wondering if Game Minion offers sample codes in the form of Corona projects, much the same way Corona SDK bundles sample codes. It would help quite a bit if I can ran some simple sample projects on Corona Simulator and see the results along with the source files.

The basic game play for my new project is pretty much done, and I'm ready to integrate various features that Game Minion offers, but when looking at the documentation, I'm not entirely sure how I may best proceed.

Edit: By the way, I did download GM-Corona-SDK from github, and when I launched it on Simulator (using Corona build 840), it gave me a runtime error: gameminion.lua:269: attempt to index a nil value
And all I see is a blank/black screen... Is this how it is meant to look/work...?

Naomi

Replies

Into-It Games
User offline. Last seen 17 weeks 7 hours ago. Offline
Joined: 17 Jul 2012

All of their documentation isn't targeted specifically at the corona module but it is useful to look at just to get an idea of what each api call does. When you download the library from github there actually is a small sample app included. I basically am learning their library by looking at the provided module code. Hope this helped somehow:)

Response to edit: I remember having this issue, could you tell me which function/method of the game minion library is being called and is causing the error?

M-Game Minion
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 22 Apr 2012

Hi Naomi, the good news is that we are going to release a complete template that you can basically swap out your own graphical assets, and game logic and you are ready to go.

In the mean time, tomorrow we will release an updated Corona lib that uses the Corona Events, so should be much easier to use.

As @intoitgames mentioned, our documentation is generic at this stage; Corona specific documentation is in the works, and we will release it as soon as we get 1st draft.

-M

Naomi
User offline. Last seen 4 days 22 hours ago. Offline
Joined: 6 Jun 2011

@intoitgames, thank you for posting your thoughts. I've spent sometime looking at the gameminion.lua module this afternoon, and I'm still sorting out how I may best implement what I need. The first step is registration screen (and am wondering if I can have users sign in using their Facebook log in...) And about the runtime error thingy, the updated Corona lib (that Mr/Ms. M mentions above) may simply fix it.

Mr/Ms. M @M-Game Minion, thank you for letting us know that you will be releasing a complete template. Do you have timeline as to when these might become available? I also appreciate you posting an updated Corona lib tomorrow. Can't wait to get a hold of it -- and can't wait to see the Corona specific documentation too.

Naomi

M-Game Minion
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 22 Apr 2012

@Naomi, the new Corona lib should be easier to use as it now uses the Corona Events. This should be out tomorrow. The documentation should follow a few days after latest.

The complete template is about 10 days away at most, we will get it out to you as soon as we have it stable. The idea is that you can just replace with your own graphics and Game Minion credential, put in your game logic and you are ready to roll with all the Game Minion features.

-Mohamed

Into-It Games
User offline. Last seen 17 weeks 7 hours ago. Offline
Joined: 17 Jul 2012

@Naomi - What was happening to me was I was when you initialize the game minion module with your own code and login, I had tinkered with the login credentials which were not yet registered. Before you try to login with some credentials, you must first register them. You could do that by telling a user to set a name and pass, then calling the gameminion "gameminion:registerUser(firstName, lastName, username, email, password)" function. Could you verify if I'm right GameMinion?

M-Game Minion
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 22 Apr 2012

@intoitgames you are 100% right, you need to replace the main.lua file with your own Game Secret and Access keys; in gm.init() call.

@Naomi; give it a try and let us know.

Naomi
User offline. Last seen 4 days 22 hours ago. Offline
Joined: 6 Jun 2011

@intoitgames and @M-Game Minion, thank you for the feedback regarding the registration function. I actually want to provide two methods to login/register for the user:

1) FB login (all users need is their own FB account.)

2) Email login (all users need to do is to enter their email address. Once a user enters his/her email address, if the system doesn't recognize it as belonging to any users in the system, it would ask the user to create his/her username. Super easy to sign in -- and it is how "Words with Friends" does it. Later on, the user can update the user profile and set the password (and whatever else the game may want to include in its user data.)

The goal is to make it super simple and easy to set up an account for the user and start playing the multiplayer game. (And the user wouldn't even need to set up an account if he/she isn't interested in playing with/against other users.) So... about the gameminion:registerUser function, I'm still wondering how I may do this. Perhaps I can ask for email address only, and then assign dummy params as placeholder until the user updates them?

Naomi

P.S., About gm.init() call, that's the very first thing I added after I required the gameminion.lua module in main.lua of my project. And then I got stuck with registration process... (and then I got side-tracked to get other things done...)

ckausik
User offline. Last seen 37 weeks 2 days ago. Offline
Joined: 18 Jan 2011

@M-Game Minion: Are you referring to the code at https://github.com/GameMinion/GM-Corona-SDK?

I sent an email last night for beta access. It would be nice to if someone can point to towards some kind of documentation.

M-Game Minion
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 22 Apr 2012

@ckausik; just checked and we recieved your registration, we are trying to roll out access in waves so we can make sure we give full support and attention to get everyone up and running and get familiar with the system. So please be patient you should be getting your access soon.

In regards to the SDK, what we've done is basically created a Corona based wrapper for Game Minion, where we handle the calls in lua to make it easier for developer to get going with Game Minion. We also handle the setup parts such as managing the authentication token.

The new lib is uploaded, as I mentioned it now uses Corona Events, so its much cleaner and easier to use.
When you receive access, all you need is create a game on Game Minion, "acquire" the GM lib, get the Secret and Access key and plug them into the gm.init(), and just make the calls you need.

-Mohamed

LairdGames
User offline. Last seen 1 day 3 hours ago. Offline
Joined: 28 Oct 2011

I second Naomi request for a game example. I am glad is coming soon. I am finalizing my first app and cannot wait to start on my new using Game Minion. Of course the game example would really speed up my learning curve since multiplayer games are new to me. Thanks Naomi for being a pioneer on this :)

Mo

dingo
User offline. Last seen 2 days 11 hours ago. Offline
Joined: 12 Sep 2011

Cool, didn't see that forum until now. I am trying out GM, it looks very promising. I am fighting cloud storage right now, but I am sure i can fix that :).

@Mohamed: if i create a box for a user that already exists...is it possible to get back the box? or do i explicitely need to call the retrieveBox anyway?

M-Game Minion
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 22 Apr 2012

@dingo, currently you will need to explicitly retrieve the box.

M-Game Minion
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 22 Apr 2012

Progress on the full project is coming along nicely, we are a little behind schedule.
I will keep you all updated.

-Mohamed

bonesmalone133
User offline. Last seen 13 weeks 6 days ago. Offline
Joined: 25 Mar 2010

Has any progress been made on a full project? Am I missing it somewhere? Just starting to mess around and get the hang of the GM library but a complete sample project would bring that learning curve down considerably.

Since there isn't really any specific Corona documentation (that I can see) it's taking a little longer to deconstruct the gameminion.lua file to figure out how to make different API calls.

P.S. I am interested in the turn based multi-player portion of the library mostly, but something that shows examples of user registration, logins, etc, would be very helpful for new users I think.

-Clark

marble68
User offline. Last seen 1 day 10 hours ago. Offline
Joined: 7 Jan 2011

I'm at the same point BonesMalone133.

I signed up for the beta a few months ago but since then not much has happened.

nick_sherman
User offline. Last seen 11 hours 41 min ago. Offline
Joined: 23 Sep 2011

@M-Game Minion, any update on the example project?

Bladko
User offline. Last seen 1 week 5 days ago. Offline
Joined: 14 Dec 2011

example project +1

codingcake
User offline. Last seen 9 hours 43 min ago. Offline
Joined: 20 Apr 2012

example project +1
Is possible to have example how to using the API to implement turn by turn or real time game.
Because right now, I do not got any detail info how to implement this part form current version example code

sirnemo
User offline. Last seen 10 weeks 1 day ago. Offline
Joined: 29 Oct 2012

Sample Project?

mohamed
User offline. Last seen 29 weeks 4 days ago. Offline
Joined: 5 Dec 2012

Hi,

This should be part of the official Corona Cloud launch, as well as tutorials.
If you have any specific issues, please send us on cloudsupport@coronalabs.com.

Thanks

-Mohamed

nick_sherman
User offline. Last seen 11 hours 41 min ago. Offline
Joined: 23 Sep 2011

Mohamed,

Is there an ETA for Corona Cloud to be launched? 1Q, 2Q?

I have a large number of projects on the back-burner until I can develop a turn-based engine so I'm looking forward to this being available.

schizoid2k
User offline. Last seen 7 hours 33 min ago. Offline
Joined: 29 Dec 2011

Me too! :-)

I signed up for the beta, and I guess I was not accepted, so this is putting a bit of a delay on 2 of my projects. Any insight would be great.

thanks

mohamed
User offline. Last seen 29 weeks 4 days ago. Offline
Joined: 5 Dec 2012

Hi,

We are really pushing as hard as we can to get it out ASAP, so I hope (fingers crossed) we can get it out to everyone in a matter of weeks.

I will try and keep everyone updated.

Thanks

-Mohamed

staytoooned
User offline. Last seen 12 weeks 5 days ago. Offline
Joined: 8 Sep 2010

A sample project was promised in July, 2012. Has this ever been released? If yes, where can we download it? If not, what is the ETA?

Thanks.

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.