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.

DarkBASIC Professional Discussion / Recreating the PS3 XMB

Author
Message
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 15th Nov 2008 18:14 Edited at: 15th Nov 2008 18:37
XrossMediaBar (XMB) is what the PSP/PS3 navigates on. Why is this called the XMB you wonder:


So the mission is to recreate the DBP equivalent of the PS3 XMB:



Now I whipped this up the other day to resemble how it works, nothing special, just a rush job:



Now the major rewrite will commence and the addition of all the other features. So hopefully with your help I can do this. So where to start?

1. How to make the Background?
Background colors should be a simple image, I went with a 512x512 png image for mine. Apply that to a sprite and size it to screen width/height (same for wallpaper) and we've got are background color (or wallpaper). Please tell me if you've got a better idea.

I have kind of a clue how the wave bit is made, just by looking at it, it looks like an subdivided quad (bit like a matrix, but a plain) with i'm guessing a shader apply to it. I guess the vertex shader would handle the movement and the pixel for the holographic look. Anyway I've decide to not make that one cause i'll be spending hour getting working so i'll make the psp one instead.

So the psp waves are 2d, they seem dynamic, not sure if it's and image that dynamically being scrolled with it's scale also being dynamically altered. Or one long image that just scrolls.

Edit: just looking at it now, I have no clue how this is made.

So any idea's?

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 16th Nov 2008 11:47 Edited at: 16th Nov 2008 11:47
There is actually now two different bgs on psp.. And well you could just probably make really long image and scroll it from left to right.
Or if you own psp you could change the image on flash for something your needs and check how it works. But i guess its just long image scrolled left to right.

Mugen Wizardry
User Banned
Posted: 16th Nov 2008 17:31
PLEASE release this when its fixed completely!
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 16th Nov 2008 17:42 Edited at: 16th Nov 2008 17:46
I figured out how the PS3 wave is done, it's a subdivided plain (culling off) with a single texture applied to it with alpha mapping, it's verts are alter to produce the wave. So i'll look into vertex stuff, back in abit.

Edit: or I could use Memblocks to create a Matrix and use a Normal Map to create the waves. Have no clue how but i'll look into it.

Roxas, your right, Fw 5.00 does have a new one (though i'm using CTF 5.00 M33-3), it's quite nice

Mugen, will do.

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th Nov 2008 20:15
Just make sure you make the text big enough. Even on a 50" screen, the menu's text is incredibly too small to read and leaves a ton of wasted space.


Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 16th Nov 2008 20:23 Edited at: 16th Nov 2008 21:03
I making the fading in part at startup and i've made this function that increases or decease to a value within a set time, though I'd post i'd post it, you might find it useful, though please tell me if you think it can be improved.

Handy Function: Increases or decease to a value within a set time:


Btw, SYS_Seconds is this: (will change this in the future)


enjoy

Phaelax, I noticed that aswell.

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 16th Nov 2008 22:47
Quote: "CTF 5.00 M33-3"

Im using that too

So you are making the ps3 waves then? Good luck! I have no clue about it
Maybe i should do something like this on c++ too cuz i have time. And cant program games because i dont yet have my laptop with 3ds max installed... (I cant really model on any other program.)

Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 17th Nov 2008 03:00 Edited at: 17th Nov 2008 03:00
Ok, leave the wave for a sec, lets actually make this thing functional. So question 2:

2. How to make the Text

Hmm... does anyone have any idea's or advice on this one? I remember WindowsKiller talked about a system he uses but I can't remember what thread that was in.

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 17th Nov 2008 08:34
Easiest is to use pre-rendered texts (images you have done in photoshop, gimp or w/e)
Or render the text couple of times to get shadow and glow or render the text twice to get shadow and make glow different way.
(atm school no spell checker..)

Mini Malistix
19
Years of Service
User Offline
Joined: 6th Mar 2006
Location: @home
Posted: 17th Nov 2008 12:54
Quote: "2. How to make the Text"


I think, a good way is to use a TrueTypeFont with icons included, because when u want to change the layout of the dashboard, you only have to change 1 file.

Here is a very raw demo of the idea:

http://home.arcor.de/nasenmaus/Menudemo.zip
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 18th Nov 2008 03:45 Edited at: 18th Nov 2008 03:45
Roxas, Yeah that's the way I was thinking, i'll make a text sheet of text thats been shadowed and when i'm using it, just cut it up, store it into an array for later use.

Mini Malistix, I want to keep the icon seperate so they can be easierly alter or swapped out.

Can someone test this please, just the Fade in bit with a bit of text, tell me if you think the fade looks ok, no Wave yet.

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.

Attachments

Login to view attachments
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 18th Nov 2008 17:24
Yeah i like it! Looks really cool =)

Commander in Chief
19
Years of Service
User Offline
Joined: 15th Apr 2006
Location: Carbondale, PA, USA
Posted: 26th Nov 2008 06:57 Edited at: 26th Nov 2008 07:05
Very nice so far. Hope you don't mind tinkering...


~Syn~

Attachments

Login to view attachments
Sid Sinister
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 26th Nov 2008 09:09 Edited at: 26th Nov 2008 09:10
Jesus H., Sasuke is at it again

Brilliant my friend, it looks really good.

There are multiple ways to do this wave thing in the background, you've already highlighted a few of them. But I was thinking, why not just produce something like that in photoshop, make each layer a different a plain (with alpha), and move the plains around randomly. I think it would save you headache and speed up times. Just a thought though ( <- self amusement... funny how one 't' changes the meaning!).

There are few tutorials on the net that show you how to do something like that in photoshop (PS: Sorry for the bloody frame on top. Hate that crap).

"If I have seen a little further it is by standing on the shoulders of Giants" - Isaac Newton
-Computer Animation Major @Baker.edu-
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 26th Nov 2008 14:12
Commander in Chief, Hehe, me likes

My aim is that every single aspect of the XMB can be changed, though gimme a sec ok.

Sid, Thanks, cheers for the site, I was looking for something like that and i'll have a go at that idea of your, cheers again. I'll post an update later.

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Commander in Chief
19
Years of Service
User Offline
Joined: 15th Apr 2006
Location: Carbondale, PA, USA
Posted: 26th Nov 2008 16:03 Edited at: 26th Nov 2008 16:13
Quote: "There are few tutorials on the net that show you how to do something like that in photoshop (PS: Sorry for the bloody frame on top. Hate that crap)."


Here's the link without the "bloody frame":

http://www.tutorial9.net/photoshop/creating-the-windows-vista-lighting-effect/


~Syn~
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 26th Nov 2008 16:35
Hehe, cheers.

One thing, how the hell would you make a curve seamless, so it meets up again?

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Sid Sinister
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 27th Nov 2008 07:04
You can make a seamless texture like this: http://www.bitbrush.com/tutorial1.html

However with something like that, I think it would just be better to make an image larger than the viewing size and just move the image around on screen within the boundaries of it's size. Get what I'm saying? Don't worry about the seamless. Sorry if that sucked, I'm tired and headed to bed.

"If I have seen a little further it is by standing on the shoulders of Giants" - Isaac Newton
-Computer Animation Major @Baker.edu-

Login to post a reply

Server time is: 2025-05-23 20:16:24
Your offset time is: 2025-05-23 20:16:24