QB64.org Forum

Active Forums => Programs => Topic started by: PMACKAY on August 21, 2018, 02:26:25 am

Title: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 21, 2018, 02:26:25 am
Not Complete...... Still being coded...... Just Curious what people think. Wanted to stick with old vintage AscII
Ascii Puzzle sort of Game with monsters, Diamonds, Rocks
still to come!!!these are my ideas and i am going to put them to work

*** closing in walls, locked rooms(keys needed), Floating Rocks, more intelligent monsters, Sound, map editor, Easy config of colour codes for characters, Exploding bombs, on screen Help (controls, monster points)
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 21, 2018, 10:56:12 am
Just A little more work done..... time for bed now.

Has Linux Bin file included in zip.---------------------------------------------Build22ndAugust2018.1
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 22, 2018, 09:54:13 am
Here It is---- Map Editor IncludedI have included my map editor.... Not all maps are complete. but i have linked all exits together. you can now run around all the 72 levels mapsThere are instructions in the read me file. but i have plenty more work i am doing.
Working towards bombs, AI for the new monsters that will be added (some form of AI anyway for finding you including moving diagnal)
there will be walls that close in, rocks that hang from the roof, walls that shoot up to block paths, key for some rooms, plenty of stuff.... this is just the beginning of the gameLOTS and LOTS more to come. I am just going to add as i go know. the hard stuff is done (YAY).. feel free to modify my editor... but the game is mine to modify..
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 24, 2018, 09:04:29 am
2 x new monsters (i call them the blobs)

one eats rocks... both are harmless to you. (needed monsters to explode blobs)

more maps. i have found one map link error. will fix next time. not an issue.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: Cobalt on August 24, 2018, 11:58:10 am
This is looking pretty cool. Should be a nostalgic trip for those of us who grew up in the 80s when its finished.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: bplus on August 24, 2018, 12:23:41 pm
Yes just checking it out this morning, coming along nicely, PMACKAY very prolific!

Hi PMACKAY,

I am looking for the edit stuff in Aug 22 18_43 build where you advertised the edit functions and can't find it. Is it in Linux only levcreate?

Append: Oh, also the screen shot with the linked maps, 3 digit numbers map, is a work of art, did you put that together by hand or with a program?
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 26, 2018, 04:28:31 am
the files are all here including the extra maps. sorry my pc is being naughty at the moment. first a harddisk crash then the motor on the drive stopped after reinstalling :( on the bright side i now have a creative labs audigy audio card
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 26, 2018, 04:51:10 am
This version has had a few changes... Download this one. Not the above.
Working......
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 26, 2018, 05:58:32 am
Yes just checking it out this morning, coming along nicely, PMACKAY very prolific!

Hi PMACKAY,

I am looking for the edit stuff in Aug 22 18_43 build where you advertised the edit functions and can't find it. Is it in Linux only levcreate?

Append: Oh, also the screen shot with the linked maps, 3 digit numbers map, is a work of art, did you put that together by hand or with a program?

The pic was put together using gimp. I had to take screenshots and edit crop them smaller then pasted them one by one on top of the larger image
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 26, 2018, 06:06:24 am
Just the pic
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: bplus on August 26, 2018, 10:24:24 am
Nice editor! Took me awhile to figure out you are using numbers on keypad for arrows. And it does look like you are drawing the map of maps, very nice coding!

It might be handy to show a legend for which object gets posted with keypress eg Rock is T and Diamond is R.

Oh, also might want to check boundary lines on map of maps because "cursor" is going off the edges at bottom and right.

It is a nice feature when people can make their own maps. :)
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 26, 2018, 12:19:00 pm
it was just slapped together. will have to do a bit more. like cursor control, you a correct will need to also include a legend so you know what keys to press. have to update screen to press enter so goes straight into edit mode (simple fix). i have left it open to simply change keys about to easy to remember ones. but this is only the first editor. anyway its much easier then entering the data by hand. :)   feel free to modify it. i have been loading in both the editmap and mapview together. it shows both the maps and the one editing at the same time. press the p to reload the view in the viewmap and it will show the newmap along side the rest of them.


i agree with the boundary issue too. but was stuck together in a couple of hours. :)
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 27, 2018, 06:17:22 am
This is the Latest Build

* has a bomb
* has more sound (crappy but at least it makes sound)

Instructions included in read-me. only for game. To compile just load up in qb64 and compile

not for qb45
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 27, 2018, 09:31:39 am
these are the sheets i started with, just the maps on paper.


One sheet is maps, the other is the room colours. if you look into my select map section this will line up with room and colour tables

IF my% = 2 THEN o$ = "071": GOSUB writelev: GOSUB readlev: cmode% = 1: my% = 11: GOTO skt

o$ is equal to colour 1 which is colour set 1

there are 5 colour sets

IF cmode% = 1 THEN c1% = 15: c2% = 7: c3% = 10: c4% = 10: c5% = 3: c6% = 14: c7% = 8: c8% = 9
IF cmode% = 2 THEN c1% = 15: c2% = 4: c3% = 2: c4% = 2: c5% = 6: c6% = 14: c7% = 4: c8% = 1
IF cmode% = 3 THEN c1% = 15: c2% = 12: c3% = 5: c4% = 5: c5% = 13: c6% = 14: c7% = 4: c8% = 14
IF cmode% = 4 THEN c1% = 1: c2% = 2: c3% = 9: c4% = 9: c5% = 9: c6% = 15: c7% = 8: c8% = 4
IF cmode% = 5 THEN c1% = 2: c2% = 6: c3% = 14: c4% = 14: c5% = 11: c6% = 15: c7% = 8: c8% = 12

feel free to change these. i am not colour coordinated..... :) send me your colours if you like and i wil make them permanent

---------------------------
little update here too
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 27, 2018, 01:00:39 pm
update ---- better font for running in a window
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 28, 2018, 10:53:46 am
See README.TXT for changes


From Newcastle, New South Wales, Australia
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 28, 2018, 11:01:10 pm
Wait until you see what im doing with this next   :)
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 29, 2018, 04:41:30 am
Colours need to now be changed and fixed... Not a nice blend.......

New Ascii Characters (8x16) this is why colours need to be adjusted

More fixes in code (only minor)

Thank you cobalt and bplus+

Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: bplus on August 29, 2018, 09:58:57 am
Hi,

I am wondering if it is a Windows 10 problem that .h files only work if in same folder as the QB64.exe file?

Here, I had tried moving the .h file to same folder as source after trying all sorts of paths to a subfolder of source, nothing worked until the .h file was put in the QB64.exe folder (then it did work even without .h extension). I think this came up before with an InForm .h file. Access to the other files in other subfolders seemed to work fine.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 29, 2018, 10:09:42 am
Maybe its a bug in the qb64.. linux lets me place it anywhere.... i may have to have it in the main folder. You could probably try puting it in the system folder. (Not sure as last time i looked at windows was windows me) linux kind of took hold of me.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: SMcNeill on August 29, 2018, 03:13:55 pm
Hi,

I am wondering if it is a Windows 10 problem that .h files only work if in same folder as the QB64.exe file?

Here, I had tried moving the .h file to same folder as source after trying all sorts of paths to a subfolder of source, nothing worked until the .h file was put in the QB64.exe folder (then it did work even without .h extension). I think this came up before with an InForm .h file. Access to the other files in other subfolders seemed to work fine.


Change the DECLARE LIBRARY...

Instead of DECLARE LIBRARY "whatever", use DECLARE LIBRARY ".\whatever"...   A simple change that has worked for me before.   ;)
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: bplus on August 29, 2018, 03:50:29 pm
That is what PMACKAY has to start (.\whatever ) and that does work for other files.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on August 30, 2018, 04:21:18 am
Here is an Update:

New Colour Routines: bye bye old ugly yucky routine... now 32bit rgb

faster too.... more fun

Thinking of making the monsters, and blob growing thing animated.... (rolling through some ascii images so there legs and patters moves...)

Want to start work on a title screen soon... with some music...

Maybe define the graphics on the title to have a smashed rocket on saturn.. maybe we should finds parts to fix the rocket and fuel to get home to earth.... don't know yet. but plenty of room to add as plenty of speed.... will see... other things first.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: bplus on August 30, 2018, 10:01:36 am
Hi PMACKAY,

If you are working a diamond mine theme, and now that you have more drawing potential I have to say bricks don't seem congruent to that theme. Also mines have natural dangers of poisonous gas and explosions.

Just throwing some ideas out, see if anything sticks. :)

If pick any one thing, I vote for explosions! ;D
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 02, 2018, 10:16:58 am
Not much, but is noticeable on game play.

