现在的位置: 首页 > 综合 > 正文

OpenGL ES 2.0 for iPhone Tutorial

2017年10月31日 ⁄ 综合 ⁄ 共 2663字 ⁄ 字号 评论关闭

 

OpenGL ES 2.0 for iPhone Tutorial

Learn how to use OpenGL ES 2.0 from the ground up!

Learn
how to use OpenGL ES 2.0 from the ground up!

OpenGL ES is the lowest-level API that you use to program 2D and 3D
graphics on the iPhone.

If you’ve used other framework such as Cocos2D, Sparrow, Corona, or
Unity, these are all built on top of OpenGL!

One of the reasons why programmers like to use the above frameworks
rather than using OpenGL directly is because OpenGL is notoriously
difficult to learn.

And that’s what this tutorial is for – to make the learning curve a
little less steep for beginner OpenGL developers!

In this series, you’ll get hands-on experience with OpenGL ES 2.0 and
will create a simple “Hello, World” app that displays some simple
geometry.

In the process, you’ll learn the following:

  • How to get a basic OpenGL app working from scratch
  • How to compile and run vertex & fragment shaders
  • How to render a simple square to the screen with vertex buffer
    objects
  • How to apply projection and model-view transforms
  • How to render a 3D object with depth testing

Caveat: I am not an Open GL expert! I am learning this myself, and
am writing tutorials as I go. If I make any boneheaded mistakes, feel
free to chime in with corrections or insights! :]

Without further ado, let’s start learning OpenGL ES!

Keep reading!

Tags:
,
,
,
,

19 May 2011

How To Make A Space Shooter iPhone Game

Make a Space Shooter iPhone game!

Make a Space Shooter iPhone game!

In this tutorial, you’ll learn how to make a space shooter game for
the iPhone!

You’ll pilot a space ship with the accelerometer, and blast your way
through a field of dangerous asteroids with your trusty laser gun!

If you’re a complete beginner to making iPhone games, this tutorial
is for you! You’ll learn how to make a complete game from scratch, with
no prior experience necessary!

If you’re completely new to programming in general you might want to
check out this slightly
easier introduction

first.

This tutorial is also good for intermediate developers, because it
covers some neat effects such as parallax scrolling, pre-allocating
CCNodes, accelerometer movement, and particle systems.

Without further ado, let’s get blasting!

Keep reading!

Tags:
,
,
,
,
,

17 May 2011

Apple Push Notification Services Tutorial:
Part 2/2

Create a simple chat app with Apple Push Notification Services!

Create a simple chat app with Apple Push
Notification Services!

This is a post by iOS Tutorial Team member Matthijs Hollemans
, an
experienced freelance iOS developer available for hire
!

This is the second part of a 2-part tutorial series on integrating
Apple Push Notification Services (APNS) into an iPhone app.

In the first
part of the tutorial series

, you learned how to enable your iPhone
app to receive push notifications, and how to send a test push
notification using a PHP script.

In this second and final part of the tutorial series, you’ll learn
how to make a simple app using APNS, and a simple PHP web service to
power it!

Note:
This tutorial is on the long side, so make sure you
set aside a nice chunk of time (and some munchies!) to go through it.
But it’s well worth it – once you finish you’ll have a functional app
and web service using push notifications!

抱歉!评论已关闭.