An access to a high graphic 3d games

Return to Showcase

An access to a high graphic 3d games

Postby D_A_M_H » Sun Feb 06, 2011 4:33 pm

Hello all...
This thread should have been added 2 weeks ago but the troubles in Egypt affected me badly

I talked about the idea of making a high quality 3d game in a thread before:
http://www.panda3d.org/forums/viewtopic.php?t=10160

I started working for about 2 months to achieve this idea in a 3d point & click game(which is my favorites)

The example here is a sample for what I made, using eve as a character , blender to create room and objects then made an algorithmic finding path system (not the one in AI lib and not also the A* standard method) to move towards the mouse avoiding obstacles

The example:
http://www.4shared.com/file/Tz4fvwXD/PointClick.html

in this example eve can move in 2 rooms: the entrance (the first place) and the hall (the second one)

You can't go from the entrance to the hall till you turn on the light

Waiting your opinions and comments after trying it

Thanks in advance
D_A_M_H
 
Posts: 150
Joined: Wed Jun 24, 2009 12:06 pm
Location: Alexandria - Egypt

Postby flavio » Mon Feb 07, 2011 5:25 am

Why do you distribute the exe file? Are you using Windows-specific stuff? Many people can't see that. :(

PS And I'm very worried about egyptians. I wish you the best.
User avatar
flavio
 
Posts: 530
Joined: Fri Apr 16, 2010 12:45 pm
Location: Rome, Italy

Postby D_A_M_H » Mon Feb 07, 2011 1:39 pm

yaio
Thank you for replying and for your feeling towards us
I don't know how to make the game in exe but I used this method
http://www.panda3d.org/manual/index.php/Building_an_installer_using_packpanda

I tried to use packp3d.exe but it didn't work

but exe will be found in the start menu
D_A_M_H
 
Posts: 150
Joined: Wed Jun 24, 2009 12:06 pm
Location: Alexandria - Egypt

Postby coppertop » Mon Feb 07, 2011 1:51 pm

Not everyone uses Windows, you know. Many people out here use Linux or Mac in which case they can't run Windows executables and they certainly have no start menu.
User avatar
coppertop
 
Posts: 526
Joined: Sat Apr 18, 2009 5:48 am

Postby hobbit » Mon Feb 07, 2011 6:34 pm

I got it to work under wine, but i cant seem to move into the hallway (after i turn the light on). Also when i click on the door i move to the corner

EDIT:

I am able to move to the hall only after i maximized the window, maybe its a wine issue.
hobbit
 
Posts: 199
Joined: Fri May 22, 2009 3:41 pm
Location: USA

Postby flavio » Tue Feb 08, 2011 3:43 am

D_A_M_H wrote:I don't know how to make the game in exe but I used this method
http://www.panda3d.org/manual/index.php/Building_an_installer_using_packpanda

:? Sorry, I thought you were using packp3d/pdeploy, which is the current method. When I wrote I was implicitly saying to distribute the p3d file, but now I see that it isn't possible with your approach.
D_A_M_H wrote:I tried to use packp3d.exe but it didn't work

Have you used the one in the daily build?
User avatar
flavio
 
Posts: 530
Joined: Fri Apr 16, 2010 12:45 pm
Location: Rome, Italy

Postby D_A_M_H » Tue Feb 08, 2011 3:35 pm

coppertop wrote:Not everyone uses Windows, you know. Many people out here use Linux or Mac in which case they can't run Windows executables and they certainly have no start menu.


I'm trying to use py2exe but I'm facing some problems...but does this work with other OS other the Windows

hobbit wrote:I got it to work under wine, but i cant seem to move into the hallway (after i turn the light on). Also when i click on the door i move to the corner

EDIT:

I am able to move to the hall only after i maximized the window, maybe its a wine issue.

I should have made it in full screen....never mind

yaio wrote:Have you used the one in the daily build?

I can't find it...the code browse in sourceforge has an error...or do I search in the wrong place?

Thanks you
D_A_M_H
 
Posts: 150
Joined: Wed Jun 24, 2009 12:06 pm
Location: Alexandria - Egypt

Postby rdb » Tue Feb 08, 2011 3:42 pm

py2exe can only create .exe files, naturally. So no, it won't work on non-Windows system.

You should really try to distribute a .p3d file. Let us know your problems with packp3d, perhaps we can help you with them.
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby flavio » Tue Feb 08, 2011 3:54 pm

D_A_M_H wrote:I can't find it...the code browse in sourceforge has an error...or do I search in the wrong place?

When Sourceforge isn't under attack, you'll find them here. When Sourceforge is under attack, click on the link contained inside that page.
Last edited by flavio on Tue Feb 08, 2011 4:40 pm, edited 1 time in total.
User avatar
flavio
 
Posts: 530
Joined: Fri Apr 16, 2010 12:45 pm
Location: Rome, Italy

Postby rdb » Tue Feb 08, 2011 4:01 pm

