Thorin's Quest

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Content Update:
Follow the path to the north.
Find the village in the swamp.

This is a small insight into the planned game mechanics, storytelling.

The behavior of the maps is not logically complete. This will be displayed in one of the next updates
Fixed.

Updates for the tools:
If you want to use the Worldcreator, you can do this to experiment with the scripts and the game engine yourself.

The Worldcreator has been redesigned to meet current needs.
This includes the A42Creator.

Whoever checks the files in the "WORLD" folder will recognize the relationships of the individual data sets.

Have fun testing and experimenting.
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

….many things seem to cause problems due to lack of instructions:

the axe flies with the pressure of the [X] button only if:
1)the player has a direction of movement. This means that the player must have pressed one of the direction/arrow keys once.
2)the axe has a cooling phase of about one second.
3)The axe may not be displayed if the player is too close (directly) to a collision object.
4) the X button must be released between throws.

The dialogues:
Dialogs are only displayed if the NPC has a dialog function,
in case no dialog is stored, at least an empty blue bar (background) should be displayed.

closes the dialog window.
Known errors: If the player is "moves" and Presses B, the dialog window stops, but disappears as soon as the player collides with an object, or with the NPC .

To scroll the dialog text:
with arrow up, or down arrow, the text can be scrolled in increments (line). To do this, the arrow keys must be pressed accordingly often (KeyboardReleased())

I hope I could help with that.

Thank you for testing,
Last edited by darius676 on Thu Feb 06, 2020 7:57 am, edited 1 time in total.
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Font system for NPC dialog revised:
the display of the text should work for screen resolution 1280 x 720 to 4K, and be easy to read.
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Small changes in content.
Code optimized (logic) , combat system
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Update:
Content: Music has been adapted to the theme.
Small changes to the code.

Known errors:
Game can crash abruptly.
It is currently not possible to understand when this will happen.
The error can never occur, or if everything goes wrong, soon after the start of the game.
Basically, there should be no problems (crashes).

If so, please ask for brief feedback in what situation the crash occurred.


German English translation with "bing translator"
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Update:
Code has been extended to include a simple quest system.
The village in the north can now be liberated.
The game engine now manages the events correctly and the village remains liberated.
Various changes and optimizations to the code
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Graphics buffer reactivated:
If the program still crashes,
please deactivate the buffer as follows:

in the main directory, open the data/ini/ folder, open the ini.ini file with text editor and change the last entry as follows:

USE_VIRTUAL_BUFFER
1

please change to:
USE_VIRTUAL_BUFFER
0
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Program code revised:
Emitter system has been replaced.
Performance improved.

In debug mode button (INSERT), button (F12) can be used to switch between virtual streaming and streaming from hard drive.
Switching between virtual streaming and HDD streaming may cause program shut down.
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Hy there,

Unfortunately, a serious error has crept in with the last update.
The new emitter system, was not fully mapped in the program code :)

That's why there are program crashes.

This error should now be fixed. Have the currently available maps completely gone,
could not detect any crashes.

Hope that is now generally the case. :)
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Revised program code for indexers.
Object management revised, some steps optimized / abbreviated.
Advanced format for object files.

performance optimized, many components of the
program codes optimized and reduced.

Known errors:
Streaming object can cause program crash (memory error).
However, this only happens if the player is constantly steering in one direction,
this seems to be the end of the day? to a timing problem? with the stream system and the resulting invalid entry in the object list.

This error is extremely rare and is not easy to reproduce.
Currently, there is no solution to this error.
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

program code further optimized.
Performance improved.
Error-handling routine improved.
Now memory access errors are being processed:
The engine informs about the error, terminates the program.
After a restart with "Continue" the game can be restarted at the last valid position before the
program crash.

different timings. Necessary changes to balancing and object data.
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Update:
Bugfixes:
Error processing could cause a crash.

Content:
Advanced map handling.
Now the map is filled procedurally with decoration, various extensions.
Currently, "mushrooms" are placed, more elements can be added.
Now it's just mushrooms :)

Loading:
When an area, a map, enters for the first time, (short) loading times occur due to the procedural system.
This is indicated by a note: Loading...

If a map is entered repeatedly, loading times are almost completely eliminated.

The procedurally placed elements are repositioned when selected: New Game.

Within the same game or after a continue, the generated objects are always in the same place.
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Bugfixes:
Errorhandler revised (again).

Function:
New:
If the game crashes, the game can be sent directly via the dialog system (Requester)
continue.
If the error was caused by incorrect data (missing files, changed configuration, manipulation of game data), the game may not be able to start correctly.
If this (unusual) case occurs, the game can only continue if the "DWARFKINGxxxxx" folder is deleted in the user directory of the logged-in user.
This folder is always created automatically by the game and is absolutely necessary.

If the game crashes due to an error in the program code (memory access), it can be easily continued via the dialog system, since a valid backup of the last respawn-enabled map is created automatically.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: The Quest of The Dwarfes King

Post by Fangbeast »

Cute game darius676, about all I can handle these days too:):)
Amateur Radio, D-STAR/VK3HAF
User avatar
darius676
Enthusiast
Enthusiast
Posts: 278
Joined: Thu Jan 31, 2019 12:59 am
Contact:

Re: The Quest of The Dwarfes King

Post by darius676 »

Thank you,... There is so much to do on the content side. Im working now on it....
Post Reply