Author Topic: Poke to screen 0 for speed  (Read 14773 times)

0 Members and 1 Guest are viewing this topic.

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Poke to screen 0 for speed
« Reply #45 on: August 15, 2018, 11:39:46 am »
ok understood now.. great work. thank you for your help....
MackyWhite

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Poke to screen 0 for speed
« Reply #46 on: August 15, 2018, 11:45:18 am »
OK so if an arrow key was released (negative number)

Check in a gauntlet that goes from most conditions to least:
(this is all under KH& = -arrow code)
if the BS% then ' spacebar
     do arrow + spacebar was also down, if so do the diamond grabbing
elseif SHFT% then
     do arrow + shift stuff
elseif Ctrl% then
     do arrow + ctrl stuff
else
     do all stuff that wasn't a combo key press
end if

If you want 3 key combo's check that first in the gauntlet of: IF THEN ELSEIF THEN... ELSE ENDIF


Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Poke to screen 0 for speed
« Reply #47 on: August 15, 2018, 12:31:16 pm »
all standard single key stuff replaced, no working on duel key... shift and arrows
MackyWhite

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Poke to screen 0 for speed
« Reply #48 on: August 15, 2018, 12:46:13 pm »
this is cool. now i can pull a rock out of the way. working great thank you.... by the way i have autism spectrum desorder... cannot do maths. so me doing this stuff is pretty cool. :)   ///thats why my code looks old/// learning new things is great.
MackyWhite

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Poke to screen 0 for speed
« Reply #49 on: August 15, 2018, 12:51:34 pm »
hold shift to pull the rock... there are four maps sofar... just pick which one with n$.... i have made a booboo with my data somewhere with print #1, input#1 to read colors and map data for exit to next map which e1$-e4$ are the exit doors to file n$.. chr$(219) will be exit and will flash once diamonds collected. have to work on the m and M sometime. which are going to be monsters
MackyWhite

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Poke to screen 0 for speed
« Reply #50 on: August 15, 2018, 01:02:53 pm »
only simple to get levels started. not serious yet. in test
MackyWhite

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Poke to screen 0 for speed
« Reply #51 on: August 15, 2018, 01:09:20 pm »
screenshot
MackyWhite

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Poke to screen 0 for speed
« Reply #52 on: August 15, 2018, 01:46:16 pm »
Hey PMACKAY,

Shift + left or right arrow works great!

This is nice little game you've got started, I look forward to future updates.

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Poke to screen 0 for speed
« Reply #53 on: August 15, 2018, 02:05:10 pm »
thank you. its is 4am in australia and time for my bed.  thank you for the insight. i am happy with how its going.
MackyWhite

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Poke to screen 0 for speed
« Reply #54 on: August 16, 2018, 02:48:34 am »
zip. lots more to write (code) but this is a good start

This is the First major Download of the file that is sort of stage one complete. it is running correctly so far (will iron out bugs now before next stage which will be changing maps by walking through the doors)

it will be not necessary to collect all diamonds on each map but you cannot complete the entire game if you leave a diamond behind

minus monsters, music and sound and level auto select . read me file will suggest how to change a level. but this is in the first part of coding. so nothing very exciting

the rocks do fall and the diamonds can be collected, score is working but primitive at the moment. map builder is working. but getting excited so will have to create an easy map builder later.
« Last Edit: August 16, 2018, 03:08:14 am by PMACKAY »
MackyWhite

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Poke to screen 0 for speed
« Reply #55 on: August 16, 2018, 07:38:41 am »
****progressing


Linux compiled version included


****       not complete
 ****        CODE IN PROGRESS
  ****
 ****
****
MackyWhite

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Poke to screen 0 for speed
« Reply #56 on: August 17, 2018, 04:19:48 am »
Just curious.. should i have a variable amount of monsters on levels (eg hard level like 2-3 and easy level 0-8) depending of degree of puzzle

was thinking of monsters as a timer will be lost to boredom


    whip to kill monsters     Ctrl to whip (whip to go around man)

     O man normal
    |
  -O-
     |       Whipping monsters
MackyWhite