Question for Makslane: Tiled Actors

Game Editor comments and discussion.

Question for Makslane: Tiled Actors

Postby pyrometal » Sun Mar 09, 2008 5:00 pm

This question is for you Makslane, since I doubt anyone else would know the answer except the the man which created GE himself! I wanted to know more specifically how the tile actor functions work when used. For my project, Gelman!, I have 4 main tiled actors which constitute my map, the floor actor (which is also the walls and ceiling), the foreground actor which puts visual elements like grass take priority in Z-depth over the player, a background actor which is used to put visual elements in the back of the two previous actors, and finally a water tile which, of course, acts as water. My question concerns the efficiency of tiles. Are the tiled actors loaded entirely at all times, or are only the visible tiles loaded into the view? I have to know, would it be better for me to use only those 4 actors and tile enormous maps with them, or would it be better to create more actors which act the exact same way for every section in my game? Also, I'm using activation regions for every section, does this affect the tiles in any way? I discovered that the tiles' initial positions must be in the activation region in which the view starts, otherwise they do not get created. Please let me know a few of these answers, it would be greatly appreciated.

Thank you in advance! --Pyro
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: Question for Makslane: Tiled Actors

Postby Kalladdolf » Sun Mar 09, 2008 5:07 pm

Question for makslane as well:
Do tile-created maps slow down the game?
If yes, would there be a better way to make one?
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Question for Makslane: Tiled Actors

Postby makslane » Sun Mar 09, 2008 8:09 pm

pyrometal wrote:Are the tiled actors loaded entirely at all times, or are only the visible tiles loaded into the view?
I'm using activation regions for every section, does this affect the tiles in any way?


The load is per actor. If you have one actor holding a big tile, all tile will be load with this actor.

pyrometal wrote:I have to know, would it be better for me to use only those 4 actors and tile enormous maps with them, or would it be better to create more actors which act the exact same way for every section in my game?


More actors is better. For example, if you have 10 levels, each with your own activation region, is better use 10 floor actors. So, each floor will be loaded and unloaded as necessary.

==Kalladdolf== wrote:Do tile-created maps slow down the game?


No.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Question for Makslane: Tiled Actors

Postby pyrometal » Sun Mar 09, 2008 11:20 pm

Thank you very much, now I know how to proceed with my games' design.
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron