Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: School management simulator  (Read 6326 times)

0 Members and 1 Guest are viewing this topic.

vip-ak47

  • Newbie
  • *
  • Posts: 6
    • View Profile
School management simulator
« on: April 20, 2014, 04:35:52 pm »
Latest update: http://en.sfml-dev.org/forums/index.php?topic=14988.msg110714#msg110714
Hello everyone!

I'm working on this game for quite a while (for a month or so). This game was obviously inspired by Prison Architect. Right now there is not that much of a game. Only core stuff is done. The point of the game will be to create a successful school. You are playing as a director. You will be able to build classrooms, hire teachers and other stuff. Some features of current build:

*200x200 world (40000 tiles). The world is being drawn using vertex array so It's very fast. I also tried 2000x200 world. The loading was kinda long, but after that everything was very smooth on my not the most modern pc.

*Simply ai. Workers can build walls and other stuff. They navigate around using A* pathfinding algorithm.

*Selfmade gui system. Features text wrapping and 9-patch images. Right now only 2 widgets are done (Button and slider), but adding new widgets is very easy. Only does 1 draw call (+1 per every text line) because its also uses vertex array. Here is the pic:


Here is the pic of current build:

(click to show/hide)

You can grab binaries here: https://dl.dropboxusercontent.com/u/27482836/game.rar
If somebody wants, I can post source files here. I'm not using git or anything like that, so it will be just archive of files.

Controls:
Use buttons to select different tools.
Use left mouse click to use that tool.
Use right mouse click to move your guy around.
Drag while holding middle mouse button to move camera around.

Please, post any errors you find. You can also post suggestions.
Thanks for this awesome library
« Last Edit: June 16, 2014, 08:43:42 pm by vip-ak47 »

JuDelCo

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • JuDelCo's Twitter
Re: School management simulator
« Reply #1 on: April 20, 2014, 05:15:26 pm »
that walls reminds me to Metal Gear (MSX), cool

Doodlemeat

  • Guest
Re: School management simulator
« Reply #2 on: April 21, 2014, 12:36:16 pm »
You should decide how you want the perspective to be like. Top down is the easiest of them all. Then you have the isometric view where you watch the world from a 45 degree angle. But straight top down would be the easiest one to implement, if you do not care so much about the art and perspectives.

Will the simulation go on forever? What do you have to do in order to keep the school alive? Can you stop managing the school and then just sit back and watch? If yes, how long does it take for one to create a successful school?

vip-ak47

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: School management simulator
« Reply #3 on: April 22, 2014, 05:45:10 pm »
I think, that I will keep current perspective. Isometric one is probably tricky to implement.  Creating art for isometric perspective is harder too. And my personal opinion is that top down perspective is better for this kind of games. Anyway, thanks for your suggestion. :)
Im not sure about how I will do the core mechanics of the game. There is obviously will be endless gamemode. But Im thinking about some kind of campaign mode. Sequence of missions. I remember old game from my childhood named Legoland. I remember that game having story mode. And I realy liked that mode, since you always have stuff to do.

