CodeWalrus

Development => PC, Mac & Vintage Computers => Topic started by: mazhat on March 15, 2017, 02:50:12 PM

Poll
Question: How should MOS play out?
Option 1: You're a lone guy, exploring the world. (Fallout-like) votes: 4
Option 2: You're a squad, and you control your whole squad. (X-com like) votes: 4
Option 3: You control every step, also you're a lone guy (Rogue-like) votes: 0
Option 4: Something else: Please write a suggestion in the comments. votes: 1
Title: MOS: A game that has been in development for 3 years.
Post by: mazhat on March 15, 2017, 02:50:12 PM

I don't work on this game religiously, because I don't want to get burned out :)
The game has gone through a few iterations,
the first engine is way more different than the latest edition.




(https://mos.neocities.org/ss%20(2017-03-15%20at%2010.18.54).jpg)
Above is a screenshot of the graphics. Hope you likey.



The game started as an RPG which was a ripoff of Liberal Crime Squad.
Now it's a rip off of X-COM Apocalypse!

The game so far only has the technical stuff. Like path finding (A Star), Line of sight (As you can see in the picture),
and it even has a level editor, but the editor was made in a day, so you can guess what the quality of it is ;)

Desc:
*The game takes place in a city and you must protect it from damage,
so basically just think of X-COM Apocalypse.
*If I can, I will add dwarf-fortress-like limb detachment and damage!
*The sprites are (hopefully) just place holders, but I have no idea where the art direction is going.

Thanks for viewing, and hopefully this belongs in this section!

p.s. If you have any ideas or questions, then please do share. I'm excited to hear about it.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on March 15, 2017, 04:31:23 PM
Hm I like the art style actually, plus the Atari sprites somehow fits well in the isometric environment. :)

Does MOS stand for something as acronym?
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on March 15, 2017, 04:45:56 PM
Thanks, I like the minimalist art style, but I think for practicality sake, there should be detail.
For example, you can't really tell what weapon the guys are holding.

The art style is inspired by Rebel Star Raiders, a game built on the zxSpectrum (Z80 CPU :) )
And laser squad.

MOS used to stand for something, but I don't recall it.
I'm thinking of Mail Operations and Services. (The guys wear pseudo-mailmen uniforms :^) )
Title: Re: MOS: A game that has been in development for 3 years.
Post by: p4nix on March 15, 2017, 05:17:06 PM
This looks interesting. While I like the art styles which are featured in the game, I don't like the mix of them to be honest. Try to decide for one art style and if you are not a good pixel artist, ask some cool guys here or someone else :p
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on March 15, 2017, 05:24:34 PM
I do like consistency. I have some concepts for transitioning out of the pixel-mix,
but for now I'll keep it because it's easy to change and debug :)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on March 15, 2017, 06:47:31 PM
If you add more details, you could keep the same character art but add extra colors so that they look like they're holding guns and clothed
Title: Re: MOS: A game that has been in development for 3 years.
Post by: p2 on March 15, 2017, 07:06:08 PM
what language is it written in and how do you do the map management like compression of map data? :)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on March 15, 2017, 07:09:47 PM
I've though about it, but since I've only got 1 set of characters, I'll just make remake the old set and create new sets too!

Here's what I've come up with:

(https://mos.neocities.org/megapol1a.png)

Quote from: p2 on March 15, 2017, 07:06:08 PM
what language is it written in and how do you do the map management like compression of map data? :)

It's written in C++, maps are handled in a .MOS file. I actually don't know how to compress data, but I've always been excited to learn.
The map data itself uses strings instead of integers. It's easy to read, but I'm pretty sure it bulks up the file size.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on April 23, 2017, 05:51:45 PM
I used strings before for maps and it does the work well. Njce job on those sprites by the way. :)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on April 24, 2017, 08:41:06 PM
Thanks again DJ

Also Update!
Some people may actually die before MOS is finished,
so I got a side-project which p2 inspired me to do,
it's an RPG like LOZ and it's for the ti-83+ and ti-84+!
If it's not finished it will at the very least be something playable because it's not too complex.
Right now I've got movement, 1 screen worth of level and stabbing (With downtimes)!
The name is MOS: Raiders, going with the MOS-theme.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on May 01, 2017, 04:07:32 PM
Interesting. Don't go overkill with the project size, though. :P That way it's manageable.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on May 01, 2017, 08:09:53 PM
I'm embarrassed to say this so early, but I'm at a halt.
The Axe parser is not very nice, my collisions aren't working!
I know it has to be Axe because I got so angry
that I made a version in sfml/cpp yesterday , and collision works!

