Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411482 Posts in 69370 Topics- by 58426 Members - Latest Member: shelton786

April 23, 2024, 11:32:25 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsV.A.M.D - Versatile Autonomous Maintenance Droid
Pages: [1]
Print
Author Topic: V.A.M.D - Versatile Autonomous Maintenance Droid  (Read 4192 times)
PetSkull
Level 2
**


View Profile
« on: November 05, 2019, 01:04:04 AM »

Here I present you with my latest project (yeah I know, I have another project going, but it's on hold Lips Sealed )

V.A.M.D - Versatile Autonomous Maintenance Droid


NPC threaded pathfinding with obstacle avoidance - The captain going to the mess hall to get some breakfast

Background

Somewhere out in space, a space station floats. It is occupied by human workers and scientists, doing everything they can to solve all the big problems of human kind. They can't do this alone, so they have droids helping them doing the daily chores.

The game

You are controlling one of these droids, doing maintenance chores and securing that the space station is functioning and that the humans are happy.

You do this by:
  • Fixing broken items, doors, light bulbs, machines etc.
  • Keeping other droids operational
  • Clean up the space station
  • Getting needed items for NPC humans
  • Helping with food growing
  • Eliminating space critters which interrupt the space station in various ways

The space station consist of 8 floors, that you can travel to, using elevator teleports, placed on each floor. One of the floors is sealed off, and demand a special access card to get access to. This card, has been broken and the pieces have benne scattered around on the other floors. Collect these card pieces, put them together again, and get access to the retricted floor.

Main goal

  • Keep the NPC humans happy and they will work better
  • Gain access to the restricted floor

Space station inhabitants (NPC)
  • The space station's captain
  • Guards - Both day and night
  • Cooks
  • Workers - In various functions
  • Visitors
  • Various droids

So far there are 33 NPC's planned for the game. They all have their own lives and daily routines.

The space station has a 24 hour day (1 game minute every 2 seconds) and day and night cycles are implemented.

Technology

The game is made in Java using the basics of the LibGDX framework. All floors and decorations are procedurally generated.


One of the bigger floors on the left. On the right, just showing the capabilities

Aseprite is used for the pixel art graphics.

Development

Development goes slowly forward. I don't have much time for development, but I usually get 2-4 hours of work done each week. I will update this devlog when ever some bigger (and visual) development has been done.

I will also post new GIF's to Twitter https://twitter.com/PetSkull

I hope you will enjoy!  Smiley
« Last Edit: November 05, 2019, 01:09:58 AM by PetSkull » Logged

PetSkull
Level 2
**


View Profile
« Reply #1 on: November 14, 2019, 05:17:26 AM »

Been working a lot on my NPC's. Have now added two cooks to the game. They will cater to all the other NPC's needs. I've now finished the full 24-day circle for the captain of the space station and the cooks. They live their own lives within the space station and do their chores.

You might notice that the updates goes a lot faster in the end of this GIF. This is because I've implemented a time speeder, which I use for debugging purposes. In the final game, you will instead be able to sleep for 3 hours, where the simulation runs really fast.

Logged

kason.xiv
Level 0
***


View Profile
« Reply #2 on: November 14, 2019, 02:50:07 PM »

Love the idea! Following
Logged
PetSkull
Level 2
**


View Profile
« Reply #3 on: November 22, 2019, 01:00:41 PM »



I have implemented the inventory. Now the droid will be able to search most objects in the space station for items, which can be used in the daily chores. Hidden in all the closets, bookshelves etc are also parts of the broken key card, which will grant you access to a special area on the space station. More about this, at a later time Smiley
Logged

KPas
Level 1
*



View Profile
« Reply #4 on: November 26, 2019, 01:26:12 AM »

This side project is at an surprisingly advanced stage already ...

I wonder how the gameplay will look like. You gave some hints already:

Quote
    Fixing broken items, doors, light bulbs, machines etc.
    Keeping other droids operational
    Clean up the space station
    Getting needed items for NPC humans
    Helping with food growing
    Eliminating space critters which interrupt the space station in various ways

Will there be a task schedule which you have to work off, or are you wandering around and looking out for jobs, needs, accidents ect.?

Regarding elevators: you showed a floor map GIF on twitter recently which reminded me of good old Paradroid (C64) Hand Joystick Grin
Logged

PetSkull
Level 2
**


View Profile
« Reply #5 on: November 26, 2019, 02:37:42 AM »

Hi KPas, thank you for your kind words Smiley

Quote
Will there be a task schedule which you have to work off, or are you wandering around and looking out for jobs, needs, accidents ect.?

Both! You can get new tasks in different ways. Either by wandering around the floors and do chores, when you see them, ie fix a broken light, maintain the crops, clean up etc. But you can also find technical tasks by logging on to computers, where you can see a list of technical problems on the floor you're on and add them as tasks. Finally you can get tasks by being approached by nearby NPC's and do chores for them. All completed tasks will help maintain a happy NPC work force. An unhappy work force, is not something you want to encounter! Wink

I've slowly begin on the quest manager, mostly on paper so far. I really want the quests/tasks to be more than just repetitive tasks, so I'm trying out different ideas right now. I want the quests to have some kind of impact on the main story... If I can  Well, hello there!

Quote
Regarding elevators: you showed a floor map GIF on twitter recently which reminded me of good old Paradroid (C64)

You're right. Completely borrowed from ParaDroid  Cheesy - Even though I like that overview the dialog gives, I'm still not sure it's gonna be this layout in the end - Mainly because of the blatant ParaDroid ripoff. But I have another layout on my mind, which I need to prototype in a near future.

Logged

sbeast
Level 1
*



View Profile WWW
« Reply #6 on: November 26, 2019, 08:24:46 AM »

Looks like an interesting concept. Will you be needing music for this out of interest?
Logged

Sbeast - Composer / Cover Artist / Guitarist
http://luxbellator.com/portfolio
PetSkull
Level 2
**


View Profile
« Reply #7 on: November 26, 2019, 08:28:39 AM »

At some point I will be needing music yes Smiley

Today I began working on implementing broken doors and door locks. These needs fixing by exhanging faulty circuitry on a print board. Just one of the small puzzles in the game



Still need to actually implement the fixing part - But hey, 50% done already  Grin All print boards, are procedurally generated and will start small and get bigger (and more faulty) by following your experience in this field.
Logged

PetSkull
Level 2
**


View Profile
« Reply #8 on: November 29, 2019, 03:59:45 AM »

Got the rest of the door fixing puzzle finished Smiley


The droid forcing a broken door to open, before fixing it

And I came to the conclusion that the droid should be able to pry a broken door open. This is because I have only placed door locks on the lower side of a wall, and if you come from above, there was no way you could fix the door  Huh?

So now you can force the door open from above and below and fix it. Yeah!
« Last Edit: November 29, 2019, 04:53:43 AM by PetSkull » Logged

sbeast
Level 1
*



View Profile WWW
« Reply #9 on: November 29, 2019, 09:40:43 AM »

At some point I will be needing music yes Smiley

Ok cool. Well I am a composer, and would be interested in collaborating when the time comes Smiley
Logged

Sbeast - Composer / Cover Artist / Guitarist
http://luxbellator.com/portfolio
PetSkull
Level 2
**


View Profile
« Reply #10 on: December 04, 2019, 12:59:24 AM »

First look at the computer consoles. Had fun with a scanline shader Smiley



This will be the place, where our hero droid can get some useful information about the current state of the space station. These computer consoles are placed on each floor.
Logged

KPas
Level 1
*



View Profile
« Reply #11 on: December 05, 2019, 01:33:33 AM »

That will do the job, but I guess the player wants it to respond earlier. Hand Any Key

Just an idea: would it be possible to print out the lines not one after the other, but one every 250 milliseconds for example? So in this specific case the first line would start at 0.0 s, the second one at 0.25 s and the seventh (final one) at 1.75 s.
Logged

PetSkull
Level 2
**


View Profile
« Reply #12 on: December 05, 2019, 02:52:16 AM »

Hi KPas,

I had the same thoughts. I like the effect (even sped it up in my latests build), but I think the player will hate it after a while, so I will probably draw the entire lines at once, speeding the entire proces up a bit Smiley
Logged

PetSkull
Level 2
**


View Profile
« Reply #13 on: December 05, 2019, 09:02:27 AM »

I gave the font rendering a speed boost, and I think it works fast enough, so the play won't get irritated. But again, only testing will tell, right? Wink



I've added the floor plans and begun on the personnel files. You actually need security level 2 to access the files, and I'm still uncertain about, how to gain this level. My initial thought is, that time will grant you higher security levels. But maybe you need to prove somehow, that you're worthy of the higher level...? What do you think?
Logged

KPas
Level 1
*



View Profile
« Reply #14 on: December 06, 2019, 03:40:55 AM »

Output speed looks just right to me.

My initial thought is, that time will grant you higher security levels. But maybe you need to prove somehow, that you're worthy of the higher level...? What do you think?

The player could pick one crew member and do more and more jobs for that person. Finally your reputation would reach a certain level and that crew member would give you access to higher levels. Depending on the crew member the kind of jobs may differ (food, electric, parasites ...).
Logged

PetSkull
Level 2
**


View Profile
« Reply #15 on: December 06, 2019, 03:58:05 AM »

The player could pick one crew member and do more and more jobs for that person. Finally your reputation would reach a certain level and that crew member would give you access to higher levels. Depending on the crew member the kind of jobs may differ (food, electric, parasites ...).

I like that angle Smiley - I will put it on my backlog, and keep it in mind once I get to the more gritty details of the NPC's...
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic