Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 6 of 6 1 2 3 4 5 6
Re: python wrapper [Re: maslone1] #311202
02/18/10 20:33
02/18/10 20:33
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
-nc unterdrückt das startup fenster und wird nur von pro unterstützt. versuch mal die option einfach wegzulassen.

Re: python wrapper [Re: ventilator] #311211
02/18/10 21:09
02/18/10 21:09
Joined: Jul 2007
Posts: 424
EUROPE
maslone1 Offline
Senior Member
maslone1  Offline
Senior Member

Joined: Jul 2007
Posts: 424
EUROPE
gut, hatte ich nun auch inzwischen gemacht laugh nun ist der fehler weg....
aber nun schreibt das star-up-window "pythonw.exe damaged"..... ich weiß ich bin ein naturtalent wink

e_tutorial.py funktioniert weiterhin einwandfrei..... seltsam......


A8c, Blender, FlStudio, Unity3d
Re: python wrapper [Re: maslone1] #311224
02/18/10 22:32
02/18/10 22:32
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
hm...

die engine dll muss ja immer an die ausführende exe gebunden werden und es gibt zwei verschiedene python exes.

python.exe ist mit konsole.
pythonw.exe ist ohne konsole.

vielleicht führst du die beispiele unterschiedlich aus und die engine dll ist dann nicht an die richtige version gebunden?

Originally Posted By: maslone1
Auch interessant ist die blender gameengine.
Mit blender hat man alles in einem und python als "skriptsprache". Ne tolle kombination.


http://code.google.com/p/gamekit/

interessant ist auch gamekit. ist noch in entwicklung aber der plan ist glaube ich kompatibilität mit der blender game engine. ogre3d/irrlicht wird zum rendern verwendet und in zukunft wird gamekit vielleicht sogar die blender engine ablösen.

Re: python wrapper [Re: ventilator] #311254
02/19/10 06:07
02/19/10 06:07
Joined: Jul 2007
Posts: 424
EUROPE
maslone1 Offline
Senior Member
maslone1  Offline
Senior Member

Joined: Jul 2007
Posts: 424
EUROPE
..... nein.... ich führe imme mit idle + F5 aus. Wenn ich direkt mit doppelklick starten möchte öffnet sich kurz das start-upfenster und schliesst sich sofort wieder ohne fehlermeldung......

Ich werd mal versuchen mein eigenes kurzes programm zu schreiben, um zu sehen ob auch dann die selben fehlermeldungen auftauchen.

Danke für den link - ne tolle sache!!!

Und was mit ganz besonders gut gefällt -> plattformunabhängig

Da hat man mit gamestudio das nachsehen (wieder mal)


A8c, Blender, FlStudio, Unity3d
Re: python wrapper [Re: maslone1] #311515
02/20/10 08:17
02/20/10 08:17
Joined: Jul 2007
Posts: 424
EUROPE
maslone1 Offline
Senior Member
maslone1  Offline
Senior Member

Joined: Jul 2007
Posts: 424
EUROPE
hey ventilator!

Nutzt du eigentlich eclipse inkl. pydev-plugin für das programmieren mit python?
Ich habe es mir installiert und muss sagen, dass es eine sehr gute entwicklungsumgebung ist.

Hier ein guter link, in dem ein paar 2d sowie 3d engines für python angeführt sind:

http://codeboje.de/2d-and-3d-game-and-rendering-engines-python/

Last edited by maslone1; 02/20/10 10:09.

A8c, Blender, FlStudio, Unity3d
Re: python wrapper [Re: maslone1] #311559
02/20/10 16:07
02/20/10 16:07
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
bisher habe ich nicht viel mehr gebraucht als einen text editor mit syntax highlighting (ich mag es gerne einfach), aber wenn ich das nächste mal an einem größeren projekt arbeite, werde ich mir eclipse mal ansehen.

panda3d ist glaube ich ganz nett, verwendet aber leider ODE als physikengine. tongue

soya3d finde ich interessant, weil es eine in python geschriebene engine ist. der performancekritische kern ist in cython implementiert.

und python-ogre ist auch super, weil da nicht nur ogre gewrappt ist sondern auch viele andere libraries. da ließe sich glaube ich ziemlich einfach eine nette game engine zusammenbauen.

Re: python wrapper [Re: ventilator] #405074
07/22/12 23:19
07/22/12 23:19
Joined: Sep 2007
Posts: 101
Luxembourg
K
krial057 Offline
Member
krial057  Offline
Member
K

Joined: Sep 2007
Posts: 101
Luxembourg
Hey,
first of all sorry for digging up such an old thread

I really like your work and everything works fine.
I am currently working on a project to implement 3dgs in an IDE. That IDE uses python as plugin language. I have no ideas on how to make dll's nor how to bind them to python. So I wrote a server, only for debugging and communicated with it over sockets. But that is pretty tricky.
Then I found this wrapper and it would fit perfect for my needs. However, the functions that i need are not yet implemented in your wrapper :'(
These are the functions I would need the most important:

  • engine_debugposition
  • engine_debugbreakpoint
  • engine_debugstep

And then perhaps the functions for watching the variables

Finally, I wanted to ask if you would be so kind to add these functions, or even publish the source laugh
That would be really cool grin

regards Alain

[EDIT]
Just tried out to write my own wrapper. I managed to create a pyd and to wrap the engine_open function. However, whenever I try to call engine_fame, the engine and python crash. Here is the c++ code:

Click to reveal..

Php Code:
void engineOpen(PyObject *settings)
{
	engine_open(PyString_AsString(settings));
}
long engineFrame()
{
	return engine_frame();
}

void engineClose()
{
	engine_close();
}

BOOST_PYTHON_MODULE(gs_ext)
{
	using namespace boost::python;
	def("engine_open", engineOpen);
	def("engine_frame", engineFrame);
	def("engine_close", engineClose);
} 





Last edited by krial057; 07/24/12 16:46.
Page 6 of 6 1 2 3 4 5 6

Moderated by  aztec, Blink, HeelX 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1