Author Topic: S.A.D.: Positions available for Computer Programmers  (Read 31659 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: S.A.D.: Positions available for Computer Programmers
« Reply #30 on: January 22, 2010, 01:06:04 am »
Well, Eeems is doing the on calc one, but I think someone else hopes to do the computer-based one
« Last Edit: January 22, 2010, 01:06:15 am by Hot_Dog »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: S.A.D.: Positions available for Computer Programmers
« Reply #31 on: January 22, 2010, 01:11:27 am »
Oh yeah right, the comp one x.x.

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: S.A.D.: Positions available for Computer Programmers
« Reply #32 on: January 23, 2010, 12:29:21 am »
Umm, Hot Dog, I might be able to, but could more specifics about how you want the map editor be possible first?
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: S.A.D.: Positions available for Computer Programmers
« Reply #33 on: January 23, 2010, 12:51:52 am »
Quote
Umm, Hot Dog, I might be able to, but could more specifics about how you want the map editor be possible first?

Certainly...I'll give you full details tomorrow.  I just wanted to run that question by you first.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: S.A.D.: Positions available for Computer Programmers
« Reply #34 on: January 23, 2010, 09:04:57 pm »
-----------------------------------------------------------------------------------------------------------------------

The map editor allows one to create maps, map packs, tilesets and tilepacks.  A user compiles these into application variables for S.A.D.  I will give you the S.A.D. appvar file formats as soon as I can, but here's some information for you to start writing the program.  As always, feel free to ask questions, especially on irc if you can

Tilesets
------------
-A tileset can have up to 256 tiles.  Assume temporaily that tiles are 8x8, but be prepared for 16x16.
-The map editor assumes that the actual graphics for the tile set have been created as a bitmap.
-To create a tileset, one opens a tileset designer from the map editor.
-The first step is to give a name for the tileset, up to 8 characters.  The user also selects the bitmap with all the tiles designed on it.
-After the user selects the bitmap and names the tileset, the designer scrolls through each tile in the bitmap, one by one.  The user can either mark it as a standard tile, a tile with collision, or a tile containing a form of belthium crystals (full deposit, 1/4, halfway-mined, and 3/4)
-The tileset is then saved in two formats.  One is for the map-editor to use, the other is for S.A.D. to use.  You can decide how you want to save tilesets in map-editor format, but I would suggest that all you need is the name of the tileset and the bitmap location on the computer.

Tilepacks
-------------

Tilepacks are collections of tilesets.  The map editor can create tilepacks for S.A.D., but it doesn't use them.  Basically, if the user wants to compile a tilepack, a dialog opens allowing a user to select as many tilesets to compile together as the person wants.  As the user adds more and more, the program will display how many bytes of calculator space the tilepack will take

Maps/Map Editor
---------------
-An S.A.D. map can hold up to 10000 tiles.  That means that the height * width cannot be bigger than 10000.
-A tileset is chosen for the map by the user as the map is set up.  Once a tileset is chosen, it cannot be changed for the particular map, and only one tileset can be used.  When the map designer is loaded in the GUI, the tileset (as a bitmap) is loaded in a seperate window, allowing a user to choose tiles to paint.
-Grids can be turned on or off.
-There should be a button to allow a person to place starting locations.
-Maps can be saved, loaded, etc.  They can also be compiled to S.A.D. format when ready.

Map Packs
----------------
Collections of maps.  These are created the same way as Tilepacks are, and once again, can only be made, not used, by the map editor

« Last Edit: January 25, 2010, 01:44:18 am by Hot_Dog »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: S.A.D.: Positions available for Computer Programmers
« Reply #35 on: January 23, 2010, 10:42:53 pm »
How big a SAD map with 10000 tiles would be in memory?

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: S.A.D.: Positions available for Computer Programmers
« Reply #36 on: January 23, 2010, 10:53:43 pm »
Quote
How big a SAD map with 10000 tiles would be in memory?

Slightly less than 10 KB.  I forgot to mention that S.A.D. is going to require user ram (another reason we made smaller sprites).  It would have been nice if we could have avoided that, but then most people proably will find it worth it.

The map Orita Five takes 3456 tiles, so I doubt that many people will be using all 10000 tiles allowed, that would be a VERY big map.
« Last Edit: January 23, 2010, 11:00:07 pm by Hot_Dog »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: S.A.D.: Positions available for Computer Programmers
« Reply #37 on: January 24, 2010, 12:45:32 am »
I assume maps will get archived on exit, right?

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: S.A.D.: Positions available for Computer Programmers
« Reply #38 on: January 24, 2010, 01:02:08 am »
Quote
I assume maps will get archived on exit, right?

Good question.  Actually, maps stayed archived the whole time, and are never unarchived.  They just get copied to RAM, and then the ram with the map is cleared when the player returns to the main menu.  This also applies to tilesets.
« Last Edit: January 24, 2010, 01:05:21 am by Hot_Dog »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: S.A.D.: Positions available for Computer Programmers
« Reply #39 on: January 24, 2010, 01:04:56 am »
Oh yeah better like this, didn't thought about that x.x. Less garbage collection too

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: S.A.D.: Positions available for Computer Programmers
« Reply #40 on: January 24, 2010, 10:53:58 am »
Is it possible to have an option that would show up on calcs with xRam to "Use Ram or xRam"?
« Last Edit: January 24, 2010, 10:54:12 am by ztrumpet »

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: S.A.D.: Positions available for Computer Programmers
« Reply #41 on: January 24, 2010, 11:45:04 am »
Why not use 12x12 tiles? I think this is the optimal solution...

EDIT: If you want, I can do some calc sprite graphics...
« Last Edit: January 24, 2010, 11:47:49 am by Silver Shadow »
Former Coder of Tomorrow


Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Re: S.A.D.: Positions available for Computer Programmers
« Reply #42 on: January 24, 2010, 12:34:28 pm »
12x12 is harder than 8x8 or 16x16 in asm.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: S.A.D.: Positions available for Computer Programmers
« Reply #43 on: January 24, 2010, 12:35:51 pm »
Which is because of the way the calc screen I set up
/e

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: S.A.D.: Positions available for Computer Programmers
« Reply #44 on: January 24, 2010, 01:17:11 pm »
@ztrumpet: If the extra ram can be used in this circumstance, that's not a bad idea. I'll get back to you on that :D

@Silver Shadow  Do you have any samples of what you've worked on?