some maps need you to push a block onto the pad then onto the next pad..you will need the extra time in later levels as i will give less time to increase difficulty.. I will adjust timing to suit each map.. (another dim statement)
Time Bonus Block is + 5 seconds(time increments to a positive +5)
timing is printed to screen using _printstring (x,y),string$(length\4,"block") -- no loop to draw it (which is screen is 30 chars wide / 4) 7.5 long / into 60 secs
I used timer(T1) to count so I set and forget.. the main loop only checks TI if zero outs.. Pretty simple
Title screen uses left$ and right$ to scroll text, I hold everything once printed on a timer then _display to update screen.. right$ replaces left$ by one block (eg scrolling no matter how long and looped)
title is in a
do read inkey$
loop
the rest is on timer and sound loop.. so i only have to read the inkey$ and do nothing.. so title is speed adjusted with timer(t0) and timer (t1)
My games use a dim screenmem%(to hold all screen activity) so in a loop i adjust all the data in my screenmem%(x,y), then i use a simple
loop to display it.. "for i=1 to width:for j=1 to depth:_printstring(x,y),chr$(screenmem%):next : next then when complete just a _display
* before the print you can check the character and choose colours according.. then print
I do all character and animations before the display loops. then everything can be animated (scrolling, block updates, animation) no sprites or special graphics needed
as I use the character rom and redefine it.. Gives me the feel of old school graphics and looks cool for ascII.. so animation is fast and easy.. (screen mode 0)
fixed the cheating issue also (its just another four lines of code).. I was aware of it but had not fixed it yet.. (thanks TempodiBasic) :) all it needs to do is check if inplace and inplace then dont move onto next square (eg.tile move invalid)
*** The update has More code added and cheating removed / fixed Code.. I have re-compressed the entire code, with audio and data as some maps now have bonus time added.. just download and recompile....)