* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Poll

How should MOS play out?

You're a lone guy, exploring the world. (Fallout-like)
1 (25%)
You're a squad, and you control your whole squad. (X-com like)
2 (50%)
You control every step, also you're a lone guy (Rogue-like)
0 (0%)
Something else: Please write a suggestion in the comments.
1 (25%)

Total Members Voted: 4

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

0 Members and 1 Guest are viewing this topic.

Offline c4ooo

  • Super User
  • CW Contest II Winner
  • *
  • Join Date: Aug 2015
  • Location: 127.0.0.1
  • Posts: 968
  • Post Rating Ratio: +12/-4
  • Advanced forumer
  • Gender: Male
"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 )

Online xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18540
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
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

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline mazhat

  • Full User
  • Join Date: Mar 2017
  • Location:
  • Posts: 143
  • Post Rating Ratio: +6/-0
    • /u/Mazhat
    • Mazhat(?)
    • @Mazhat
    • MOS
  • Gender: Female
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.
  • Calculators owned: TI-83Plus, TI-84Plus
  • Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3

Offline mazhat

  • Full User
  • Join Date: Mar 2017
  • Location:
  • Posts: 143
  • Post Rating Ratio: +6/-0
    • /u/Mazhat
    • Mazhat(?)
    • @Mazhat
    • MOS
  • Gender: Female
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

Online xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18540
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
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

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline mazhat

  • Full User
  • Join Date: Mar 2017
  • Location:
  • Posts: 143
  • Post Rating Ratio: +6/-0
    • /u/Mazhat
    • Mazhat(?)
    • @Mazhat
    • MOS
  • Gender: Female
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

Offline c4ooo

  • Super User
  • CW Contest II Winner
  • *
  • Join Date: Aug 2015
  • Location: 127.0.0.1
  • Posts: 968
  • Post Rating Ratio: +12/-4
  • Advanced forumer
  • Gender: Male
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.

Offline mazhat

  • Full User
  • Join Date: Mar 2017
  • Location:
  • Posts: 143
  • Post Rating Ratio: +6/-0
    • /u/Mazhat
    • Mazhat(?)
    • @Mazhat
    • MOS
  • Gender: Female


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:


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

Offline mazhat

  • Full User
  • Join Date: Mar 2017
  • Location:
  • Posts: 143
  • Post Rating Ratio: +6/-0
    • /u/Mazhat
    • Mazhat(?)
    • @Mazhat
    • MOS
  • Gender: Female
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
-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.
« 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

Offline p4nix

  • Full User
  • Join Date: Jun 2015
  • Location: Germany
  • Posts: 430
  • Post Rating Ratio: +6/-1
  • Don't catch the ball.
    • p4nix
  • Gender: Male
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?
  • Calculators owned: fx9860GII (SH4)

Offline kotu

  • fast hard => french
  • Super User
  • Join Date: Aug 2016
  • Location: UK - facing deportation to Russia - I am French
  • Posts: 1052
  • Post Rating Ratio: +7/-7
  • I want points for being french
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @romanov-psyco
    • futurerave.uk
  • Gender: Male
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 PS3

i am NOT in love with mateoconlechuga

Offline mazhat

  • Full User
  • Join Date: Mar 2017
  • Location:
  • Posts: 143
  • Post Rating Ratio: +6/-0
    • /u/Mazhat
    • Mazhat(?)
    • @Mazhat
    • MOS
  • Gender: Female
@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!
« 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

Offline kotu

  • fast hard => french
  • Super User
  • Join Date: Aug 2016
  • Location: UK - facing deportation to Russia - I am French
  • Posts: 1052
  • Post Rating Ratio: +7/-7
  • I want points for being french
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @romanov-psyco
    • futurerave.uk
  • Gender: Male
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 PS3

i am NOT in love with mateoconlechuga

Offline mazhat

  • Full User
  • Join Date: Mar 2017
  • Location:
  • Posts: 143
  • Post Rating Ratio: +6/-0
    • /u/Mazhat
    • Mazhat(?)
    • @Mazhat
    • MOS
  • Gender: Female
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

Offline mazhat

  • Full User
  • Join Date: Mar 2017
  • Location:
  • Posts: 143
  • Post Rating Ratio: +6/-0
    • /u/Mazhat
    • Mazhat(?)
    • @Mazhat
    • MOS
  • Gender: Female
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

 


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.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games