MP3D Engine Alpha 33

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: MP3D Engine Alpha 31

Post by applePi »

thank you AndyLy, a simple solution for a complex and very long post. i should thought of the Gray color.
thank you
vladimir
New User
New User
Posts: 7
Joined: Thu Sep 20, 2012 4:11 pm
Location: russia

Re: MP3D Engine Alpha 31

Post by vladimir »

hello guys! I wanted to do something like normal buttons, and wanted to ask you may have an easier way? MP_PickSprite I think does not suit me.
This is what I wrote)

Code: Select all

Procedure AR_createButton(sprite,x,y,button)
  If MP_MouseButtonDown(button)
    If WindowMouseX(0) >= x And WindowMouseX(0) < (x + MP_SpriteGetWidth(sprite)) And WindowMouseY(0) >=y And WindowMouseY(0)<(y + MP_SpriteGetHeight(sprite))
      result = 1
      
    EndIf
  Else
    result = 0
    
  EndIf
  
  MP_DrawSprite(sprite,x,y)
  ProcedureReturn result
EndProcedure
this works well, but may have a better solution?
thanks
User avatar
AndyLy
Enthusiast
Enthusiast
Posts: 228
Joined: Tue Jan 04, 2011 11:50 am
Location: GRI

Re: MP3D Engine Alpha 31

Post by AndyLy »

This is the easiest way in the universe. In any dimension there is no way easier and better.
The simplest way, is always right way. Everything else, from the evil one.
'Happiness for everybody, free, and no one will go away unsatisfied!'
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
User avatar
Sveinung
Enthusiast
Enthusiast
Posts: 142
Joined: Tue Oct 07, 2003 11:03 am
Location: Bergen, Norway

Re: MP3D Engine Alpha 31

Post by Sveinung »

Can you please recompile this lib for PB 5.10???

Sveinung
mpz
Enthusiast
Enthusiast
Posts: 497
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: MP3D Engine Alpha 31

Post by mpz »

Hi Sveinung,

i the next time i will have more time for my engine and i will make an update.

I have tested the mp3d engine with 5.10 beta 2 (x86) and it works fine. Do you have problems with its?


Greetings Michael
Working on - MP3D Library - PB 5.73 version ready for download
Aleks_Longard
User
User
Posts: 64
Joined: Mon Dec 24, 2012 9:07 am
Location: Ukraine

Re: MP3D Engine Alpha 31

Post by Aleks_Longard »

Hi Mpz!
You plan to do 3d sound in the engine?
Sory my bad english
User avatar
Sveinung
Enthusiast
Enthusiast
Posts: 142
Joined: Tue Oct 07, 2003 11:03 am
Location: Bergen, Norway

Re: MP3D Engine Alpha 31

Post by Sveinung »

I tested it on beta 1. I will test it with beta2. Thank you for responding :D

Regards
Sveinung
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Re: MP3D Engine Alpha 31

Post by Inner »

PB 5.10 Beta 5 -

POLINK Error
mpz
Enthusiast
Enthusiast
Posts: 497
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: MP3D Engine Alpha 31

Post by mpz »

Hello Inner,

i test it with 5.1 beta 5 and everything works fine. Please reinstall the MP31 lib. I think you must overwrite the "PureLibraries\Windows\Libraries\" from the MP31 again. The beta lib will install other libs and this could be the problem...

Tested it with Windows xp and mp31 (x81)

Greetings Michael
Working on - MP3D Library - PB 5.73 version ready for download
Hadrian
User
User
Posts: 11
Joined: Fri Nov 09, 2012 12:50 pm

Re: MP3D Engine Alpha 31

Post by Hadrian »

A great tool.
Thanks
Hadrian
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Re: MP3D Engine Alpha 31

Post by Inner »

mpz wrote:Hello Inner,

i test it with 5.1 beta 5 and everything works fine. Please reinstall the MP31 lib. I think you must overwrite the "PureLibraries\Windows\Libraries\" from the MP31 again. The beta lib will install other libs and this could be the problem...

Tested it with Windows xp and mp31 (x81)

Greetings Michael
Yes it is now working fine, thanks for your advice.
True29
User
User
Posts: 64
Joined: Sun Feb 03, 2013 1:50 am

Re: MP3D Engine Alpha 31

Post by True29 »

POLINK Error :/
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: MP3D Engine Alpha 31

Post by IceSoft »

True29 wrote:POLINK Error :/
---------------------------
PureBasic - Linker error
---------------------------
POLINK: error: Unresolved external symbol 'DirectSoundCreate8'.

POLINK: fatal error: 1 unresolved external(s).


---------------------------
OK
---------------------------
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
Sveinung
Enthusiast
Enthusiast
Posts: 142
Joined: Tue Oct 07, 2003 11:03 am
Location: Bergen, Norway

Re: MP3D Engine Alpha 31

Post by Sveinung »

You probalbly need to reinstall MP3D. This will install an "extended" version of dsound.lib.

Regards
Sveinung
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: MP3D Engine Alpha 31

Post by IceSoft »

Sveinung wrote:You probalbly need to reinstall MP3D. This will install an "extended" version of dsound.lib.

Regards
Sveinung
Thanks! I removed the dxsound.lib file, installed MP31 again and update the MP3Dlib to the alpha32 Version too.
Works now again.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Post Reply