iPhone Developer Program is waaaay too many headaches.

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

User avatar
ibly31
Chaos Rift Junior
Chaos Rift Junior
Posts: 312
Joined: Thu Feb 19, 2009 8:47 pm
Current Project: Like... seven different ones
Favorite Gaming Platforms: Xbox 360, Gamecube
Programming Language of Choice: C++, ObjC
Location: New Jersey.

iPhone Developer Program is waaaay too many headaches.

Post by ibly31 »

So first, we tried to buy the iPhone developer program for me, and we waited like a week. Then we get an error saying they cannot correctly identify me. I'm 14, and apparently you have to be 18. So after about a month we decided to try again, a whole fresh new account, and use my dads information for EVERYTHING. We go through all the screens and right at the last screen before the "Complete Purchase" button, we see my previous information for the last time we bought it. Then when we close it out(after deleting all the cookies) we try it in a different web browser, and on the main screen, there is a thing saying that we should be recieving the activation email within 24 hours. WE DIDN'T PRESS THE EFFIN COMPLETE PURCHASE BUTTON! GAAAAAAAAAAAAAAAAAAAAAAAH!!!!!!!!!!1111!!!oneoneoneone!!!1!
Image
Twitter
Website/Tumblr
My Projects

The best thing about UDP jokes is that I don’t care if you get them or not.
User avatar
ibly31
Chaos Rift Junior
Chaos Rift Junior
Posts: 312
Joined: Thu Feb 19, 2009 8:47 pm
Current Project: Like... seven different ones
Favorite Gaming Platforms: Xbox 360, Gamecube
Programming Language of Choice: C++, ObjC
Location: New Jersey.

Re: iPhone Developer Program is waaaay too many headaches.

Post by ibly31 »

Finally, after so many hours of frustration, I got my first app up and running on my iPod. It seems alot of random problems with OpenGL have been solved when moving to an actual device rather than the simulator(because it's a simulator, not an emulator).
Image
Twitter
Website/Tumblr
My Projects

The best thing about UDP jokes is that I don’t care if you get them or not.
vargonian
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 60
Joined: Fri Aug 07, 2009 3:34 pm

Re: iPhone Developer Program is waaaay too many headaches.

Post by vargonian »

Impressive that you got it up and running so quickly. And you're already diving into OpenGL on the iPod/iPhone, nice.
Image
User avatar
ibly31
Chaos Rift Junior
Chaos Rift Junior
Posts: 312
Joined: Thu Feb 19, 2009 8:47 pm
Current Project: Like... seven different ones
Favorite Gaming Platforms: Xbox 360, Gamecube
Programming Language of Choice: C++, ObjC
Location: New Jersey.

Re: iPhone Developer Program is waaaay too many headaches.

Post by ibly31 »

Haha, yeah. Some of the weird things with OpenGL came back... so I decided to have no transparency in my game at all, just to have squares instead of circles
Image
Twitter
Website/Tumblr
My Projects

The best thing about UDP jokes is that I don’t care if you get them or not.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: iPhone Developer Program is waaaay too many headaches.

Post by Falco Girgis »

ibly31 wrote:Haha, yeah. Some of the weird things with OpenGL came back... so I decided to have no transparency in my game at all, just to have squares instead of circles
When you say "circles," are you talking about a triangle fan with enough triangles to appear circular? You can always have a circle "texture" with transparent edges and apply it to a quad.

...or not, because you aren't using transparency. Why not, exactly?
User avatar
ibly31
Chaos Rift Junior
Chaos Rift Junior
Posts: 312
Joined: Thu Feb 19, 2009 8:47 pm
Current Project: Like... seven different ones
Favorite Gaming Platforms: Xbox 360, Gamecube
Programming Language of Choice: C++, ObjC
Location: New Jersey.

Re: iPhone Developer Program is waaaay too many headaches.

Post by ibly31 »

I meant, Instead of a ball for breakout, I turned it into a square, because a ball requires transparency. I tried everything to fix it, but no one else on any forum seems to have this problem. And I like the square for many reasons anyway.
Image
Twitter
Website/Tumblr
My Projects

The best thing about UDP jokes is that I don’t care if you get them or not.
User avatar
Netwatcher
Chaos Rift Junior
Chaos Rift Junior
Posts: 378
Joined: Sun Jun 07, 2009 2:49 am
Current Project: The Awesome Game (Actual title)
Favorite Gaming Platforms: Cabbage, Ground beef
Programming Language of Choice: C++
Location: Rehovot, Israel

Re: iPhone Developer Program is waaaay too many headaches.

Post by Netwatcher »

are you creating the surface by vertices/triangles, or do you just create a surface and apply a texture to it?
If you are using vertices/triangles, you can just do what Falco said and create a dense triangle fan.

Image

and if not... you can try to figure out how to use vertices with OpenGL anyhow.
or... tell us what problems you're experiencing with transparency.
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655

blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: iPhone Developer Program is waaaay too many headaches.

Post by Falco Girgis »

Netwatcher wrote:are you creating the surface by vertices/triangles, or do you just create a surface and apply a texture to it?
If you are using vertices/triangles, you can just do what Falco said and create a dense triangle fan.

Image

and if not... you can try to figure out how to use vertices with OpenGL anyhow.
or... tell us what problems you're experiencing with transparency.
That's all cute in theory, but when a single ball has over ~20x the poly count that a rectangle has, you can slow things down easily.

If you don't have many polygons onscreen, though, I would totally go for the triangle fan.
User avatar
ibly31
Chaos Rift Junior
Chaos Rift Junior
Posts: 312
Joined: Thu Feb 19, 2009 8:47 pm
Current Project: Like... seven different ones
Favorite Gaming Platforms: Xbox 360, Gamecube
Programming Language of Choice: C++, ObjC
Location: New Jersey.

Re: iPhone Developer Program is waaaay too many headaches.

Post by ibly31 »

Sigh. Let me make this clear: I do not want a ball. I want a square. I have gotten that down, thanks. But what I am talking about is... With a PNG, you know how you can have Alpha, transparency, opacity in it? For some reason OpenGL never wants to work nicely with that for me. A ball fits into a square, but what about the corners of the square? Thats where opacity,transparency,alpha whatever you want to call it goes.
Image
Twitter
Website/Tumblr
My Projects

The best thing about UDP jokes is that I don’t care if you get them or not.
User avatar
hurstshifter
ES Beta Backer
ES Beta Backer
Posts: 713
Joined: Mon Jun 08, 2009 8:33 pm
Favorite Gaming Platforms: SNES
Programming Language of Choice: C/++
Location: Boston, MA
Contact:

Re: iPhone Developer Program is waaaay too many headaches.

Post by hurstshifter »

ibly31 wrote:Sigh. Let me make this clear: I do not want a ball. I want a square. I have gotten that down, thanks. But what I am talking about is... With a PNG, you know how you can have Alpha, transparency, opacity in it? For some reason OpenGL never wants to work nicely with that for me. A ball fits into a square, but what about the corners of the square? Thats where opacity,transparency,alpha whatever you want to call it goes.

Why the attitude? It's hard to make sense of what you are asking considering this is the first time you've mentioned using .png's with transparency and you actually previously stated that you decided NOT to use transparency. Are you asking how to apply transparancy/opacity to a square .png via OpenGL?
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
User avatar
ibly31
Chaos Rift Junior
Chaos Rift Junior
Posts: 312
Joined: Thu Feb 19, 2009 8:47 pm
Current Project: Like... seven different ones
Favorite Gaming Platforms: Xbox 360, Gamecube
Programming Language of Choice: C++, ObjC
Location: New Jersey.

Re: iPhone Developer Program is waaaay too many headaches.

Post by ibly31 »

Well, I'm in a bad mood for a couple of reasons. Sorry about the attitude, it's just I said it a couple times, and no one seemed to get what I was saying and kept asking the same questions. I'll try and make myself more clear next time, so that we can avoid that.

And I've already used transparency, using glEnable(GL_BLEND) and glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) or something like that. I don't know why but when I use images with transparency in them, it sometimes works, when other times I'll see portions of the transparency a random color. With the same build too, I could run it multiple times, and get a different result each time.
Image
Twitter
Website/Tumblr
My Projects

The best thing about UDP jokes is that I don’t care if you get them or not.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: iPhone Developer Program is waaaay too many headaches.

Post by Falco Girgis »

Jesus Christ, you get an attitude when we're trying to clarify just what the fuck you're trying to do?

FIRST OF ALL

1) I refuse to believe that OpenGL on the iPhone does not support texture transparencies. Your incompetence seems more likely.
2) You supplied no code, no explanation, no anything other than "transparencies do not work."
3) A triangle fan would be a completely feasible alternative to what you're doing. We were making suggestions.

