Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use OpenGL ES on iOS through RubyMotion?

I know RubyMotion is relatively new, but I'd like to find out if it's possible/easy to use OpenGL ES with it before I buy a license to make an iOS game I've been planning for a while.

The reason I'm wondering is that I understand RubyMotion wraps all the Cocoa/Objective-C stuff but OpenGL on iOS is a set of C functions (glBegin(), glEnd(), etc.)

If anyone that purchased RubyMotion could help me out in finding out or point me to a piece of documentation, I'd be extremely grateful. Thank you.

like image 530
anthonyvd Avatar asked Nov 30 '25 22:11

anthonyvd


1 Answers

Yes.

They have a working demo in the RubyMotionSample project https://github.com/HipByte/RubyMotionSamples/tree/master/HelloGL

like image 198
siuying Avatar answered Dec 03 '25 12:12

siuying



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!