Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (780)
Games in Android Showcase (233)
games submitted by our members
Games in WIP (857)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Slick2ds entity engine  (Read 2701 times)
0 Members and 1 Guest are viewing this topic.
Offline SkyAphid
« Posted 2012-01-16 02:44:19 »

I'm working, but I don't know if I should make the player one of Slicks entities, or make my own entity engine. Essentially all entities will be is the player and the npc-director; the npc-director in which itself will manage crowds of people walking in the town districts.

I'd like some feedback on everyone elses opinions before I get too far in.

it just werks
Offline Magn919

Junior Devvie

Medals: 6
Exp: 5 years

« Reply #1 - Posted 2012-01-16 12:19:52 »

I don't recall slick 2D having an entity manager, only some of its extensions that have and a few tutorials that explains how to make one.

My advise, make your own, it will be alot easier to understand whats going on, than using someone else's system.

My idea's:
For your crowd manager(npc-director), make it an entity, and make all the npc's entities too, have the npc-director create and remove npc's first thing per loop, maybe using an npc pool, npc-director could assign them behaviors too.
Then have the npc's control what they do on their own.

This is what i would do based on your description.
But its up to you, to decide how it should work. Wink

For every new problem, a new source of solutions has come to exist.
Pages: [1]
  ignore  |  Print  

hadezbladez (761 views)
2018-11-16 13:46:03

hadezbladez (394 views)
2018-11-16 13:41:33

hadezbladez (758 views)
2018-11-16 13:35:35

hadezbladez (200 views)
2018-11-16 13:32:03

EgonOlsen (2401 views)
2018-06-10 19:43:48

EgonOlsen (2581 views)
2018-06-10 19:43:44

EgonOlsen (1486 views)
2018-06-10 19:43:20

DesertCoockie (2149 views)
2018-05-13 18:23:11

nelsongames (1967 views)
2018-04-24 18:15:36

nelsongames (2648 views)
2018-04-24 18:14:32
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!