
-----------------------------------
kanye_west_owns
Wed Aug 17, 2005 9:29 pm

Total Noob quesiton
-----------------------------------
yes well i am quite the noob at programming.  Turing is basically the only language i know how to even be able to touch on. (very basic knowledge in it) So i was wondering, if it is at all possible to be able to convert Turing language into C language.  because i am trying to learn and code for the Playstation Portable  (homebrew).  So i was wondering, if it is possible to convert it, or does it not make any difference, and if it is and it does make a difference, how do u do it. :) 

Thank you in advanced

-----------------------------------
Cervantes
Thu Aug 18, 2005 5:37 am


-----------------------------------
Bugzpodder made a program to convert code from one language to another, though they weren't Turing and C.  You can find it in the FP section.
I don't think there is any way to do this.  Why not just learn C?  Or learn more Turing, then learn C?

-----------------------------------
Tony
Thu Aug 18, 2005 9:21 am


-----------------------------------
as I pointed out before, C uses pointers :lol:

-----------------------------------
MysticVegeta
Thu Aug 18, 2005 11:57 am


-----------------------------------
psp games are coded in C? I thought it was some 3D Language like the Dark Basic, BlitzBasic, etc.

-----------------------------------
[Gandalf]
Thu Aug 18, 2005 12:28 pm


-----------------------------------
I don't think it matters, as long as it can compile alright.  

So i was wondering, if it is at all possible to be able to convert Turing language into C language.
Oh, sure...  Learn Turing, learn C, convert your Turing code to C manually :).

-----------------------------------
Mazer
Thu Aug 18, 2005 3:39 pm

Re: Total Noob quesiton
-----------------------------------
because i am trying to learn and code for the Playstation Portable  (homebrew).  So i was wondering, if it is possible to convert it, or does it not make any difference, and if it is and it does make a difference, how do u do it. :)
Well, if you're writing code in Turing, and converting it to C code, then it's not really the same as learning to code homebrew PSP apps. Look up a PSP homebrew development community and read all of the documentation you can find.
After that, if it's too confusing to the point that even help from the community doesn't clear things up take it as proof that you need a solid grasp of the language before trying to use it for game development.

-----------------------------------
Tony
Thu Aug 18, 2005 3:53 pm


-----------------------------------
I looked into that personally.. the community provides you with all the headers, booters, loaders, etc..

the program itself is pure C.. I think its best to learn the language

-----------------------------------
[Gandalf]
Thu Aug 18, 2005 4:01 pm


-----------------------------------
So you can just make any random program onto the PSP?  A text based game?  A text formatter?  Anything at all? :)  Thats sounds pretty good.  Now to get my PSP...

-----------------------------------
Tony
Thu Aug 18, 2005 4:09 pm


-----------------------------------
they've got a graphics library as well. Its no OpenGL, but there's 3D available

-----------------------------------
TokenHerbz
Sat Aug 20, 2005 5:33 pm


-----------------------------------
i have a question, whats the best language to make games in???

I hear most web games are made in C++...
can turing match that? or is C++ just much better quality?

Like a space game continuum, is turing as powerful?

-----------------------------------
[Gandalf]
Sat Aug 20, 2005 6:01 pm


-----------------------------------
I don't know what a 'space game continuum' is, but to make a multiplayer game, C++ (or anything else) would be much better suited than Turing.  Although, I guess it is possible in Turing, it has yet to be done (to that extent).  It would also be much harder to code, hence C++ being a much more difficult/complex language.

You might try something else, like Python (not sure), Ruby (from what I saw of the library it has some pretty useful ones), even Java (since you can make an applet - like Runescape *shudders*).

There is no 'best language' for making games, each has their advantages and disadvantages.  C++ is probably most popular, and may have a wide range of libraries or support for game-making.

-----------------------------------
Cervantes
Sat Aug 20, 2005 6:25 pm


-----------------------------------
"]You might try something else, like Python (not sure)
IIRC, Sid Meier's Civilization games are made in Python.  They're complex turn-based games.  Because they are turn based, the code doesn't have to execute very fast.  For this reason, I am led to believe that C++ is a popular language for making games because it is so fast, though when speed is not an issue, other languages are preffered.