I wish I had more Axe had some more code examples than in the documentation,
because some things just don't parse how i'd expect :'^(
This isn't the first time either.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: p2 on May 01, 2017, 08:25:55 PM
there are a few true axe professionals around, I'm sure someone can help you with that problem :)
Don't give up because of such a little setback :)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: c4ooo on May 01, 2017, 08:27:32 PM
Axe expert here; whats your problem? :3
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on May 01, 2017, 09:45:03 PM
Ah yes, you're right, p2! Perseverance all the way!

Note: If this belongs in the help section, I'll be sure to post there instead, so please tell me if that's the case.

As for my problem, my collisions aren't working!

I think the problem is how Axe deals with one of the following:
-"If" conditionals using the "and" logic (this has given me a problem before)
    ->This is how I use them: if (x>(z*8)+8) and (x+8<(z*8)) and (y>z) and (y<3)
-How the arithmetic works (I RTFM, but maybe I missed on something?)

Title: Re: MOS: A game that has been in development for 3 years.
Post by: c4ooo on May 02, 2017, 01:38:14 AM
"And" is the bitwise function, you want to use the shorts circuit '?' Instead:
x>(z*8 )+8?x+8<(z*8 )?y>z?y<3
However, your real problem seems to be that you don't understand Order of operations ;)
Axe does everything left to right, so x>(z*8 )+8 checks to see if x is bigger then z*8, and then adds 8 to that true/false value. You want to rewrite it as z+1*8<x or something. (z+1*8 'should' be more optimized then z*8+8 )
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on May 02, 2017, 05:20:40 PM
Ideally it's a good idea to make separate topics for programming help, for maximum visibility. I can't help, though, since I haven't touched Axe in years and was never successful in doing map-based collision detection with it. I wish you good luck, though. But yeah, as c4ooo said, order of operation is different in Axe compared to BASIC and ICE. In addition to that, you need to be careful with signed/unsigned integers (I think for example that -1 becomes 65535)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on May 03, 2017, 08:38:30 PM
Thanks for the advice, c4ooo

Unfortunetly I know about the arithmetic and it doesn't work one way or another :^(
I even mass used parenthesis to bypass order of operations.

Now I've scrapped the old collision to work on an old school western rpg (wasteland) . It's tilebased movement (like uvutu).

Sorry for the hassel guys, I just can't persevere when I can barely indentify the problem.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on May 05, 2017, 01:47:16 AM
Update: The problem has seemed to sorted itself out, I guess it was my fault after all. I'm sorry Axe, I never meant to hurt you.

Anyway, I now need a good way to store and compress maps!
Also there's no dynamic memory in Axe right? (std::vector equivalent)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on May 05, 2017, 04:33:31 PM
By dynamic memory, do you mean like with pointers? Because Axe supports pointers.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on May 05, 2017, 08:50:42 PM
Not quite, DJ.
In C++ we have a template called std::vector*
It's an array that can grow or shrink! To give you a more hands on example:
Vectors help to spawn and de-spawn enemies and items,
otherwise I have to hard code the enemies into the game.**

