My monumentally EPIC idea.
Moderator: Coders of Rage
- ibly31
- 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.
My monumentally EPIC idea.
Okay. So I was sitting there and BAM! This amazing idea popped into my head. I immediately began writing it down and this is what I came up with:
A scripting platform for the iPhone/ iPod Touch.
I have no idea if this has been created or is in development, but I think it could change everything. So this "iCode" platform, or rather a series of tools, would be basically an iPhone application, a desktop editor(I'm fairly proficient in Visual Basic, and have no experience with Mac programming, and have absolutely no access to a Linux computer), and a website, that is written(hopefully) in PHP, which I guess I could say I'm proficient in. It would have a database of user's scripts that people could share, rate, comment, download, and all that jazz. You could also share scripts directly if you are on the same network as someone. These scripts could be anything from games(OpenGL enhanced, none of that Quartz/ CoreGraphics stuff), to utilities, and even, if I ever get around to it, people could create their own User interfaces using actual UI objects.
This is just an idea, and most likely won't get anywhere, but if it did, I think it could change everything. I don't want to use an already built scripting language such as Lua, because I think it would be too heavy for a mobile platform( I am 90% sure I am wrong), and I think it would be a good learning experience to write my own text parser that parses the scripts and acts dynamically during run-time of the script.
Basic functions would be stuff like:
orientation("Right" or "Left" or "Portrait") -- for changing (0,0) to be in the bottom left corner depending on the iPhone's orientation.
pixelOn(X, Y, R, G, B) -- Turn a pixel on at a certain point.
pixelOff(X, Y) -- Short for pixelOn(X,Y, 0,0,0) for black
apply_image(X, Y, image) -- apply an image, obviously
load_image(imageCode, imageSlot) -- I think i would use numbers for the image names like OpenGL does. look down underneath this block for more info on imageCode.
getAllTouches() -- get the current touch locations
getAccelData() -- gets the current accelerometer X, Y, Z values to detect movement and stuff.
setAccelSpeed() -- this would set how many times a second the accelerometer refresh would be.
setFPS(number)
and so on.
I would probably have my website as a host for all the images. You would use a form on my website to upload an image, and it would give you a code for the image.
This is waaaay beyond my programming skills, and any help would be appreciated. Right now, I'm just trying to understand basic compiler theory. I know it wouldnt be a "compiler" but the same aspect of pasrsing the text for code would be similar. I think the basic idea would be to use strtok(CodeString, ";") to seperate the lines.
My made-up scripting language would be called "ibly". :D
Thank you for reading and enduring my rant. :D
A scripting platform for the iPhone/ iPod Touch.
I have no idea if this has been created or is in development, but I think it could change everything. So this "iCode" platform, or rather a series of tools, would be basically an iPhone application, a desktop editor(I'm fairly proficient in Visual Basic, and have no experience with Mac programming, and have absolutely no access to a Linux computer), and a website, that is written(hopefully) in PHP, which I guess I could say I'm proficient in. It would have a database of user's scripts that people could share, rate, comment, download, and all that jazz. You could also share scripts directly if you are on the same network as someone. These scripts could be anything from games(OpenGL enhanced, none of that Quartz/ CoreGraphics stuff), to utilities, and even, if I ever get around to it, people could create their own User interfaces using actual UI objects.
This is just an idea, and most likely won't get anywhere, but if it did, I think it could change everything. I don't want to use an already built scripting language such as Lua, because I think it would be too heavy for a mobile platform( I am 90% sure I am wrong), and I think it would be a good learning experience to write my own text parser that parses the scripts and acts dynamically during run-time of the script.
Basic functions would be stuff like:
orientation("Right" or "Left" or "Portrait") -- for changing (0,0) to be in the bottom left corner depending on the iPhone's orientation.
pixelOn(X, Y, R, G, B) -- Turn a pixel on at a certain point.
pixelOff(X, Y) -- Short for pixelOn(X,Y, 0,0,0) for black
apply_image(X, Y, image) -- apply an image, obviously
load_image(imageCode, imageSlot) -- I think i would use numbers for the image names like OpenGL does. look down underneath this block for more info on imageCode.
getAllTouches() -- get the current touch locations
getAccelData() -- gets the current accelerometer X, Y, Z values to detect movement and stuff.
setAccelSpeed() -- this would set how many times a second the accelerometer refresh would be.
setFPS(number)
and so on.
I would probably have my website as a host for all the images. You would use a form on my website to upload an image, and it would give you a code for the image.
This is waaaay beyond my programming skills, and any help would be appreciated. Right now, I'm just trying to understand basic compiler theory. I know it wouldnt be a "compiler" but the same aspect of pasrsing the text for code would be similar. I think the basic idea would be to use strtok(CodeString, ";") to seperate the lines.
My made-up scripting language would be called "ibly". :D
Thank you for reading and enduring my rant. :D
Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
- Falco Girgis
- 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: My monumentally EPIC idea.
100% wrong. If Lua is in use for consoles such as the Dreamcast, PS2, and PSP generation with 200, 300, and 330 mhz respectively, I'm pretty damn sure that Lua is going to be lightweight enough to run on an iPhone's 600mhz processor.ibly wrote:I don't want to use an already built scripting language such as Lua, because I think it would be too heavy for a mobile platform( I am 90% sure I am wrong),
Lua is the most lightweight mainstream scripting language that I have ever seen or used. No offense, but if you think that you are going to develop something more lightweight than Lua, you might need to do a little bit more learning.
The idea (as I interpret it) just seems like an open-source App-store where all programs are written in the same scripting language. It would definitely be fun for hobbyists to screw around with, but I really doubt you would be able to develop such a thing. There's probably something that Apple has done to prohibit such a thing.
- ibly31
- 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: My monumentally EPIC idea.
Hah, I knew right after I said it that saying Lua is too heavy for the iPhone was the wrong thing to say. And the thought that apple would make this very hard to do, legally, crossed my mind, but I still think that its possible, I don't see what Apple could turn me down for? Replicating iPhone features?
Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
- M_D_K
- Chaos Rift Demigod
- Posts: 1087
- Joined: Tue Oct 28, 2008 10:33 am
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/++
- Location: UK
Re: My monumentally EPIC idea.
So basically it's LuaPlayer for the iPhone/iTouch. Except with a different scripting language.
And Apple might turn you down for giving people the ability to bypass their app store.
And Apple might turn you down for giving people the ability to bypass their app store.
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
- ibly31
- 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: My monumentally EPIC idea.
never heard of LuaPlayer. but I guess.
Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
- Falco Girgis
- 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: My monumentally EPIC idea.
Doesn't Apple have some sort of restriction on networking like this? Or some sort of store?
And I'm sure they would murder you if they thought that this conflicted in any way with the app store.
And I'm sure they would murder you if they thought that this conflicted in any way with the app store.
- ibly31
- 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: My monumentally EPIC idea.
Forget what I said right here if you have already read it. I'll figure it out by myself, and ask specific questions as I need to.
One thing that makes me sad: I read somewhere that a Lua interpreter in xCode cannot accept arbitrary Lua files and interpret them at runtime. Is that the same for all Lua projects on any OS, or just for the iPhone?
One thing that makes me sad: I read somewhere that a Lua interpreter in xCode cannot accept arbitrary Lua files and interpret them at runtime. Is that the same for all Lua projects on any OS, or just for the iPhone?
Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
Re: My monumentally EPIC idea.
Commodore64 iPhone app finished, denied by Appleibly31 wrote:One thing that makes me sad: I read somewhere that a Lua interpreter in xCode cannot accept arbitrary Lua files and interpret them at runtime. Is that the same for all Lua projects on any OS, or just for the iPhone?
The legally licensed project (which has been in development for over a year) was denied due to a clause in the iPhone SDK agreement which states, "an Application may not itself install or launch other executable code by any means."
If this is even relevant to the topic, I would say iPhone only.
- Falco Girgis
- 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: My monumentally EPIC idea.
It's this kind of thing that convinces me that Apple is actually far worse than Microsoft.
- ibly31
- 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: My monumentally EPIC idea.
Damn. Well. That COMPLETELY destroys my idea. Unless I decided to create apps for Jail Broken iPods, I'm completely screwed.
Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
Re: My monumentally EPIC idea.
With regards to DRM and such they really are.GyroVorbis wrote:It's this kind of thing that convinces me that Apple is actually far worse than Microsoft.