Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums General General Discussion v
« Previous 1 … 6 7 8 9 10 … 13 Next »
Lua - a drawing library for Android
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Lua - a drawing library for Android
20-10-2015, 11:00 AM,
#1
Destiny's Player Offline
A passing by member
***
Posts: 237
Threads: 35
Joined: Dec 2013
Lua - a drawing library for Android
Anybody knows if there is a Lua library which allows you to 2D draw, ala Starfall, and which works on Android, both allowing you to write on it and to launch it on it? If possible it would be nice if it didn't have any features outside of 2D rendering, but any variant would be nice.
Find
Reply
20-10-2015, 03:07 PM,
#2
rouing Offline
#RBR15 - Rekt by Rouing 2015
****
Posts: 295
Threads: 27
Joined: Jul 2014
RE: Lua - a drawing library for Android
http://www.luaj.org/luaj/3.0/README.html

What is this love you speak of?
Find
Reply
20-10-2015, 03:29 PM,
#3
Destiny's Player Offline
A passing by member
***
Posts: 237
Threads: 35
Joined: Dec 2013
RE: Lua - a drawing library for Android
And where's the rendering library? Or do you need to find a java one, and use this thing as a mid-step?

The thing is, I've already found Lua for Android. I'm just trying to find a graphics library that also works with Android and which doesn't have a ton of other features that I don't need, aka all of these game engines.
Find
Reply
21-10-2015, 09:49 AM,
#4
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
RE: Lua - a drawing library for Android
Use Android NDK then create C lua lib for GL bindings. Note also that Android uses OpenGLES while most computers uses OpenGL.

Some functions in standard OpenGL may not be included in the ES version.

Anyways, I'd myself use Android NDK to develop a C application as a window base and implement rendering support using direct bindings to GL. That means sf render functions such as drawRect are not included gl works completely differently, it works with vertex draw. It's similar to drawPoly in SF.
After I don't recomend you using Java to bind rendering to lua for one good reason, Java runs through a virtual machine before it can be interpreted by the physical CPU. Adding lua on top would make 2 virtual machines before running to the physical CPU.
Instead, making C lua bindings for GL will reduce virtual machines by 1. C will interpret lua, and C is already directly interpreted by the physical CPU.

This said, I'm not an expert in Android development. I haven't succeeded to compile anything through Android NDK. It seams to be much more easy to compil for android on a Linux machine.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.