Page 1 of 2
iPhone Developer Program is waaaay too many headaches.
Posted: Wed Aug 26, 2009 5:17 pm
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!
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Wed Aug 26, 2009 10:51 pm
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).
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Sun Aug 30, 2009 12:33 am
by vargonian
Impressive that you got it up and running so quickly. And you're already diving into OpenGL on the iPod/iPhone, nice.
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Tue Sep 01, 2009 11:26 am
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
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Tue Sep 01, 2009 3:32 pm
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?
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Wed Sep 02, 2009 10:39 pm
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.
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Thu Sep 03, 2009 6:17 am
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.
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.
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Thu Sep 03, 2009 9:39 am
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.
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.
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Thu Sep 03, 2009 3:28 pm
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.
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Thu Sep 03, 2009 3:58 pm
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?
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Thu Sep 03, 2009 4:20 pm
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.
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Thu Sep 03, 2009 7:26 pm
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.
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Thu Sep 03, 2009 8:40 pm
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.
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Thu Sep 03, 2009 9:23 pm
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".
Re: iPhone Developer Program is waaaay too many headaches.
Posted: Thu Sep 03, 2009 10:08 pm
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.