The whole point for him to use packp3d is to distribute his game, right? So he shouldn't use the development version.
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby D_A_M_H » Tue Feb 08, 2011 4:23 pm

I tried packp3d.exe before but it said that:
The Panda3D Runtime does not appear to be installed!
Although I downloaded the packp3d.p3d file also as it mentioned in a thread before
I don't know if I should discuss the problem here or not

Thanks for reply
D_A_M_H
 
Posts: 150
Joined: Wed Jun 24, 2009 12:06 pm
Location: Alexandria - Egypt

Postby rdb » Tue Feb 08, 2011 4:30 pm

D_A_M_H wrote:The Panda3D Runtime does not appear to be installed!

The error appears to be that the Panda3D Runtime is not installed. The solution would be to install the Panda3D Runtime from the download page:
https://www.panda3d.org/download.php?runtime
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby D_A_M_H » Tue Feb 08, 2011 5:18 pm

The error appears to be that the Panda3D Runtime is not installed. The solution would be to install the Panda3D Runtime from the download page:
http://www.panda3d.org/download.php?runtime


I had already downloaded the Panda3D Runtime before that but the same error appears, I also tried to uninstall then reinstall again and the problem still...I downloaded it in Panda3D-1.7.0 path
D_A_M_H
 
Posts: 150
Joined: Wed Jun 24, 2009 12:06 pm
Location: Alexandria - Egypt

Postby rdb » Tue Feb 08, 2011 5:20 pm

Instead of running packp3d.exe, try running packp3d.p3d manually with panda3d.exe.
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby D_A_M_H » Wed Feb 09, 2011 5:07 pm

rdb wrote:Instead of running packp3d.exe, try running packp3d.p3d manually with panda3d.exe.


It worked...but when I try to double click the p3d file it showed nothing...I tried to open it in command prompt

Code: Select all
panda3d game.p3d


it showed:

Code: Select all
DirectStart: Starting the game.
:display: loading display module: libpandagl.dll
:display: loading display module: libpandadx9.dll
:display: loading display module: libpandadx8.dll
:display: loading display module: libtinydisplay.dll
Know pipe types:
wglGraphicPipes
wdxGraphicsPipe9
wdxGraphicsPipe8
TinyWinGraphicsPipes
TinyOffscreenGraphicsPipe
<all display modules loaded.>

and nothing else....I searched on the web but find nothing useful

also the game airblade.p3d sometimes work and sometimes not
My panda3d Runtime is installed in C:\panda3d-1.7.0\panda3d path....what is the conflict?? wish to solve that
D_A_M_H
 
Posts: 150
Joined: Wed Jun 24, 2009 12:06 pm
Location: Alexandria - Egypt

Postby rdb » Wed Feb 09, 2011 6:05 pm

Does it return to the prompt, or does it hang without opening a window?
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby D_A_M_H » Thu Feb 10, 2011 12:05 pm

rdb wrote:Does it return to the prompt, or does it hang without opening a window?


It hangs without opening a window
D_A_M_H
 
Posts: 150
Joined: Wed Jun 24, 2009 12:06 pm
Location: Alexandria - Egypt

Postby D_A_M_H » Fri Feb 11, 2011 8:50 am

I converted the file into p3d but it didn't work with me
If someone could download it and see if it works with him
[url]
http://www.4shared.com/file/-yA1XR40/game.html
[/url]
Thanks in advance
D_A_M_H
 
Posts: 150
Joined: Wed Jun 24, 2009 12:06 pm
Location: Alexandria - Egypt

Postby flavio » Fri Feb 11, 2011 9:55 am

It doesn't work on my PC, but I receive a more informative error:
Code: Select all
Garbage on XML stream!
Begin garbage:
��-��4��commandcmdinit
session_id6��-��4��commandcmdstart_instanc
End garbage.

But I don't know what is this, I hope that other users will recognize it.
User avatar
flavio
 
Posts: 530
Joined: Fri Apr 16, 2010 12:45 pm
Location: Rome, Italy

Postby rdb » Fri Feb 11, 2011 11:42 am

Perhaps you accidentally installed the latest CVS version of the runtime? Or perhaps this .p3d file was accidentally built using packp3d_dev?

P3D files built with packp3d_dev require the CVS version of the runtime, while P3D files built with packp3d require the 1.0.0 runtime.
This annoyance will be resolved as soon as 1.7.1 is out.
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby D_A_M_H » Sat Feb 12, 2011 6:34 am

Yes you got it...I used panda3d runtime of the CVS with the normal packp3d.p3d so I remade the sample:

1- with normal panda3d runtime (1.0.0) and packp3d.p3d

http://www.2shared.com/file/SEgPSS4k/app.html


2- with CVS panda3d runtime and packp3d_dev.p3d

http://www.2shared.com/file/88qqtJI0/app_CVS.html

Try the two files and see if something works...maybe there is an error in my PC

Thanks in advance
D_A_M_H
 
Posts: 150
Joined: Wed Jun 24, 2009 12:06 pm
Location: Alexandria - Egypt

Postby enc » Sat Feb 12, 2011 1:08 pm