to exit game press ESC as set for unlimited lives during work.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 04, 2018, 12:38:39 am
Not uploaded yet, but i have included some maps now need a key to open doors, fixed the animation on the exploding blob thingy, fiexed a data error in level 72 going to 71 miss color codes, worked on more maps and a little more sound added.

Fixed the man so he looks better.... still working on fixes and some other things.

Had to adjust one timer in latest test to speed up game by very a small fraction due to the amount of (if thens) but all good as cannot notice any spped change, have freed two colours on the 16col set so can now use it for something else.

Thank you to Cobalt for graphics.h and B+ for keyboard routine..

Just about to make a tittle screen.

I AM PLANNING ON MAKING ALL SCREENS SCROLL INTO NEXT MAP
RANDOM MAP START NEEDS DOING ALSO
DIAMONDS WILL BE COUNTED SEPERATED FROM SCORE
LIVES, DIAMONDS, SCORE, HIGH SCORE
ANIMATE CHARACTERS DURING MOVEMENT, ANIMATE BLOBS (NOT SURE WHAT TO CALL THEM, MAYBE FUNGUS AS IT GROWS)

I do have an update here but need to do my graphics and title.

MOVING DATA TO A FILE, HAVE TO MAKE A GRAPHIC EDITOR.

WILL UPDATE IN A COUPLE OF DAYS..



5TH September ---- Screen shot of title.   has music and BIG LETTERING SCROLLING, High score Routine being worked on Moving all data out of main program into a data file.


Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: bplus on September 04, 2018, 09:18:49 pm
RE: Screen shot

If that's the new man, much better, and if that's new title, love it as well as more natural rocks and earth strata.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 04, 2018, 09:50:32 pm
Here is the next download.... still working in progress.... But it does have the title screen / music / scrolling / and start on score routine... will hold a name on there for best player. but that is in the works now!!


The file is progressively getting bigger :)


Line 98 should read "LOOP UNTIL ESC% = -1 OR lives% = 0" for the game to terminate when no lives are left

for testing just leave the CODE ESC% =- 1 (' or ????)
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 05, 2018, 01:32:53 am
Map Updates only
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 05, 2018, 05:51:44 am
Map updates in one zip file and final map viewer in other zip file

The maps only need to be copy over exiting files in the MAP directory
The Map viewer needs to be be unzipped and compiled in the main game directory / Instructions in the readme file

Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: bplus on September 06, 2018, 10:01:55 am
Hi,

I am wondering if it is a Windows 10 problem that .h files only work if in same folder as the QB64.exe file?

Here, I had tried moving the .h file to same folder as source after trying all sorts of paths to a subfolder of source, nothing worked until the .h file was put in the QB64.exe folder (then it did work even without .h extension). I think this came up before with an InForm .h file. Access to the other files in other subfolders seemed to work fine.

OK I think I have a theory as to MY difficulties with the .h file because I just ran into similar sequence of events unpacking PMACKAY's code from his double wrapped container files. Some things run fine with only one extraction, some ... well I don't think I 've extracted the .tar.gz the same way twice :p but it does seem to require a double extraction or something, I try and rename folder with extraction to track current most versions. The .h file was found (I think) from the ./something the last time tried but I also have the .h file with the QB64.exe folder, so who knows. ??? I do know the .tar,gz format is causing me complications.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 08, 2018, 12:08:00 pm
ZIP file fixed. all needed is a unzip, compile and execute..

* No map editor included.. There is a map viewer.. Previous map editor will work

Next zip will have no Audio files due to already downloaded unless I add more.

See readme for help
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 09, 2018, 05:34:38 am
Download "jUST ONE LOT OF FILES"

Full is game
Update contains just the source and character data

Added new Blob Monster... Tittle looks a bit better (i like)

Thinking of changing in game colors to mono (16 x single colors like title screen)....  Don't know why but it looks cooler.

(full Download has Files List)
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: bplus on September 09, 2018, 10:14:28 am
Hi PMACKAY,

I like whole package in one zip Folder, Thank you.

Idea: The I's in "DIG IT" of title screen might be shovel images.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 09, 2018, 10:20:58 am
much better for me too :)

