Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / 3D game menu UI in FPSC engine?

Author
Message
Mr Game
17
Years of Service
User Offline
Joined: 11th Feb 2009
Location: Under Your Skin
Posted: 14th Aug 2012 10:55
Hello,



This is example of 3d game menu (Maya plus Flash)

https://vimeo.com/44264001

but main question is how to assign this flash interactive buttons with FPSC menu buttons???

I have no idea...

I downloaded some game launcher with options configurations possibility but all of them are 2d menu. (Infector, SG launcher, Vishnu, etc...)

I wanna make some interactive scene with zombie head maze (in this maze some monsters like painter for graphic options, musician for music options, etc.).

cheers
Mr Game



Gencheff
16
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 14th Aug 2012 15:01
Unfortunately this will not be possible unless you modify the engine.

Luckily however , in DBPro this is very easy to achieve. If you're up for that task , I would approach it in the following matter.

1. Load all objects separately
2. Use mouseOver = pick object(mousex(),mousey(),firstObjectNumber , lastObjectNumber) (This uses the mouse pointer's positions to track whether it is hovering over an object in 3d space.The next two variables are the start and end of a margin through which the command searches for object IDs (eg. 1,10 will loop through the first 10 objects to see if the mouse is hitting over them). The command returns 0 if the mouse is not over an object within the objects allowed )
3. Check if the user has clicked on any of the objects and set a variable to store the ID of the clicked object (SelectedMenuItem = mouseOver)
4. Run an if statement separately , where if the SelectedMenuItem is > than 0 the camera is set to 'follow' that object. A good command that has the camera smoothing in the video is already integrated into DBPro (set camera to follow) .
5. Run some statements to clear the variables if nothing is selected and set a default camera position for that scenarion
6. Assign the functions to each menu item.

This is a short description of how it could be done , at least as far as I can envision it in my head early in the morning.

P.S - Ideally , you would want to exclude the main zombie head from the pick object() statement.

Hope this helps in any way.

Mr Game
17
Years of Service
User Offline
Joined: 11th Feb 2009
Location: Under Your Skin
Posted: 14th Aug 2012 20:25
Thanks for your ideas.



Login to post a reply

Server time is: 2026-07-03 23:25:08
Your offset time is: 2026-07-03 23:25:08