Search found 7 matches
- Sat Sep 24, 2016 8:46 pm
- Forum: Games and Creations
- Topic: Tutorial: Quick and easy C++ native code in iOS with FFI
- Replies: 4
- Views: 5654
Re: Tutorial: Quick and easy C++ native code in iOS with FFI
This is nice! Thanks a lot for the tutorial. Would it be possible or recommended to use this method to access let's say GameCenter or an ad provider like Vungle? ... Was about to ask this. I'd need to use native functions like music picker. I'll talk about offscreen things, first. You can use anyth...
- Fri Sep 23, 2016 5:43 pm
- Forum: Libraries and Tools
- Topic: Word wrap (justify + minimum raggedness) + inner content / change font style
- Replies: 10
- Views: 7800
Re: Word wrap (justify + minimum raggedness) + inner content / change font style
Before anything else, I'll want to make it clear that I wrote this code for a prototype of a text-based game I intend to make. Okey sir! You impress me A LOT! Have you thought about the proposals I made before? I suggested both this things because I'm working on a general textarea module that can be...
- Fri Sep 23, 2016 7:18 am
- Forum: Libraries and Tools
- Topic: Word wrap (justify + minimum raggedness) + inner content / change font style
- Replies: 10
- Views: 7800
Re: Word wrap (justify + minimum raggedness) + inner content / change font style
Ok.. I basically remade everything from scratch, and implemented some nice features. If you look at the scripts/test.lua, you are going to see this: Empty(30) Justify() Text [[ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc semper viverra urna, eget laoreet tortor tincidunt at. Aenean...
- Thu Sep 22, 2016 4:09 am
- Forum: Libraries and Tools
- Topic: Word wrap (justify + minimum raggedness) + inner content / change font style
- Replies: 10
- Views: 7800
Re: Word wrap (justify + minimum raggedness) + inner content / change font style
Looks really neat! I don't see a license in the download, are you going to add one? I kept the license files for the ttf fonts inside the love container (since they're not mine). As for the code, it's public domain. It is just a bunch of draft snippets, after all. I have to rework it almost complet...
- Thu Sep 22, 2016 12:13 am
- Forum: Games and Creations
- Topic: Tutorial: Quick and easy C++ native code in iOS with FFI
- Replies: 4
- Views: 5654
Tutorial: Quick and easy C++ native code in iOS with FFI
Obs.: I'm sorry if this is not the right place for this kind of topic. I really don't know where to post something like this. The purpose of this tutorial is to show an easy and quick way of running C/C++ code from Lua (inside Love), in iOS, without really modifying Love source code or using Lua AP...
- Sun Sep 18, 2016 10:58 pm
- Forum: Libraries and Tools
- Topic: Word wrap (justify + minimum raggedness) + inner content / change font style
- Replies: 10
- Views: 7800
Re: Word wrap (justify + minimum raggedness) + inner content / change font style
Hi. Thank you for your feedback! This was just a draft code. That's the reason why I avoided publishing it on my github. I published it here because I thought that somebody could want minimum raggedness (and many people don't know how to code a dynamic programming algorithm). Anyway, I improved the ...
- Thu Sep 15, 2016 1:45 am
- Forum: Libraries and Tools
- Topic: Word wrap (justify + minimum raggedness) + inner content / change font style
- Replies: 10
- Views: 7800
Word wrap (justify + minimum raggedness) + inner content / change font style
Hi, I've written the code for this for my personal use. However, I feel it may be useful for some of you. What it offers: Paragraph justification with minimum raggedness (it is prettier than just filling a line until it has no space for the next word, then creating a new line. The code minimizes the...