Dreamlo and Physics Body Editor

I am making this forum post to show my plugins available on the corona marketplace and provide support(main reason).

Dreamlo:

Provides an interface to Dreamlo, a free cross-platform leaderboard and promo code system.

Activate Plugin

Documentation

Physics Body Editor:

This plugins uses Physics Body Editor to edit shapes of objects in Corona SDK.

Activate Plugin

Documentation

Yelp plugin

This plugins uses Yelp. Which is a places search engine.

Activate Plugin(pending)

Documentation

Google Drive

https://forums.coronalabs.com/topic/65160-google-drive/

Firebase:

work in progress

More Coming soon :slight_smile:

Hi Scott,

Sorry wasn’t sure if I should create a new topic or post here:

Am attempting to use the dreamlo plugin:

https://store.coronalabs.com/plugin/dreamlo

 

When I attempt to insert a score like so:

dreamlo.add("wuhu2", {1, 2, "sometext"},handleScore);

What I see inserted is this :

{"dreamlo":{"leaderboard":{"entry":{"name":"wuhu2","score":"1","seconds":"1","text":"1","date":"7/12/2016 1:27:15 PM"}}}}

Am I doing something wrong here?

 

Thanks in advance,

This error on my part, sorry I will try to get this fixed later today.

This should be patch, it may take an hour or so to see the update.

I will test this to get it working properly

Thanks Scott, will test it out.

Hi Scott,

I get some other problems now.

With this input

dreamlo.add("name", {1,2,"sometext"}, handleScore)

I still get

{"name":"name","score":"1","seconds":"1","text":"1","date":"7/14/2016 11:29:59 AM"}

And although it still works on the simulator. When building for an android device I get this error when starting up:

Screenshot_20160714-193425_s.png

I’m not sure how I get the updates, I believe I just need to use the corona simulator to run the app to “re-build” yes ?

Note: I tried to build with your example code https://github.com/scottrules44/Dreamlo-example but same behavior, works in the simulator but unable to populate the extra fields like “text”, and error like above when trying to run on an android device.

Thanks in advance,

Let me take a look at this later, sorry I have been pretty sick.

Ok, no rush man. Not super urgent. Get well first.

This should be patched, i just build for iOS and it work fine. My simulator is messed up. I thought is would be smart to delete the plugin in the corona plugins folder on my mac and now i am having lots problems. i will test this android when i get chance. But this is a pure lua plugin so it should work across all platforms corona supports. I did notice that internet permission is off in my sample. I will try to the sample updated. I would try rebuilding app 

Edit: to check if you what version you are running of plugin a new “secret api” has been added

print(dreamlo.verison)

Sorry i miss spelled version, will fix later.

But it should output “1.0.1” if you are on the latest “version”

Hi,  I’ve been trying out the Dreamlo plugin and it is working great, so thank you, but I wanted to try and only get the top 10 scores rather than all but anything other than ‘nil’ as the first param always returns no scores.

Just one of my attempts to only get 10 scores;

dreamlo.getScores({nil, nil, 10, nil, nil} ,handleScore)

Any help would be appreciated, thanks.

It is actually table based so it would be

dreamlo.getScores({amount=10} ,handleScore)

Ps on mobile so cannot do coding brackets

Thanks for your quick response, but I had already tried that, which still returns nothing.

Based on the code below, it always prints ‘no scores’

 local function handleScore( ev ) if (not ev.error) then myText.text = "Scores Printed" else myText.text = "Error" print (ev.error) end if (ev.data == nil) then print( "no scores" ) else print\_r(ev.data) end timer.performWithDelay( 1000, function ( ) myText.text = name end ) end dreamlo.getScores({amount=10}, handleScore) -- fails -- dreamlo.getScores(nil, handleScore) -- works, returns all scores

Just pushed update, try again in an hour.

Works perfectly, thanks!

Great

Considering GDPR and the nature of Dreamlo itself, I guess the plugin and the platform is a bit problematic at the moment. Is that right, Scott?

I am not sure on this you may want to reach out to dreamlo

http://dreamlo.com/contact/