D_A_M_H wrote:Yes you got it...I used panda3d runtime of the CVS with the normal packp3d.p3d so I remade the sample:

1- with normal panda3d runtime (1.0.0) and packp3d.p3d

http://www.2shared.com/file/SEgPSS4k/app.html


2- with CVS panda3d runtime and packp3d_dev.p3d

http://www.2shared.com/file/88qqtJI0/app_CVS.html

Try the two files and see if something works...maybe there is an error in my PC

Thanks in advance


1.
:ShowBase: __dev__ == 0
Traceback (most recent call last):
File "C:\panda3d-1.7.0\built_cmu\direct\showbase\Messenger.py", line 352, in __taskChainDispatch
File "C:\panda3d-1.7.0\built_cmu\direct\showbase\Messenger.py", line 410, in __dispatch
File "C:\panda3d-1.7.0\built_cmu\direct\p3d\AppRunner.py", line 493, in __startIfReady
File "VFSImporter", line 153, in load_module
File "C:\game\main.py", line 7, in <module>
ImportError: No module named mod1
:task(error): Exception occurred in PythonTask Messenger-default
Traceback (most recent call last):
File "C:\panda3d-1.7.0\built_cmu\direct\p3d\AppRunner.py", line 411, in run
File "C:\panda3d-1.7.0\built_cmu\direct\task\Task.py", line 496, in run
File "C:\panda3d-1.7.0\built_cmu\direct\task\Task.py", line 454, in step
File "C:\panda3d-1.7.0\built_cmu\direct\showbase\Messenger.py", line 352, in __taskChainDispatch
File "C:\panda3d-1.7.0\built_cmu\direct\showbase\Messenger.py", line 410, in __dispatch
File "C:\panda3d-1.7.0\built_cmu\direct\p3d\AppRunner.py", line 493, in __startIfReady
File "VFSImporter", line 153, in load_module
File "C:\game\main.py", line 7, in <module>
ImportError: No module named mod1
:TaskManager: TaskManager.destroy()
:display: Closing wglGraphicsWindow
Failure on startup.

2.
Traceback (most recent call last):
File "C:\buildslave\dev_rtdist_win32\build\panda3d\built_cmu\direct\showbase\Messenger.py", line 415, in __taskChainDispatch
File "C:\buildslave\dev_rtdist_win32\build\panda3d\built_cmu\direct\showbase\Messenger.py", line 473, in __dispatch
File "C:\buildslave\dev_rtdist_win32\build\panda3d\built_cmu\direct\p3d\AppRunner.py", line 745, in __startIfReady
File "VFSImporter", line 153, in load_module
File "C:\game\main.py", line 7, in <module>
ImportError: No module named mod1
:task(error): Exception occurred in PythonTask Messenger-default
Traceback (most recent call last):
File "C:\buildslave\dev_rtdist_win32\build\panda3d\built_cmu\direct\p3d\AppRunner.py", line 636, in run
File "C:\buildslave\dev_rtdist_win32\build\panda3d\built_cmu\direct\task\Task.py", line 502, in run
File "C:\buildslave\dev_rtdist_win32\build\panda3d\built_cmu\direct\task\Task.py", line 460, in step
File "C:\buildslave\dev_rtdist_win32\build\panda3d\built_cmu\direct\showbase\Messenger.py", line 415, in __taskChainDispatch
File "C:\buildslave\dev_rtdist_win32\build\panda3d\built_cmu\direct\showbase\Messenger.py", line 473, in __dispatch
File "C:\buildslave\dev_rtdist_win32\build\panda3d\built_cmu\direct\p3d\AppRunner.py", line 745, in __startIfReady
File "VFSImporter", line 153, in load_module
File "C:\game\main.py", line 7, in <module>
ImportError: No module named mod1
:TaskManager: TaskManager.destroy()
:display: Closing wglGraphicsWindow
Failure on startup.


I would say you forgot to copy this file: mod1.py to the game folder before creating the p3d file.
My most common mistake.

Cheers
Know your self and you shall know everything you need to know.
My games: http://moba.ee/
My doodles: http://hendrikkangro.deviantart.com/gallery/
enc
 
Posts: 166
Joined: Wed May 27, 2009 3:35 am
Location: Estonia, Tartu

Postby D_A_M_H » Sat Feb 12, 2011 4:24 pm

OMG....ok let's get this straight, I knew what is wrong with it..I used the main.py file as a start file but used also 2 py files (file1.py & file2.py) that main.py file is using during the game using the code:
Code: Select all
from file1 import *
from file2 import *

when using main.py the problem was solved but by putting the other files and call it, the error shows up

Just try this file....It is the living room:
http://www.2shared.com/file/pzIHs3w0/app.html

P.S if this didn't work, I would kill myself
D_A_M_H
 
Posts: 150
Joined: Wed Jun 24, 2009 12:06 pm
Location: Alexandria - Egypt


Return to Showcase

Who is online

Users browsing this forum: No registered users and 0 guests