i wanted to try and get the sin command to scroll the message faster once it got passed the centre... <0.3 left and 0.08 centre and 0.3>right (sort of like old school c64/amiga demo
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 12, 2018, 04:22:37 am
Worked on game a bit more, better title, more better sound (getting there). need to work on map colours. more ascii chars.

looking a bit better
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 13, 2018, 08:10:20 am
*** Lots of work done on the colours.... Just tested on a laptop to which has more sharper colour than my 55" tv ***

Maybe i need someone to adjust the colours better. only as i do not own a monitor. They are never perfect.

Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 16, 2018, 11:34:46 am
my new map editor... Last thing to add now is my character editor. there are three files... you need to download them. put map editor and game in same folder. maps in map folder

cursor keys to edit.. working on my character edit routines next.. editor for maps and chargen and map viewer will all be one program. (only chargen to do now.

modified maps here too

copy maps into map folder
copy editor into main dir of game

extract the zip of course....


shift O (caps to select current character)
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: cr0sh on September 16, 2018, 07:19:13 pm
This looks pretty neat! Reminds me of something like a cross between an Atari 2600 game (the look of the graphics) and the old-school DOS "Kingdom of Kroz" series of games...

Awesome! Plus I love the map editor!
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 16, 2018, 09:46:31 pm
jUST COMPLETED THE EDITOR.... MAKING SURE IT ALL WORKS BEFORE POSTING (AND HAVING FUN PLAYING WITH IT)

CAN NOW EDIT ALL 255 ASCII CHARS. SAVE THEM ALSO..

Will update the download zip to latest updates shortly..

new routines are going to be added... rocks slide off angled blocks
eyeball sound to be added when you bump into eyeball
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 16, 2018, 10:56:05 pm
Ok here is the zip

*editor fully functional
*game (with modified maps, updated font set, adjusted colour codes) if you modify some characters and they do not appear it is just a case #, color) will work on that next. but simple to fix.

Saving of character gen is done when you save maps (save all)

Much better now.. have to fix score routines to save to harrdisk. not implemented yet
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: bplus on September 17, 2018, 09:09:42 am
Hi PMACKAY,

Your character drawing getting inventive, love the picket fence!

Character editor could use some exits by escape, will likely need _KEYCLEAR after each detection, so don't escape all the way out of the program.

So characters aren't permanently edited, just edited for the run?

I confess I got lost with playing a few versions back getting surrounded by gas or rock cave in, no avoiding and no escape? Maybe I am not clever enough to figure out how to avoid? If it is inevitable then I don't want to play, it would be too much like real life.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 17, 2018, 09:43:56 am
the latest version will let you save the characters (press f1) before exit and it saves all data.. (graphics and maps)

the thing with the blob gas stuff it will surround you but make sure the monsters run into it and it will explode.. (some blob gas stuff explodes on only certain things like a timer, or one type of monster.. i have been careful with the maps and matched monsters with gas - blob

the tab key restarts the level (so long as there are lives left)
holding shift you can pull the rocks (boulders) and the Diamonds
holding shift and pressing up will blow up boulders (only if you have one on your left, one on right and one below) pretty much a triangle and you are center.. (see image below thats what to do to use bomb  - shift plus up key and she goes bang)

Hint: dont kill all the monsters when gas is around (blob thing) it will set the gas off when the monster hits it.

add this line at 121 and this will display entire 256 ascII characters (the rest of the data)

CASE ELSE: COLOR 5     (line number 125)   


there are map updates here too

just uploaded!!
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 18, 2018, 06:52:25 am
Major Update Here... More graphics, modified maps, animated characters (see readme) ... much better. fixed the missing characters that did not show.. been messing with today. all doors can now go any walls in the read me there are some instructions. what has changed and what is going to change....

this one is better. (going to have to animate the gas too.... (soon)

you can speed up everything or slow it down.... use my flags for speed changes such as monsters, animation, or gas

STILL IN WORK.... BUT I AM LIKING SO FAR BUT HAVE OTHER IDEAS FOR A NEW GAME ALSO.... I MUST FINISH THIS FIRST.
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 19, 2018, 09:22:57 am
Have now animated the eyes.. (border eyeballs) but not uploaded just yet... funny thing the eyes only needed four simple lines (one just a return and two if then and a simple variable).... the rest is already built in..

feels funky watching the eyeballs follow me.. (works on any-map and any position on the right.. going to have a light come on near the man on the light post.. but when you walk away it will switch off..

need to get a wav (ogg) from somewhere that when you touch the eyes (it says MY EYE or Ouch or something) just so it interacts other than just watching.. but not a cartoon character. monster type.. 
 
Title: Re: Project is still in progress but have put this up to see what you guys (asccii)
Post by: PMACKAY on September 20, 2018, 07:39:46 am
HERE IS animated eyeballs

(minor stuff done)