Trivial info:
1) *Despite the confusing name, it is not a physics vector. Strange nomenclature!
2) **Unless a sexy smarty pants figured out a way to do this without vectors.
3) Sometimes I write too much stuff, so I made this optional-to-read "Trivial Info" section! I hope you like it, it's in beta!
Title: Re: MOS: A game that has been in development for 3 years.
Post by: c4ooo on May 05, 2017, 11:05:47 PM
Quote from: mazhat on May 05, 2017, 01:47:16 AM
Also there's no dynamic memory in Axe right?
There is no abstraction in axe for dynamic variables. You have plenty of free ram areas though, and if you ever run out, you can use GetCalc("prgmTEMP",size) to allocate your self some more free ram.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on June 26, 2017, 09:00:33 PM
(https://mos.neocities.org/MOSNEWSPRITES1.jpg)
(https://mos.neocities.org/newSpriteShowOff.png)
Here is the updated sprites! It's made in Paint Tool Sai instead of MS Paint.
so what do you think? Do you like the legacy sprites or the updated ones?
I'd love some feedback.

For reference, here is the old sprites:
(https://mos.neocities.org/legacySprites.png)

Updates (Downgrades) on MOS:
-Removed multi-floored gameplay. (Now there is only one plane of combat)
-Removed Squads-Vector (You're one character instead of a squad)
-Enemy AI FOV will be an angular (degree) based FOV. Instead of arithmetic/math based.
-New/Updated Sprites.

Next up:
-Update the engine(?)
-EnemyBehavior.h
-Items on the ground
-Speech/Text/Cutscenes


P.S. Also, don't worry. I'm still working on the Liberal Crime Squad port for TI-83+!
:^)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on July 05, 2017, 03:17:13 AM
Long awaited tile update (not overhaul)

It's very convenient to keep the tiles in the style they're in now.

(https://mos.neocities.org/tileUpdateSummer2017.png)

Tile descriptions (In order of appearance):
-Wall Destruction
-Farmland -> Wheat, Dirt, Fence
-A blue road

I need these tiles before I create the procedural map generator.
The MOS level editor is okay, but I'd rather play some mystery maps.
First generated level theme: Cross Of Iron.

When I finish the level generator, I'll make a video.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: p4nix on July 05, 2017, 09:17:39 PM
Wow, those tiles look pretty nice. I am looking forward to seeing all of them together in action  :thumbsup:
But aren't you still missing a connector for the wooden fences?
Title: Re: MOS: A game that has been in development for 3 years.
Post by: kotu on July 05, 2017, 09:23:06 PM
Quote from: mazhat on May 05, 2017, 08:50:42 PM
Not quite, DJ.
In C++ we have a template called std::vector*
It's an array that can grow or shrink! To give you a more hands on example:
Vectors help to spawn and de-spawn enemies and items,
otherwise I have to hard code the enemies into the game.**

Trivial info:
1) *Despite the confusing name, it is not a physics vector. Strange nomenclature!
2) **Unless a sexy smarty pants figured out a way to do this without vectors.
3) Sometimes I write too much stuff, so I made this optional-to-read "Trivial Info" section! I hope you like it, it's in beta!

The game looks great, however, you might want to use std::list instead std::vector in some instances, because...
  - list is optimised for object insertion/deletion, whereas
  - vector is optimised for indexed access - inserts/deletes can only be made on the end.

Hope this info is of use  :)

*EDIT
sorry, didn't realise this was an axe game. i guess that list won't be so much use after all, lol
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on July 05, 2017, 10:45:12 PM
@p4nix  Thanks, they're very fast to make and I need them for my procedural level generator!
I hate my level editor because I have some biases when I make maps, and also it's not fun for me
to play maps that I've made.

I'm a lazy boy, my friends laugh at my lazy philosophy.
e.g. There's only one side to the fence and they absolutely hate that, haha.
I'll get around to it either eventually or never, lol.
Don't stop with the criticism though, I need to keep myself in check   :blah:

@kotu
Even though I was talking about AXE, I made a generalisation.
Your recommendation is helpful, and I'll study and consider using std::list :),
(Also I might have made a mistake, vectors may not actually be part of std. It's been a while)
So far vectors work fine, but I'll be glad to get rid of them altogether.

General update for everyone:
I've started on the basics of the level generator.
It uses "partial" maps that I create and then jumble them together randomly into one big map.
Later I sprinkle things like explosion craters, items and stuff.
More sprites like tables and floor tiles are being made as I'm writing this!
Title: Re: MOS: A game that has been in development for 3 years.
Post by: kotu on July 05, 2017, 10:56:01 PM
I voted 'something else' in your poll. I think you should make those decisions and make the game to your liking. Also, you could mix styles up (some parts could be you controlling a guy, and other parts your could control a squad). By making these decisions yourself the game will be more fun to make. :)

Btw. yes vectors still are a part of the STL. There's no need to stop using them, most often when you use a container template you will probably want to use a vector. But the other template classes work differently, that's all.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on July 08, 2017, 05:19:01 PM
I like both, I could care just a tiny little bit less about it.

They'll both have squads, it's just that in the Fallout-style, you get your friends by exploring,
and not immediately.

