Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 4 posts ] 
    coyotecraft
  Wed Feb 05, 2014 6:58 am
User avatar
Sponsor

Omnipresent Merchant
I think this deserves a separate topic about reflections.
Image
Chrono Crisis screenshot by Chains of Fate.

Quote:
The reflections are a cheap trick. I remember thinking, wow there is a script for that?
But it's done on a sprite sheet. The characters I mean. The walls and junk are probably their own tiles.
I should have called it a Cleaver trick. Doing this any way other than using a script would still take some time. It's kinda obsolete since there are plenty of reflection scripts out there today.

Quote:
Wouldn't that mean the characters don't line up with the tilesets though? Since they'd be twice as high meaning where the characters feet start wouldn't be in line with the current tile you're stood on, meaning it'd look really awkward under certain circumstances


Originally, I thought the same thing. Which made me figured the reflections were like shadow events. But then I tried recreating it. It actually works better to have the character and reflection on one sheet. Because when everything has a reflection it all lines up.
There is a little trick with the tilesets. The tiles that are reflections aren't passable. Let me explain, the character's reflection is technically the sprite's "feet". And you can't have reflections on top of each other because that would mean the objects are on top of each other. Get it? It's like an illusion. If you walk towards the wall, the sprite character/event will technically stop at wall's reflection but because the character's body is higher than the typical sprite it looks like it stopped at the edge of the wall instead.

No parallel processes or special scripts required. Just a little image editing to create the reflections in the first place.


Top Top
Profile      
 

    Amy
  Wed Feb 05, 2014 11:54 am
User avatar
Staff

Big Dumb Guy
That's a pretty cool idea actually. I'd seen this done in 2k/3 but never thought about how they did something so seemingly complex. I have seen scripts for it now, for XP/VX/Ace.


Top Top
Profile      
 

    Jason
  Thu Feb 06, 2014 12:20 am
User avatar
Awesome Bro

Generic Townsperson
Yay my quote is in an "article"! :biggrin:

_________________
This is a block of text that can be added to posts you make. There is a 9999 character limit.


Top Top
Profile      
 

    Glitchfinder
  Thu Mar 20, 2014 1:27 am
BEWARE: Glitchfinder's sense of humor sucks.
User avatar
Staff

Party Mascot

Location: Approximately 93 million miles from Sol.
Yes, this can be done with scripts, but the graphical implementation is typically more effective. Especially in situations where you can't afford to waste resources on extra graphics or objects, like when making a game in HTML5. In something like that, every "cheap trick" that can mostly approximate a good effect is well-worth using, since you can't use much in the way of resources without dragging the game to a halt.

In short: this article goes over the better way to deal with this kind of stuff, especially in low-resource environments.

_________________

Just call me Glitch.


Top Top
Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

We are an independent, not-for-profit game making community.
Homepage
Board Index
About Us
Downloadable Games
Free Browser Games
Games in Development
RPG Maker Support
Game Maker Support
Construct 2 Support
HBGames the eZine
Advanced RPG Maker
Site Announcements
Powered by phpBB © phpBB Group