Slick Forums

Discuss the Slick 2D Library
It is currently Wed May 22, 2013 5:04 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Oct 11, 2012 5:33 am 
Offline

Joined: Tue Mar 06, 2012 1:15 am
Posts: 25
Hi all,

Just wanna ask for some help.. right now im having a hard time planning what should be entities, components and System for a RPG game (similar with pokemon without the battle system).
any ideas on how to start this? as of now all I can create complete prototype of what im planning but there's no reusable object as of now. that's why im looking forward in using artemis as an entity framework to organize objects on my game.

Thanks and Best Regards.


Top
 Profile  
 
PostPosted: Thu Oct 11, 2012 1:05 pm 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 619
Location: Iceland
It is rather difficult to answer such general questions.

As with all things, start small, learn, and you'll have a better idea how you'd do larger games.


Top
 Profile  
 
PostPosted: Thu Oct 11, 2012 3:00 pm 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1313
Location: Italy
take a look here

_________________
Blog | Last game Gravity Duck tribute | In progress Gravity Duck tribute


Top
 Profile  
 
PostPosted: Fri Oct 12, 2012 3:43 am 
Offline

Joined: Tue Mar 06, 2012 1:15 am
Posts: 25
Thanks for the info.. im starting the development already to see how will it go.

is there any docu. about bags and immutable bags? how they are used and what are them for?


Top
 Profile  
 
PostPosted: Fri Oct 12, 2012 9:11 am 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 619
Location: Iceland
wakkana12 wrote:
Thanks for the info.. im starting the development already to see how will it go.

is there any docu. about bags and immutable bags? how they are used and what are them for?

They are really just unordered lists, as raw as possible to make them as fast as possible.


Top
 Profile  
 
PostPosted: Fri Oct 12, 2012 9:34 am 
Offline

Joined: Tue Mar 06, 2012 1:15 am
Posts: 25
appel wrote:
wakkana12 wrote:
Thanks for the info.. im starting the development already to see how will it go.

is there any docu. about bags and immutable bags? how they are used and what are them for?

They are really just unordered lists, as raw as possible to make them as fast as possible.


great! thanks!

yet another question..

On the java doc it says that the method
Code:
protected abstract void process(Entity e)


and

Code:
protected final void processEntities(ImmutableBag<Entity> entities)


was for Processing an entity this system is interested in.

but how can i assign which entity the system should be interested in? was the
Code:
Aspect.getAspectFor()

method for it?

sorry if its a noob question.. i was just following the Tanks source.


Top
 Profile  
 
PostPosted: Fri Oct 12, 2012 12:54 pm 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1313
Location: Italy
take a look here: http://gamadu.com/artemis/tutorial.html

_________________
Blog | Last game Gravity Duck tribute | In progress Gravity Duck tribute


Top
 Profile  
 
PostPosted: Mon Oct 15, 2012 12:56 am 
Offline

Joined: Tue Mar 06, 2012 1:15 am
Posts: 25
wakkana12 wrote:
appel wrote:
wakkana12 wrote:
Thanks for the info.. im starting the development already to see how will it go.

is there any docu. about bags and immutable bags? how they are used and what are them for?

They are really just unordered lists, as raw as possible to make them as fast as possible.


great! thanks!

yet another question..

On the java doc it says that the method
Code:
protected abstract void process(Entity e)


and

Code:
protected final void processEntities(ImmutableBag<Entity> entities)


was for Processing an entity this system is interested in.

but how can i assign which entity the system should be interested in? was the
Code:
Aspect.getAspectFor()

method for it?

sorry if its a noob question.. i was just following the Tanks source.


thanks again. much better now.


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] 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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group