Dark Bit Factory & Gravity
PROGRAMMING => General coding questions => Topic started by: Architect_414 on April 26, 2008
-
Didn't see a board for it so i posted here...sorry!
Anyone else use python for demo coding? Poor python seems to have very very little demo coverage so i was wondering if anyone does?
...Im trying to use it! ;D
-
Afaik our forum member Hotshot is using it too.
-
I think Vain is right, Hotshot is the only one here who's used it.
If you make anything with it though, feel free to post it in the showcase, we'll be happy to look at it I am sure!
-
I will when iget round to making something worthwhile dont worry! :D
Having searched for hours, i cant find any sample source for python to do with demo's apart from a simple plasma screen, anybody got some? ???
Edit: Haha, i just thought, if hotshots the only one who used it...no one's going to have any sample source... ::)
-
Since Python's a scripting language, I'm not really surprised there's no demo samples for it. On top of that, Python on Windows is hardly a common thing...:)
Jim
-
plasma, fractal and other great things coded in python like games:
http://www.pygame.org/project/704/?release_id=1247 (http://www.pygame.org/project/704/?release_id=1247)
-
plasma, fractal and other great things coded in python like games:
http://www.pygame.org/project/704/?release_id=1247 (http://www.pygame.org/project/704/?release_id=1247)
Yeah pygame, that was what i've been messing with, was looking at PyOpenGL but....no :D
-
Since Python's a scripting language, I'm not really surprised there's no demo samples for it. On top of that, Python on Windows is hardly a common thing...:)
Jim
Taking this into account really, and the fact that i've learn most of the basics of Python. Im going to try...yet another language!
Anyone reccomend one for linux? ::)
-
Yabasic is available for linux you may like it then again it may not have enough raw power for your needs (its not got any bitmaps or sound support for example)
-
Yabasic is available for linux you may like it then again it may not have enough raw power for your needs (its not got any bitmaps or sound support for example)
Thanks for your quick reply!
What im looking for is something with the ease of Python, maybe a little harder, but something with enough power.
Im a right fussy git :'(
EDIT: Having a look at the combination of C++/OpenGL is like on Linux, is it harder than on windows, (This is going to sound really retarded)
But is the C++ Source, different on linux to what the equivilant on Windows would be?
Sorry to be a mindless moron. I thought it would be better to ask you guys since you can give me straight foward answers, unlike google does!
-
How about freebasic?
http://www.freebasic.net/index.php/download (http://www.freebasic.net/index.php/download)
It's QBASIC/VisualBASIC-like, compiled, easy to learn and lots of people here have used it.
Jim
-
=O!
I would have used that if i had known it was avalible for linux. Thanks!!!!!
Saves me attempting C++
Now to get the bugger to install....
EDIT:
It really does nto want to seem install...i've followed the directions given to me by a mate and websites but still it says "Cannot find ./fbc"
Ive done sudo ./install.sh -i
Ive done sh ./install.sh -i
but nothing
Any idea's?
-
You could download FBIDE
http://fbide.freebasic.net/index.php?menuID=56 (http://fbide.freebasic.net/index.php?menuID=56)
It has the IDE and freebasic in one package, pick the package that includes FBIDE and freebasic, I think it's the first one.
This will make setting it all up hassle free.
-
Ah shit, I just saw you want it for linux..
-
It IS avalible for linux :P
It just doesnt want to install is all :-[
-
Blitzmax works on Linux, but it will set you back $80. http://blitzmax.com/Products/_index_.php (http://blitzmax.com/Products/_index_.php)
-
Blitzmax works on Linux, but it will set you back $80. http://blitzmax.com/Products/_index_.php (http://blitzmax.com/Products/_index_.php)
Isn't that similar to DarkBASIC? Game engine thing?
and i never really pay for software ;)
-
Its nothing like DarkBASIC, but since you don't pay for software, then its doesn't really matter.
-
Its nothing like DarkBASIC, but since you don't pay for software, then its doesn't really matter.
Ah i thought it was similar, will check it out when i've got a spare ten minutes from this coursework! Thanks
-
Yeah DarkBasic is an interpreter Blitz is a compiler what distro are you running? I have a link to installing on OpenSuse :
http://www.swerdna.net.au/linhowtofreebasic.html
might be of some help to you
-
Yeah DarkBasic is an interpreter Blitz is a compiler what distro are you running? I have a link to installing on OpenSuse :
http://www.swerdna.net.au/linhowtofreebasic.html
might be of some help to you
Thanks man, i got it sorted! It turns out that, i had to be sitting inthe correct directory at the same time as installing. I was doing the correct thing apparently, just it wouldnt let me. But now its sorted, i just gotta find me a damn IDE!
-
maybe http://www.freebasic.net/forum/viewtopic.php?p=95589&sid=36f168e021dec727d044a4e12b451487 (http://www.freebasic.net/forum/viewtopic.php?p=95589&sid=36f168e021dec727d044a4e12b451487)
Jim
-
I use Blitzmax because of the drawing,sound and imput libraries.
One of these days I'm gonna grow a set and pick up where I left off with C++. (Making "cat" and "pen" classes)
-
maybe http://www.freebasic.net/forum/viewtopic.php?p=95589&sid=36f168e021dec727d044a4e12b451487 (http://www.freebasic.net/forum/viewtopic.php?p=95589&sid=36f168e021dec727d044a4e12b451487)
Jim
Thanks! Im at school currently so cant do much here, but i've already got geany installed on the home computer, so i'll have a play around with that later. Thanks again for everyones help!!!
-
C++/OpenGL [...] is the Source different on linux to what the equivilant on Windows would be?
OpenGL is the same on any platform, but it requires some kind of window to render to.
So your opengl-init-code will require some winapi-calls on windows and some xserver-calls on linux.
Or you just use some cross-platform-stuff like SDL (http://www.libsdl.org).
Saves me attempting C++
C/C++ is certainly harder to learn but it will pay out.
-
You could use glu to get round the Windows/Linux/OtherOS problem.
Jim
-
I did try Python ageeee ago and it is interesting language but I dislike the IDE Python.
The code is easier to learn than C++ Thought.
I have no PLAN to code in PYTHON now or the future !!!
I am sticking just one or two programming language(COBRA) and I have already learn C Sharp (I have already finished Math demo program which Benny the hill saw it, I will post it tomorrow in C forum for everyone to see it).
cheers
-
You could use glu to get round the Windows/Linux/OtherOS problem.
Well, I counted GLUT (http://freeglut.sourceforge.net) to "some cross-platform-stuff like SDL (http://www.libsdl.org)" :)
I guess that's the real problem with C/C++: you need quite a bit of stuff before you can actually get going.
Forcing the (unexperienced) user to fiddle with linker settings to include additional libs can be quite a confusion at the beginning.
Other packages run straight out of the box.
To stay at the topic, I've once started to make my effects (programmed in C++) modular and use python as a scripting system for synchronisation and compositing.
Doing all code in python doesn't make much sense in my opinion...