Also yeah! They're a template, thanks, yo.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on July 09, 2017, 02:49:11 AM
Getting pretty excited, my map generator works.
The only problem is that I only have three "map sectors" to work with.
So far the three are "fence with escape points", "Fenced in FOREVER!" and "Barn House".

If you guys would like to feature your map "sector" I'll be glad to add it! The generator is super easy to implement new ones.
Otherwise let me handle the game, and we'll be good.
>Pretending to "let" people add sectors instead of begging and telling them I'm desperate.

In the picture you can see one "sector".
I haven't programmed some LOS stuff for the other sectors.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on July 10, 2017, 07:16:00 PM
https://www.youtube.com/watch?v=da9r5-cyjBk
Title: Re: MOS: A game that has been in development for 3 years.
Post by: xMarminq_ on July 10, 2017, 07:29:09 PM
Nice vid. Will it have arrow controls or point and click?  ???

If you plan to have point/click Fighting could pose hard to implement   
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on July 10, 2017, 08:31:07 PM
When I made the path finding for MOS it was very rudimentary. For vehicles, arrow controls will only be allowed :^( sorry.
Movement for the little guys will be point and clicked based, but there's a few problems with hitting a tile.
I don't think it's too bad, but I imagine it'd be annoying for other players.


Is there a problem with combat that I'm not seeing? I don't think it'd be too hard.

P.S./Edit You can look and walk in buildings now.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: xMarminq_ on July 10, 2017, 09:06:37 PM
What kind of enemies do you ave planned?
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on July 10, 2017, 09:26:23 PM
For the most part just static turrets and infantry men with a behaviour tree.
They attack and defend, and counter attack.
They can also carry different equipment according to "role" and rank.
They run away and follow the highest ranked person.

You can also be shoo'd away from other forces on the same side as you
, they might even rob you, but that's less combative and more mechanical.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: xMarminq_ on July 10, 2017, 10:10:09 PM
Because point-and-click may make these enemies easy to defeat.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on July 11, 2017, 12:24:45 AM
Mind giving a scenario?
Pathfinding is definitely a problem, but I let it slide.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: c4ooo on July 11, 2017, 12:35:29 AM
i think point and click is more strategy-y and controlling stuff with arrow keys is more action-y.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on July 11, 2017, 12:40:25 AM
+1
MOS is an X-COM-like strategy game,
so of-course it steals their point and click format.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on September 02, 2017, 05:31:49 PM
Sorry for not posting for majority of the summer.
Here's an update:

You now have a squad of four guys and you can kill them if you want.
Weapons and bodies spawn onto the floor.
It's a blast.

I added an inventory and stuff too.

https://gamejolt.com/games/MOS/281113

https://www.youtube.com/watch?v=x7CQh44Yc7s

https://www.youtube.com/watch?v=da9r5-cyjBk

Title: Re: MOS: A game that has been in development for 3 years.
Post by: 123outerme on December 03, 2017, 07:30:36 PM
As for the way gameplay works, from the poll, I think there should be a squad system, but entirely optional. You don't have to recruit anyone and technically you could beat the game/do well/whatever without any partners, but for people who like squads, that's there.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on December 06, 2017, 10:19:30 PM
I'm late but this looks cool :D. I personally prefer games where I only control one character but it depends how difficult it is otherwise. (eg Starcraft-like is very complicated)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: c4ooo on December 06, 2017, 11:53:55 PM
Quote from: mazhat on March 15, 2017, 02:50:12 PM
the first engine is way more different than the latest edition.
Some older screenshots showing progress of the engine would be cool :)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on December 10, 2017, 07:15:52 PM
Yes, according to the poll the game will be balanced for squads.

Don't worry about the complexity. This game isn't meant to be brutal like X-COM or Fallout.

Old engine screenshots down below!

New stuff that was added:
-You can look around properly (Thanks to trigonometry)
-There's 2 weapons: Rifle and the Rocket Launcher (attachment below)
-Multiple enemy pseudo AI added (including a generic-gunman functionality)

