help with create wall/platfrms using photoshop to get the values

rafhot

Member
Some time ago i remember Bloodbane said he uses photoshop to get the values to be used as walls/platforms and such
can someone create a tutorial to show how to set those values using mouse?

Thanks
 
there was old editor that was showing walls in stages, it was made by guy with nickname kirby as some graduation project, im not sure but i think obeditor by gringo was also showing walls, does anyone have most recent version ?
 
Are you talking about the walls/platforms as in you set blocks (for panels) or do you want entities to be platforms?

wall

wall {xpos} {zpos} {upperleft} {lowerleft} {upperright} {lowerright} {depth}{alt}
Creates a 4-sided wall or platform at the specified point.
All of the field except {alt} are the same as they are in holes.
{alt} is used to control the height of the platform. It's measured in pixels. So for a wall with 10 for it's {alt} value would be 10 pixels high, any entity on the platform would be displayed 10 pixels off the ground, and entities would need to jump at least 10 pixels off the ground to get on top of the wall.
If you want to make a wall which can't be jumped on, simply give it a {alt} value somewhere in the lower thousands. Very, very, VERY few entities should be able to jump on it.
In order for enemies to get on platforms higher than their current position, they need a JUMP animation with a range set for it, and/or an animation which lifts them off the ground.
Use
wall {xpos} {zpos} {upperleft} {lowerleft} {upperright} {lowerright} {depth} {alt}
Aside from {alt}, all parameters operate identically to those in the Hole command. All measurements are in pixels.

{xpos} {zpos}
{xpos} and {zpos} are the x and z positions at which the wall is spawned (how far from the start of the stage, and how far from the top of the screen in, respectively).

{upperleft} {lowerleft} {upperright} {lowerright}
{upperleft}, {lowerleft}, {upperright}, and {lowerright} determine the x position of each corner for the wall. Note: These settings are relative to {xpos}, not the stage.

{depth}
{depth} is the z depth of the wall; how far it stretches from {zpos} to the top of the screen.

{alt}
{alt} is the height of the wall. So a wall with 10 for its {alt} value would be ten pixels high. Any entity on the wall would be displayed ten pixels off the ground, and entities would need to jump at least ten pixels off the ground to get on top of the wall.

Wallpit_mrq.png

 
i have found one obeditor version 1.5 inside goresickness marvel demo game

i uploaded it to here http://www.mediafire.com/?a0ljb6qqnk0763s

i have loaded my stage inside of him but not figured out how to deal with wall/holes/platforms using mouse to trace the squares and get the values
 
yeah I posted about that on one of my help threads.

Although in my case, when I save, it messes my level file, so I just use it for visual and then I copy/paste the coordinates, but it requires (for me) lot of trial n' error..

Maxman, thanks for the image, but I continue to not understand very well how it works, guess will try with a basic wall to test again...



[attachment deleted by admin]
 
Die in Fire, let me show you an example taken from my oldest version of Unelmia:

hole            1690 458 0 -5 121 121 70 40
wall            580  458 0 0 145 145 84 50

Take a look at the corners of the wall block/platform in the image. To me, it's tricky to do.

Green = Where you want the platform/block to be spawned.
Blue = 1st par: upper left corner in the image is our left side in front. 2nd par: lower left corner in the image is our right side in front.
Red = 1st par: upper right corner in the image is our left side but it's at the back side. 2nd par: lower right corner in the image is our right at the back side.
Purple = It is the z depth for the walkable area. I think you will need to have all sides be walkable by giving
Maroon = You can change the altitude on how high the wall block is.

I think you have a problem with some of the platforms. You moved one top platform to its left side on the second platform, according to obeditor. Plus, you increased the altitude too high for your char to jump unless you have a char that can have a higher jumpheight. But, I don't know how far the number you put for the walking area on the first top platform.

Try out this one:
Code:
wall 358 140 -22 0 -22 137 24 38

Maybe if the z depth is not working then you can try this I think:
Code:
wall 358 140 -22 0 -22 137 160 38

Just trying to help.
 
can you help me put the walls on those stages?


https://www.dropbox.com/s/8p2p5aotxw7x26x/shortcut.png?m

