Ralph Versteegen | 1 Mar 2008 15:55
Picon

Re: Freeform wallmapping

On Fri, Feb 29, 2008 at 8:10 AM, Adam Perry <arperry <at> gmail.com> wrote:
> On Wed, Feb 27, 2008 at 4:54 AM, Ralph Versteegen <teeemcee <at> gmail.com> wrote:
>  > On Wed, Feb 27, 2008 at 7:29 AM, James Paige <Bob <at> hamsterrepublic.com> wrote:
>  >  > On Tue, Feb 26, 2008 at 10:08:55AM -0800, Adam Perry wrote:
>  >  >  > Good morning! (If you're on the US west coast, anyway)
>  >  >  >
>  >  >  > I'm developing a schema for freeform wallmapping for a game with
>  >  >  > pixel-based movement and I thought it'd be best to fish for a little
>  >  >  > more input before making a decision. The basic parameters I'm looking
>  >  >  > for include the ability to make walls of any shape, including gradual
>  >  >  > slopes and other strange and interesting shapes. The area will be
>  >  >  > limited to a single screen, so there's no need to develop a generally
>  >  >  > applicable solution if a more limited one would work.
>  >
>  >  This sounds suspiciously like pinball!
>
>  Hmm, it's not, but now that you mention it, that would be awesome too...
>
Ah, I thought I had you for sure.

>
>  >  There would be another benefit to using map layers (NPCs too, I
>  >  suppose): you could potential edit the wallmap more easily, visually.
>  >  Or at least, you could if only we support different tilesets per layer
>  >  (to see exactly what you're doing in the editor). But you might have
>  >  give up two layers and the wallmap to get just 24 bits. At least, I
>  >  think you can access hidden layers with plotscript commands.
>
>
> >  >  > Bits 0-2: Top Y-position at X=0
(Continue reading)

Adam Perry | 1 Mar 2008 20:28
Picon
Gravatar

Re: Freeform wallmapping

On Sat, Mar 1, 2008 at 6:55 AM, Ralph Versteegen <teeemcee <at> gmail.com> wrote:
> On Fri, Feb 29, 2008 at 8:10 AM, Adam Perry <arperry <at> gmail.com> wrote:
>  > >  >  > Bits 0-2: Top Y-position at X=0
>  >  >  Measured in 8ths or 5ths or something else of a tile?
>  >
>  >  Yeah.
>  >
>  >
>  >  > >  > Bits 3-7: Top Y-position at X=10
>  >  >  And is this in pixels?
>  >
>  >  No, it's the same thing.
>
>  Oh right, 32nds of a tile. You're losing me here.
>

No, no, it's just that I couldn't count.

>  (I wish we could have expanded the number of globals a year or two
>  ago, but the SAV format doesn't have room. It's way overdue for
>  replacement.)

This would solve so many problems.
James Paige | 2 Mar 2008 03:06
Favicon

Re: Freeform wallmapping

On Sun, Mar 02, 2008 at 03:55:11AM +1300, Ralph Versteegen wrote:
> (I wish we could have expanded the number of globals a year or two
> ago, but the SAV format doesn't have room. It's way overdue for
> replacement.)
> 

Although the current SAV format is ugly and klunky, there IS some free 
space left in it. I'll have the global variable limit increased to 4096 
in time for tonight's nightly build.

Can I trust someone to test it out vigorously? :)

---
James Paige
subversion | 2 Mar 2008 03:14
Favicon

SVN: james/1968 4096 global variables, ID numbers 0-4095.

james
2008-03-01 18:14:41 -0800 (Sat, 01 Mar 2008)
185
4096 global variables, ID numbers 0-4095.
The only place these aren't supported yet is in the importglobals
and exportglobals commands (those are coming soon, but need some extra work)
---
U   wip/game.bas
U   wip/hspeak.exw
U   wip/moresubs.bas
U   wip/whatsnew.txt
U   wip/yetmore.bas
subversion | 2 Mar 2008 05:03
Favicon

SVN: teeemcee/1969 Add paletted blitting to drawohr (6ish times faster than then sprite_dra

teeemcee
2008-03-01 20:03:40 -0800 (Sat, 01 Mar 2008)
223
Add paletted blitting to drawohr (6ish times faster than then sprite_draw version), and make sprite_draw
call drawohr for everything except scaled blitting. We now have everything we shouldn't be doing
contained in drawohr.
---
U   wip/allmodex.bas
U   wip/allmodex.bi
subversion | 2 Mar 2008 08:00
Favicon

SVN: teeemcee/1970 Speed up npcatpixel and npcatspot. OK, NOW I can longer see any lags whe

teeemcee
2008-03-01 23:00:05 -0800 (Sat, 01 Mar 2008)
92
Speed up npcatpixel and npcatspot. OK, NOW I can longer see any lags when playing pliptamer!
---
U   wip/yetmore.bas
James Paige | 2 Mar 2008 08:21
Favicon

Re: SVN: teeemcee/1970 Speed up npcatpixel and npcatspot. OK, NOW I can longer see any lags whe

On Sat, Mar 01, 2008 at 11:00:05PM -0800, subversion <at> HamsterRepublic.com wrote:
> teeemcee
> 2008-03-01 23:00:05 -0800 (Sat, 01 Mar 2008)
> 92
> Speed up npcatpixel and npcatspot. OK, NOW I can longer see any lags when playing pliptamer!
> ---
> U   wip/yetmore.bas

That is awesome! I can notice the difference too.

---
James
subversion | 2 Mar 2008 08:33
Favicon

SVN: james/1971 Plip Tamer now has a simple menu.

james
2008-03-01 23:33:11 -0800 (Sat, 01 Mar 2008)
89
Plip Tamer now has a simple menu.
Resetting the game still doesn't reset floating scores
---
U   games/pliptamer/Color-Match.hss
U   games/pliptamer/Plip-Tamer.rpgdir/attack.bin
U   games/pliptamer/Plip-Tamer.rpgdir/binsize.bin
U   games/pliptamer/Plip-Tamer.rpgdir/fixbits.bin
U   games/pliptamer/Plip-Tamer.rpgdir/lookup1.bin
A   games/pliptamer/Plip-Tamer.rpgdir/menuitem.bin
A   games/pliptamer/Plip-Tamer.rpgdir/menus.bin
U   games/pliptamer/Plip-Tamer.rpgdir/ohrrpgce.d00
U   games/pliptamer/Plip-Tamer.rpgdir/ohrrpgce.dt0
U   games/pliptamer/Plip-Tamer.rpgdir/ohrrpgce.gen
U   games/pliptamer/Plip-Tamer.rpgdir/ohrrpgce.hsp
U   games/pliptamer/Plip-Tamer.rpgdir/ohrrpgce.map
U   games/pliptamer/Plip-Tamer.rpgdir/ohrrpgce.stt
U   games/pliptamer/Plip-Tamer.rpgdir/plotscr.lst
A   games/pliptamer/Plip-Tamer.rpgdir/uicolors.bin
Ralph Versteegen | 2 Mar 2008 08:58
Picon

Re: Freeform wallmapping

On Sun, Mar 2, 2008 at 3:06 PM, James Paige <Bob <at> hamsterrepublic.com> wrote:
> On Sun, Mar 02, 2008 at 03:55:11AM +1300, Ralph Versteegen wrote:
>  > (I wish we could have expanded the number of globals a year or two
>  > ago, but the SAV format doesn't have room. It's way overdue for
>  > replacement.)
>  >
>
>  Although the current SAV format is ugly and klunky, there IS some free
>  space left in it. I'll have the global variable limit increased to 4096
>  in time for tonight's nightly build.
>
>  Can I trust someone to test it out vigorously? :)
>
>  ---
>  James Paige

Well how about that :o I thought it had been used up on something
since then, but apparently not. But, great news!

Pheoret used 5000 globals by swapping to and from saved games. There
was a lot of wastage to simplify organisation, though. When we get
arrays, we can REALLY call the issue dead. (And looking through the
scripts, I'm really not looking forward to ever resuming it :/)
Ralph Versteegen | 2 Mar 2008 09:07
Picon

Re: SVN: teeemcee/1970 Speed up npcatpixel and npcatspot. OK, NOW I can longer see any lags whe

On Sun, Mar 2, 2008 at 8:21 PM, James Paige <Bob <at> hamsterrepublic.com> wrote:
> On Sat, Mar 01, 2008 at 11:00:05PM -0800, subversion <at> HamsterRepublic.com wrote:
>  > teeemcee
>  > 2008-03-01 23:00:05 -0800 (Sat, 01 Mar 2008)
>  > 92
>  > Speed up npcatpixel and npcatspot. OK, NOW I can longer see any lags when playing pliptamer!
>  > ---
>  > U   wip/yetmore.bas
>
>  That is awesome! I can notice the difference too.
>
>  ---
>  James

Lags in plip-tamer have been bothering me for a long time. It seems to
calls npcatspot up to a thousand times every time you do a swap, but
that's OK now.

Gmane