Np. But your question will be asked by others in the future too and if it is handled in its own topic, it is easier to find for them. Anyway, do as you please. It was just a suggestion. Right now it is organized here, but on the mexican beer forum, people posted all over the forum. It was such a mess.
Thanks for sharing Mike, looks like I've got some reading to do about plugins and how to get the stuff working.
Sorry if this is a bit of a noob question but...
I'm assuming that the plugin can be baked into some kind of library (.a ??) and then reused from project to project - yes ?
Also as I actually do most of my development on a Windows PC, can that library be used along with the player (compiled and installed on my iPod touch) to develop and upload code from Windows using Gideros Studio??? - or have I got the wrong end of the stick?
Regards
Jon...
WhiteTree Games - Home, home on the web, where the bits and bytes they do play! #MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
I'm assuming that the plugin can be baked into some kind of library (.a ??) and then reused from project to project - yes ?
Also as I actually do most of my development on a Windows PC, can that library be used along with the player (compiled and installed on my iPod touch) to develop and upload code from Windows using Gideros Studio??? - or have I got the wrong end of the stick?
Regards
Jon...
1. yes 2. yes, as long you have compiled and installed the player first with XCode on your device.
@mikehart@evs@techdojo@gregbug@caroline I'd suggest you put this code sample to Github, and start contributing to it by adding a README file, inline comments, a few usage examples etc. I believe it'll be of help to many people in the forum.
Most of the documentation / forum posts about plugins refer to the iPhone, are there any plans for implementing a plugin system for android?
I know plugins aren't for everyone but already having experience with the Android NDK and having looked at Caroline's TestPlugin example (http://www.giderosmobile.com/forum/discussion/571/a-simple-c-sample-plugin), I can't see any reason why it shouldn't be possible to implement on android, or am I missing something which prevents the use of plugins in android.
Does someone know how to fix the scrollview problem?
The problem here is:
controls that are added to it, will be collected from the GC once it kicks in. The fastest way ro recognize this is to use the slider as this creates the most events.
I'm new to using github, but I read somewhere that it's best to fork off a hub to do your 'experiments', allowing the owner of the original hub to integrate then if they so wish.
Comments
@mikehart or @atilim or any plugin expert!
ps: i'm starting now to study plugin system... only now... ">
but if i use c (not c++) i need to use a ..stub file like in sqlite plugin ?
i created a little plugin.. with very simple function in it and added to player and work fine in Apple iPhone emulator...
but for desktop (and gideror emulator) ? how do i do?
www.tntengine.com
you are right.
I did not do maliciously.
i'm so sorry really.
Gianluca.
www.tntengine.com
Sorry that I haven't been able to contribute - real life issues have come my way, hopefully temporarily.
Sorry if this is a bit of a noob question but...
I'm assuming that the plugin can be baked into some kind of library (.a ??) and then reused from project to project - yes ?
Also as I actually do most of my development on a Windows PC, can that library be used along with the player (compiled and installed on my iPod touch) to develop and upload code from Windows using Gideros Studio??? - or have I got the wrong end of the stick?
Regards
Jon...
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
2. yes, as long you have compiled and installed the player first with XCode on your device.
Note: I got a few compiler warnings.
Warning: Format string is not a string literal (potentially insecure)
Warning: 'setStatusBarHidden:animated:'is deprecated (iOS 3.2 and above)
I removed them by changing the following:
Line
81 NSLog(type); to NSLog(@%@", type);
1370 NSLog(filename); to NSLog(@%@", filename);
1665 NSLog(txt); to NSLog(@%@", txt);
Line
1861 [[UIApplication sharedApplication] setStatusBarHidden:show animated:NO];
to
[[UIApplication sharedApplication] setStatusBarHidden:show withAnimation: UIStatusBarAnimationNone];
1957 [[UIApplication sharedApplication] setStatusBarHidden:true animated:NO];
to
[[UIApplication sharedApplication] setStatusBarHidden:true withAnimation: UIStatusBarAnimationNone];
There is a choice of three animations for the above:
UIStatusBarAnimationNone
UIStatusBarAnimationFade
UIStatusBarAnimationSlide
Cheers
evs
Someone get the ball rolling, please
https://github.com/carolight/MHUIKit
Not sure how forking works, but I guess we'll find out .
Let me know if I need to change anything, or if you find somewhere better to host it.
I haven't tackled inline comments or put in pragma marks.
I did correct as @evs suggested.
Likes: Caroline
I know plugins aren't for everyone but already having experience with the Android NDK and having looked at Caroline's TestPlugin example (http://www.giderosmobile.com/forum/discussion/571/a-simple-c-sample-plugin), I can't see any reason why it shouldn't be possible to implement on android, or am I missing something which prevents the use of plugins in android.
Edit:
Doh!!!!, I posted too soon, the last comment I managed to read (http://www.giderosmobile.com/forum/discussion/572#Item_2) mentioned that you're already on the case.
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
I've forked off ( "Fnarr! Fnarr!") and added a Simple PickerView with a lua usage example - picker.lua
https://github.com/evsgithub/MHUIKit
I also made the following additions to TextField2
setTextColor(r, g, b)
setBGColor(r, g, b)
showKeyboard() - call after adding to view
I hope It's not too buggy?
Cheers
evs
The problem here is:
controls that are added to it, will be collected from the GC once it kicks in. The fastest way ro recognize this is to use the slider as this creates the most events.
I'm new to using github, but I read somewhere that it's best to fork off a hub to do your 'experiments', allowing the owner of the original hub to integrate then if they so wish.
Cheers
evs
Scrollview issue... So simple to fix. I got it working. Now I have to figure out how to submit this back to the hub.
I think I will have to go and read something about git...