### Poll

#### How should MOS play out?

You're a lone guy, exploring the world. (Fallout-like)
3 (37.5%)
4 (50%)
You control every step, also you're a lone guy (Rogue-like)
0 (0%)
1 (12.5%)

Total Members Voted: 8

### Author Topic: MOS: A game that has been in development for 3 years.  (Read 5174 times)

0 Members and 1 Guest are viewing this topic.

#### c4ooo

• Pedanticity prevents ambiguity
• Super User
• CW Contest II Winner
• Join Date: Aug 2015
• Location: 127.0.0.1
• Posts: 1031
• Post Rating Ratio: +13/-4
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #15 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 )

#### xlibman

• Omni founder & CW co-founder
• CodeWalrus Staff
• Super User
• Forum Maintenance
• Original 5
• CodeWalrus Supporter
• Join Date: Nov 2014
• Posts: 18985
• Post Rating Ratio: +100/-5
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #16 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)
• Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
• Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

#### mazhat

• Full User
• Join Date: Mar 2017
• Location:
• Posts: 176
• Post Rating Ratio: +7/-0
• Edelweiss. Edelweiss.
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #17 on: May 03, 2017, 08:38:30 pm »

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.
• Calculators owned: TI-83Plus, TI-84Plus
• Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3
The Mogami River.

#### mazhat

• Full User
• Join Date: Mar 2017
• Location:
• Posts: 176
• Post Rating Ratio: +7/-0
• Edelweiss. Edelweiss.
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #18 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)
• Calculators owned: TI-83Plus, TI-84Plus
• Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3
The Mogami River.

#### xlibman

• Omni founder & CW co-founder
• CodeWalrus Staff
• Super User
• Forum Maintenance
• Original 5
• CodeWalrus Supporter
• Join Date: Nov 2014
• Posts: 18985
• Post Rating Ratio: +100/-5
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #19 on: May 05, 2017, 04:33:31 pm »
By dynamic memory, do you mean like with pointers? Because Axe supports pointers.
• Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
• Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

#### mazhat

• Full User
• Join Date: Mar 2017
• Location:
• Posts: 176
• Post Rating Ratio: +7/-0
• Edelweiss. Edelweiss.
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #20 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!
• Calculators owned: TI-83Plus, TI-84Plus
• Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3
The Mogami River.

#### c4ooo

• Pedanticity prevents ambiguity
• Super User
• CW Contest II Winner
• Join Date: Aug 2015
• Location: 127.0.0.1
• Posts: 1031
• Post Rating Ratio: +13/-4
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #21 on: May 05, 2017, 11:05:47 pm »
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.

#### mazhat

• Full User
• Join Date: Mar 2017
• Location:
• Posts: 176
• Post Rating Ratio: +7/-0
• Edelweiss. Edelweiss.
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #22 on: June 26, 2017, 09:00:33 pm »

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:

-Removed multi-floored gameplay. (Now there is only one plane of combat)
-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+!
:^)
• Calculators owned: TI-83Plus, TI-84Plus
• Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3
The Mogami River.

#### mazhat

• Full User
• Join Date: Mar 2017
• Location:
• Posts: 176
• Post Rating Ratio: +7/-0
• Edelweiss. Edelweiss.
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #23 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.

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

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.
« Last Edit: July 05, 2017, 03:19:56 am by mazhat »
• Calculators owned: TI-83Plus, TI-84Plus
• Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3
The Mogami River.

#### p4nix

• Full User
• Join Date: Jun 2015
• Location: Germany
• Posts: 430
• Post Rating Ratio: +6/-1
• Don't catch the ball.
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #24 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
But aren't you still missing a connector for the wooden fences?
• Calculators owned: fx9860GII (SH4)

#### kotu

• -< \'V/,,,
• Super User
• Join Date: Aug 2016
• Location: don't panic
• Posts: 1160
• Post Rating Ratio: +8/-11
• woah
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #25 on: July 05, 2017, 09:23:06 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
« Last Edit: July 05, 2017, 09:31:28 pm by kotu »
• Calculators owned: TI 84+CE-T
• Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

#### mazhat

• Full User
• Join Date: Mar 2017
• Location:
• Posts: 176
• Post Rating Ratio: +7/-0
• Edelweiss. Edelweiss.
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #26 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

@kotu
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!
« Last Edit: July 06, 2017, 02:03:54 am by mazhat »
• Calculators owned: TI-83Plus, TI-84Plus
• Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3
The Mogami River.

#### kotu

• -< \'V/,,,
• Super User
• Join Date: Aug 2016
• Location: don't panic
• Posts: 1160
• Post Rating Ratio: +8/-11
• woah
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #27 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.
• Calculators owned: TI 84+CE-T
• Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

#### mazhat

• Full User
• Join Date: Mar 2017
• Location:
• Posts: 176
• Post Rating Ratio: +7/-0
• Edelweiss. Edelweiss.
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #28 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.
• Calculators owned: TI-83Plus, TI-84Plus
• Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3
The Mogami River.

#### mazhat

• Full User
• Join Date: Mar 2017
• Location:
• Posts: 176
• Post Rating Ratio: +7/-0
• Edelweiss. Edelweiss.
• Gender:
##### Re: MOS: A game that has been in development for 3 years.
« Reply #29 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.
« Last Edit: July 09, 2017, 02:51:23 am by mazhat »
• Calculators owned: TI-83Plus, TI-84Plus
• Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3
The Mogami River.

You can also use the following HTML or bulletin board code to share it on your page or forum signature!

Also do not forget to check our affiliates below.