As for using Ruby to make games, it would have to serve as the backend only, as Ruby doesn't do drawing.

-----------------------------------
Hikaru79
Sat Aug 20, 2005 6:37 pm


-----------------------------------
As for using Ruby to make games, it would have to serve as the backend only, as Ruby doesn't do drawing.
Are you sure? I'm pretty sure Ruby has both OpenGL and SDL bindings ... it certainly has GTK bindings.

-----------------------------------
[Gandalf]
Sat Aug 20, 2005 6:55 pm


-----------------------------------
Well, about Civ, I'm not sure what the last three where made in, but its possible since Civ 4 will allow you to edit some of the .py python files (modding-type).  But then again, Civ 4 is based on the Empire Earth 2 engine, and that was probably made in C++.

-----------------------------------
Cervantes
Sat Aug 20, 2005 9:14 pm


-----------------------------------
They made a civ4?  Aah, I remember seeing a few screenshots of that a while ago.  Looked mighty fine, though it looked like it sort of takes away from the simplicity of the game, just by being 3D-ish and all.


Are you sure? I'm pretty sure Ruby has both OpenGL and SDL bindings ... it certainly has GTK bindings.

I was hoping someone would say I was wrong.  :D
* /me begins the searching and the downloading * 

Thanks Hikaru! :D

-----------------------------------
Mazer
Sat Aug 20, 2005 9:17 pm


-----------------------------------
Pfft, I coulda said it...

-----------------------------------
[Gandalf]
Sat Aug 20, 2005 10:25 pm


-----------------------------------
They're making one, should be release sometime soon...

Now if only Ruby could make executables!!

-----------------------------------
Hikaru79
Sun Aug 21, 2005 9:40 am


-----------------------------------
"]Now if only Ruby could make executables!!
[url=http://www.erikveen.dds.nl/rubyscript2exe/index.html]Your wish is my command ;)

-----------------------------------
[Gandalf]
Sun Aug 21, 2005 5:22 pm


-----------------------------------
:shock: Amazing, I think I will actually try Ruby now!
I'll check that out, probably have more questions later :).

-----------------------------------
Hikaru79
Mon Aug 22, 2005 8:39 am


-----------------------------------
:) Glad to hear it. Just for the record, almost all major scripting languages have a "compiler". [url=http://starship.python.net/crew/theller/py2exe/]Python and [url=http://www.indigostar.com/perl2exe.htm]Perl, for example.

-----------------------------------
wtd
Mon Aug 22, 2005 5:03 pm


-----------------------------------
"]:shock: Amazing, I think I will actually try Ruby now!

I've been saying that for months.

You won't regret learning Ruby for a moment.  And of course, once you've gotten into it a bit, check out Rails.

-----------------------------------
[Gandalf]
Mon Aug 22, 2005 8:38 pm


-----------------------------------
Yes, but what was keeping me from starting was the compiling.  From what I understood of what you said on that, you could compile the whole Ruby environment with the program built in.  That sounds a bit more complicated than this (Ruby is programmed in C++, no?).

I would try Ruby just for Rails, but I don't know any server which supports it (or allows installing other scripting languages), and I don't have my own, so how would I use it?

Hope I have a good school schedule so I can keep up :).

-----------------------------------
wtd
Mon Aug 22, 2005 10:51 pm


-----------------------------------
"]Yes, but what was keeping me from starting was the compiling.  From what I understood of what you said on that, you could compile the whole Ruby environment with the program built in.  That sounds a bit more complicated than this (Ruby is programmed in C++, no?).

It's pretty straightforward from the end-user's point of view.

The Ruby interpreter itself is implemented in C.

"]I would try Ruby just for Rails, but I don't know any server which supports it (or allows installing other scripting languages), and I don't have my own, so how would I use it?

You have a computer, right?  Then you can have a webserver.

Ruby has its own webserver (Webrick).  Not necessarily the fastest thing in the world, but it'll do the job for testing purposes.  This works well with Rails to let you test without having to set something like Apache up.