You should have made it "clear" to begin with, and you shouldn't have been such an arrogant little dick when we tried to help you. This is definitely the last time that you will see me make such a mistake.
User avatar
ibly31
Chaos Rift Junior
Chaos Rift Junior
Posts: 312
Joined: Thu Feb 19, 2009 8:47 pm
Current Project: Like... seven different ones
Favorite Gaming Platforms: Xbox 360, Gamecube
Programming Language of Choice: C++, ObjC
Location: New Jersey.

Re: iPhone Developer Program is waaaay too many headaches.

Post by ibly31 »

Well, I tried to apologize, I don't see why your getting so mad! So you've never snapped on anyone? I find that very hard to believe.
Image
Twitter
Website/Tumblr
My Projects

The best thing about UDP jokes is that I don’t care if you get them or not.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: iPhone Developer Program is waaaay too many headaches.

Post by MarauderIIC »

ibly31 wrote:Well, I tried to apologize, I don't see why your getting so mad!
Because he's Falco, and that's one of the things that Falco does best. Flamin' Falco, we'll call him, until he edits this post and all other mentions of those words.

edit: YOU BASTARD. EDIT EDIT EDIT EDIT EDIIIIIIIIIIT! --Gyro

Also, http://www.google.com/search?hl=en&safe ... f&oq=&aqi= got me some hits:
This one http://www.opengl.org/discussion_boards ... ber=234073 read the last post, seems to be the one with the most resources in it.
And then there's http://www.idevgames.com/forum/archive/ ... -1358.html
And always http://www.opengl.org/resources/faq/tec ... arency.htm

Did you read those?

A copy of your image might be helpful. Have you only been using that MINUS_ONE_ALPHA transparency? If so, read that link that says "read the last post".
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
ibly31
Chaos Rift Junior
Chaos Rift Junior
Posts: 312
Joined: Thu Feb 19, 2009 8:47 pm
Current Project: Like... seven different ones
Favorite Gaming Platforms: Xbox 360, Gamecube
Programming Language of Choice: C++, ObjC
Location: New Jersey.

Re: iPhone Developer Program is waaaay too many headaches.

Post by ibly31 »

I think I have overwritten the "ball.png" file. All the PNGs that haven't worked have been made with Macromedia(Adobe?) Fireworks.
Image
Twitter
Website/Tumblr
My Projects

The best thing about UDP jokes is that I don’t care if you get them or not.
Post Reply