Anyway. Im here to show you, guys, what I have done in a last 2 days. The game almost hasn't changed visually.
I changed gui a bit. I think that I will keep that gui. Of Course, current design is not final. Right now, the whole art is placeholder.
I changed the whole tool system. Now, after you select a tool, you can deselect it with your right mouse button. You can also drag your mouse while holding left mouse button to use that tool on a whole area, rather than clicking on every tile.
I changed task system a bit. Now, everything you build will not be constructed instantly. I have also added progress bars under workers, showing their progress.
You can now select stuff! This will bring status menu where you can see name of that entity, its "status" and possible actions with that entity. For example, you can fire a worker, or cut a tree (and that's it for now).
Some screens:
(click to show/hide)

get the game here (or from first post): https://dl.dropboxusercontent.com/u/27482836/game.rar
« Last Edit: June 16, 2014, 08:02:53 pm by vip-ak47 »

BaneTrapper

  • Full Member
  • ***
  • Posts: 213
  • Do you even see this, i dont need it.
    • View Profile
    • Email
Re: School management simulator
« Reply #4 on: April 22, 2014, 07:49:17 pm »
It crashes so many times on me :D.
Most crashes occurred when i placed floor with drag.
BUG: Anyway, when click to remove wall i can click many times. and the builders will keep removing the removed wall for some reason.
Also moving units with right click does not seem to work, but what is the goal in this "example" if there is any?
BaneTrapperDev@hotmail.com Programing, Coding
Projects: Not in development(unfinished/playable):
http://en.sfml-dev.org/forums/index.php?topic=11073.msg76266#msg76266
UP and in Development: The Wanderer - Lost in time
http://en.sfml-dev.org/forums/index.php?topic=14563.0

vip-ak47

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: School management simulator
« Reply #5 on: April 22, 2014, 08:17:02 pm »
Thanks for your report. I will look about what I can do about these crashes. Some things were done a bit in a hurry. About that bug: yeah, right now, tasks indeed do stack. I will fix it in the next build.
You can only move "your" guy (not workers), but I may change that.
There is now goal right now. I need to setup basic systems before I do something more serious. Thanks for your help.

vip-ak47

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: School management simulator
« Reply #6 on: April 27, 2014, 12:08:47 pm »
Hello everyone.
I haven't made much progress. This update is kinda a bugfix one. Next updates will be focused on creating an actual gameplay. So expect stuff like economy, day-night cycle, etc.
Changelog:
Crashes are probably fixed. Tell me if not. Reproduction steps would be very usefull
Tasks no more stack together
Road. Kinda useless right now, but will be used later. There are also ambient people walking around (just for fun)
Object system. There are 3 objects right now: tree, bed, bench. Tree was already in the game before, but now its an actual object and not just a generic entity. Every object has its hitbox. You cannot spam them, or place them inside a wall
Here is the pic of current build:
(click to show/hide)

You can download the game here (or from first post): https://dl.dropboxusercontent.com/u/27482836/game.rar
« Last Edit: June 16, 2014, 08:03:23 pm by vip-ak47 »

therocode

  • Full Member
  • ***
  • Posts: 125
    • View Profile
    • Development blog
Re: School management simulator
« Reply #7 on: April 27, 2014, 12:26:06 pm »
Looks fun, I love these types of games, being a big fan of Dwarf Fortress. :D I like the idea of the school setting. That seems unique and I can imagine many funny quirky situations arising.

I am myself working on a game in the same genre but managing a space station. Haven't really gotten anywhere yet though haha.

vip-ak47

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: School management simulator
« Reply #8 on: June 16, 2014, 08:42:21 pm »
Hello everyone.
A lot of time pasted since my last update. The reason was exams. From now, updates will be comming out more frequently.

So, here is changelog:
*day-night cycle. Time is passing very fast right now. Probably will be slowed a bit. You can place lamps to light up the area.
*room system. Only one room type right now.  You should first create a room and then expand it as you want. You cant connect rooms or disconnect them. And you only can fully remove a room. I will see about what can I do about these things.
*something, that look like a gameplay! Everyday at 8am a Bus with 8 pupils comes. To teach them, you need to build classrooms. To do that, you need to create a classroom room, put teacher desk inside and hire a teacher. Every classroom can teach only 4 pupils, so you need to build 2 of them. You get 10$ for every hour of teaching of 1 pupil. They are just standing near teacher desk right now, but it will be improved.
*simply economic system. Some stuff costs money. Worker costs 5$ per hour. Teacher costs 10$ per hour. You get money by teaching.

Here are some screens:
(click to show/hide)

Some stuff I would like to implement next:
Shedule. Pupils shouldnt study all day. 2-3 lessons every day with rests in between
Better gui. I would like to implement listboxes, chatboxes and maybe child windows
Better ai. Workers should walk around if they dont have anything to do. Teachers too. Maybe try to implement smoother movement.
Saves? Main menu? Options?

Download new version here (or from first post):
https://dl.dropboxusercontent.com/u/27482836/game.rar

Chaore

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Email
Re: School management simulator
« Reply #9 on: June 17, 2014, 01:31:33 am »
It's nice!

Keep the work going  ;D !!

I think you should put your ressources in a separate folder to keep the binary file clean.  ;)
« Last Edit: June 17, 2014, 01:36:14 am by Chaore »

Cirrus Minor

  • Full Member
  • ***
  • Posts: 121
    • View Profile
Re: School management simulator
« Reply #10 on: June 17, 2014, 07:22:32 am »
I haven't try it yet, but it looks to be a well made in progress "school architect" :)
And you've already done a lot of work.
Good luck with this project !