NEPHILIM89'S PROFILE

Search

Filter

Making your own panorama game

Yeah I just thought I'd post it here as i couldn't find any solutions through google (it's actually how I found this article) and so I figured this might help some people. I didnt actually realise that rm2k3 used a different script method for this, but I suppose I've never really used it much :S

ALIS: A Lesson In Stupidity

It works quite well in XP, maybe not as pretty as the VX one but it's still better than the default in my own opinion. I don't make great use of it in this game though. Havent done too much with the battle system yet. Last thing I did was add in support for combined abilites (skills that require 2 characters).

Also an update on this project:
I have neglected this project a bit due to college and work, however I intend to do some serious work on it soon and will hopefully have a demo within a month or two.

beforeafter.PNG

I like the effect the zoom out gives. Feels much more realistic than just switching to a world map view. And the red circle mechanic is nice. Im just curious, in the second screen the dragon seems larger (even though the view is zoomed out.) Does the dragon sprite scale down as the map scales up? If not it could kinda ruin the effect. Nice work though.

Using Panoramas as Backgrounds in XP - Scrolling Problem (and a tilemap program you may find useful)

Im not so much as asking for help in this thread as I am giving it. I recently tried using a panorama in place of a tilemap background but I ran into a problem immeadiately and I feel it's a problem many people might experience so I decided to post the fix that I found.

The Problem
Collision tiles in the editor lined up fine with panorama tilemap at first however the moment the map scrolls they become misaligned. This causes problems when you are trying to use transparent tiles for collision.

The Solution
I looked through the game scripts and found the problem. Basically the misalignment is caused by the panorama being scrolled at a different rate than the normal tilemap that you make in the editor. This gives a nice effect for normal panoramas and gives the illusion of depth but when you want to use panoramas as your background, it causes problems. Thankfully this is easy to fix. In the Spriteset_Map script you will find the following lines:

# Update tilemap
@tilemap.ox = $game_map.display_x / 4
@tilemap.oy = $game_map.display_y / 4
@tilemap.update
# Update panorama plane
@panorama.ox = $game_map.display_x / 8
@panorama.oy = $game_map.display_y / 8

As you can see the panorama is scrolling at a different rate to the main tileset. In order to fix this we would simply change the eights to fours as so:

# Update tilemap
@tilemap.ox = $game_map.display_x / 4
@tilemap.oy = $game_map.display_y / 4
@tilemap.update
# Update panorama plane
@panorama.ox = $game_map.display_x / 4
@panorama.oy = $game_map.display_y / 4

And this fixes the problem. This is just a quick fix but it should work fine for most people. I'll probably post a more sophisticated method at some point in the future.

Tiled - A free, open source, cross platform tilemap editor
The reason I did all this is because I found a free, kickass little tile map editng application called 'Tiled'. This program let's you import multiple tilesets, divides them into tiles and allows you to make tilemaps out of them which can then be exported to images.

This is great form RMXP users as we can use the program to create tilemaps with far more layers than the usual 3 (or 4 if your creative) in RMXP. It also means you can easily mix multiple tilesets from RTP and others. I had this problem a while back when trying to use the RTP mining tracks in a cave level and ended up having to use photoshop to splice the tilesets together. The result was ok but i had issues with transparency due to the exporting as you can probably see yourself:



If you zoom in you'll see the windows are grainy and I couldn't use the normal 'track entering cave' tile as it looked wrong with screwed up transparency. I also was forced to use the event layer as a fourth tile layer in some places. Had I used tiled for this map, all of this hassle could have been avoided.It let's you make those kind of maps easily for example:



Thank you for reading, I only posted this topic as I felt it might help people with the same problem that I had. And if anyone is wondering about Tiled, its free, open source, cross platform and can be found here: http://www.mapeditor.org/2010/04/this-release-adds-lot-of-new.html#comments

Cheers.

Making your own panorama game

Sorry to bump but I had problems with the scrolling of my panorama Backgrounds and I think I should mention here the fix that I found.

The Problem: Collision tiles in the editor lined up fine with panorama tilemap at first however the moment the map scrolls they become misaligned. This causes problems when you are trying to use transparent tiles for collision.

The Fix: I looked through the game scripts and found the problem. Basically the misalignment is caused by the panorama being scrolled at a different rate than the normal tilemap that you make in the editor. This gives a nice effect for normal panoramas and gives the illusion of depth but when you want to use panoramas as your background. Thankfully this is easy to fix. In the Spriteset_Map script you will find the following lines:

# Update tilemap
@tilemap.ox = $game_map.display_x / 4
@tilemap.oy = $game_map.display_y / 4
@tilemap.update
# Update panorama plane
@panorama.ox = $game_map.display_x / 8
@panorama.oy = $game_map.display_y / 8

As you can see the panorama is scrolling at a different rate to the main tileset. In order to fix this we would simply change the eights to fours as so:

# Update tilemap
@tilemap.ox = $game_map.display_x / 4
@tilemap.oy = $game_map.display_y / 4
@tilemap.update
# Update panorama plane
@panorama.ox = $game_map.display_x / 4
@panorama.oy = $game_map.display_y / 4

And this fixes the problem. This is just a quick fix but it should work fine for most people. I'll probably post a more sophisticated method at some point in the future.

Yoska's Wish.jpg

Mesagepane.....TO THE EXTREME!!!!!!!!!!!! *explosions*

AAG14.png

Very very nice.

ej200919.png

Love the bridge effect here.

intro001_new2.png

Much better. I love the windowskin in this game.

intro001.PNG

Nice screen, the face placement seems a little random but good overall.