https://www.dropbox.com/s/fgawbz9xzl8xz05/subway.png?m
 
When I set walls, I usually pick lower left or lower right corner from area to be set wall. If I can only get one corner, I just pick that one.
The x y coordinate of this corner becomes the 1st 2 parameter of wall command.

Then using selection tool of Photoshop, I cover the wall area from that corner to get z width. At same time, I cover to upper left corner. The width of selection box is the value for upperleft. I repeat the step and this time cover to the other lower corner to get lowerright value. Repeat the step to upper right corner to get upperright value. Lowerleft is simply 0 since the measuring is done from that point.
If the wall is on leftmost edge of panel, I simply set upperleft and lowerleft huge minus value to cover unshown area. For rightmost edge, I simply set upperright and lowerright huge positive value.

Wall height can be gained by making selection box from that corner to top of wall. If I can't see the top or the wall is meant to be unpassable, I simply set huge value.

For shorcut.png, here are wall settings:

wall  776 667 -3000 -3000 440 0 400 5000
wall  3920 667 425 0 3000 3000 400 5000

For subway.png, I need to ask something 1st. Are you going to make use of the platform on middle back of panel as part of playing field? or just focus railway tracks?
 
I am/was working on the subway though. Just did some adjustment here. I'll continue to use my laptop to show you the code for the wall I did.

EDIT: OK. This is my adjustment of the wall for the platform you wanted (I think).

Code:
wall 1820 383 0 0 1060 1060 120 70

I set the z level to 264 535 264 for the subway stage. But on my own spawning, I set spawn 1 with this:

Code:
spawn1 0 270 270
 
thank you guys!
i will test it today

edit

I am/was working on the subway though. Just did some adjustment here. I'll continue to use my laptop to show you the code for the wall I did.

EDIT: OK. This is my adjustment of the wall for the platform you wanted (I think).

Code: [Select]

wall 1820 383 0 0 1060 1060 120 70


I set the z level to 264 535 264 for the subway stage. But on my own spawning, I set spawn 1 with this:

tested it and it worked fine!
but now i still need another wall i think to block players to not walk into the brick part of the screen

i will test now the shortcut stage that bloodbane did the wall,
those painted stages will be used on the avengers game to try to get the classic style from the original captain america and the avengers game :)
 
OK. I just added new walls but for the wall I adjusted a while ago, I changed the offset already. Here's my change and the walls.

Code:
wall 0 383 0 0 1826 1826 120 500
wall 1827 383 0 0 1056 1056 120 70
wall 2883 383 0 0 1828 1828 120 500
 
thanks maxman
its almost perfect

only on the left side of the platform there is a small space that enemies and players can fall

https://www.dropbox.com/s/og900glzrvl4u9e/fantasticfour%20-%200023.png?m

https://www.dropbox.com/s/nmyxpivpuzbj3dc/fantasticfour%20-%200024.png?m

now i will start to test the bloodbane platforms on shortcut stage and post here :P

thanks again guys
 
raf, I'm trying to help you with the wall, but I'm having a problem with maneuvering my jump. I can't maneuver players while toggling directional button(s). BTW I was using video 0 to test your walls, now I'm using video 6 for testing on characters' fall on them.

EDIT: I apologize for not replying because I was busy with real life (by studying for the Mid-Term Exam. So tough.).
 
Hey raf. I got my time so I fixed the upperright and lowerright (in red) of the first wall. Also, I changed the height of the second wall. I realized that when I put like 1826 for the right side of the first wall while I put the x offset of the second wall, characters fall down between the two walls and it was my mistake. I made fixes on the first two walls in between.

wall 0 383 0 0 1827 1827 120 500
wall 1827 383 0 0 1056 1056 120 55
wall 2883 383 0 0 1828 1828 120 500

P.S.: I can make a picture tutorial on the wall 'cause I think I'm kinda wordy sometimes when I post.
 
You're welcome. :)

Anyway, this is just my guide for the wall platform I made here. Hope it helps.

EDIT: Wall guide corrected by showing blue small boxes of the platform block where the number of upperleft and lowerleft are incremented.

[attachment deleted by admin]
 
Back
Top Bottom