(https://mos.neocities.org/art/ExplosivesDemo.gif)
Above: Explosives demo

(https://mos.neocities.org/art/turningAroundDemo.gif)
Above: Looking around with the mouse

Also I don't know how I made such a big mistake, but MOS was definitely not in-dev for 3 years. At most it's 2.5y as of today. The planning phase might have gotten that far though.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Strontium on December 10, 2017, 08:29:14 PM
This game looks pretty spicy - I don't know how I missed this thread when it was posted in March. I look forward to playing it when it's complete :)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on December 11, 2017, 01:43:18 AM
Thank you, Strontium.
It's nice to hear that you like what you see so far :)
Very motivational.

Now I feeling like giving out a small demo of the game!


p.s. If there is any artists out there that would like to help with tile and character art that would be awesome.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on December 30, 2017, 09:20:32 PM
[Removed]
Title: Re: MOS: A game that has been in development for 3 years.
Post by: xMarminq_ on December 31, 2017, 02:47:57 AM
How do you start it?
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on December 31, 2017, 03:10:45 AM
Whoops.
Use the file "isometric_tilemap.exe".

Title: Re: MOS: Mega-city One Security(?)
Post by: mazhat on November 28, 2019, 04:11:43 PM
I've still been working on this game every now and then.
I built a new engine, and it looks much prettier and stuff.
I thought you guys might like this!

(https://mos.neocities.org/art/ApocalypseSand1.gif)
(https://mos.neocities.org/art/pingpingping.gif)
(https://mos.neocities.org/art/movement.gif)

As for the destruction, this is kinda what I'm looking for:
https://www.youtube.com/watch?v=GWvmbFeHX1g

The algorithm for detecting when a structure should fall, and getting the buildings to do the "cascade" effect is very strange,
but also super efficient! I could make a tutorial in the future.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on November 29, 2019, 07:51:49 PM
I like that isometric style and how stuff gets destroyed :O
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on November 30, 2019, 12:48:00 AM
Thank you!! :OOO
I just really love X-COM Apocalypse, so I made my game isometric,
also I made the rendering algorithm SUPER efficient, so now destruction can be HUGE!!

Edit: Why cannot upload images anymore? :(
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on November 30, 2019, 06:47:47 PM
I'll check image uploads later. It's possible that uploads broke but I'm unsure why for now (here are the current settings. Maybe @Juju could check server settings to see if something is blocking attachment uploads?)
(https://i.imgur.com/o5Lzmid.png)
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on December 04, 2019, 06:19:53 PM
(https://mos.neocities.org/art/Ouch!!1.gif)

I am trying to think of ways to program the "AI" for my game, but
it's kind of tricky. I don't really care if it's realistic, I
just want it to be interesting and fun.


I also want the AI to be somewhat dynamic,
and not just following a hardcoded path.



The only attachment type I am allowed to post is ".", and I'm not quite sure what that means,
but images don't work, and nor do gifs :(

Title: Re: MOS
Post by: mazhat on December 05, 2019, 07:22:37 PM
(https://mos.neocities.org/art/destroyBuilding3.gif)
(https://mos.neocities.org/art/destroyBuilding4.gif)

It's getting pretty interesting.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on December 07, 2019, 10:48:01 PM
Wow that's pretty insane O.O
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on December 15, 2019, 03:21:12 PM
(https://mos.neocities.org/art/annhilator1.gif)
(https://mos.neocities.org/art/outline2.gif)
(https://mos.neocities.org/art/outline3.gif)


--------------------------------------------------------
Lots of stuff from my just-named program called "Foxel", a voxel renderer.
I'm going to use it to help me make harder things like buildings and vehicles.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: Dream of Omnimaga on December 17, 2019, 08:22:39 PM
Woah that looks awesome! Could this be used to create a 3D sequel or something?
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on December 18, 2019, 07:10:51 AM
Probably not, simply because the method for rendering is very inefficient.
I calculate every voxel's screen position and I use the painter's algorithm in particular.
I would love to make a true 3D sequel one day, but I am just focused on this for now.
Title: Re: MOS: A game that has been in development for 3 years.
Post by: c4ooo on December 19, 2019, 08:31:13 PM
This actually looks like it has a lot of potential!
If you invest some time onto it, I don't think it will be hard to switch tho backend to render using openGL, or at least optimize your software renderer (transvoxel maybe?). Keep up the good work!
Title: Re: MOS: A game that has been in development for 3 years.
Post by: mazhat on December 20, 2019, 04:20:01 PM
Thank you!
The OpenGL idea sounds very good.
I haven't learned OpenGL because it looks kinda scary with all the vertex buffers and stuff,
but once I get the time I'm going to figure it out properly.