Drawing OpenGL Primitives

Sometimes in 2D game development we need to make use of good old-fashioned OpenGL primitives. With these we can make minimaps, heads up displays, and special effects like bullet tracers and lightning blasts to name a few.

In the following scene I’ve created a simple figure using all of the primitive drawing functions supplied by Cocos2d as well as one I’ve tweaked and added.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

  • Documentation
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Blog
  • WordPress Planet

Archives

All entries, chronologically...

Free WordPress Theme
rss
Карта