Resource centre for ZX Spectrum games
using Manic Miner and Jet Set Willy game engines
Archive of the
Manic Miner & Jet Set Willy Yahoo! Group
messages
|
|
||
|
|
Message: 3384
Author: scottigeuk
Date: 26/02/2003
Subject: Re: Is Scottige about?
Right, lengthy reply time :)
Easy method used in willy christmas 2 !!!!!
The game is 1 big play area.
All the rooms are drawn side by side and I use the command if willy
is so many pixels close to the border then you just set screenx to
screen x + whatever ( 256 in mine ) and the screen flips !
Also add say 50 to willy x to ajust him and bring him into the
screen.
When you use the one big play area technique the object and switch
problems evaporate.
The source code would work in the mmf demo if you were interested.
Then you could have a look and do the same in tgf.
The next method is a whole lot more complicated.
You DO use single screens.
You need to make good use of the GLOBAL values 1-16.
1 for willy x co-ord
1 for willy y co-ord
1 for willys jumping
1 for willys direction
1 for willys falling distance
You see, I don't use the in built platform engine.
I have set up a custom control method for willy and that is the
basis of my engine.
Before I give a long winded approach, do you use the in built
platform movement ? :):)
I'll try and knock up a similar control method in tgf if you don't.
