Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Pix

#1
General Discussion / Random Number Seed
September 16, 2019, 03:01:19 AM
Is there any way to manually seed the built-in random number generator? I need to "randomly" create levels and be able to regenerate the same level again at a later time so I'd like to reseed to the same starting point each time I build the level.
#2
Game Swap / Vecalabeth
August 25, 2018, 06:31:22 AM
Update 10th Nov 2021

I've released the final version and updated the attachment on this first post.


--------------------------------------------------

I've been working on a port of Akalabeth which was one of the first ever RPG's created back in 1979 by Richard Garriott for the Apple 2. It used nothing but line graphics making it a perfect fit for the Vectrex. The game sold about 30,000 copies at the time which then led him to quit his degree and start the Ultima series and ultimately Origin Systems.

I've worked from the original source code to try to get things as close as possible. There is an overhead world view and first person dungeon sections. This is a seriously primitive game but an RPG on the Vectrex has to be something of a novelty at any rate. I started this ages back but kept running into memory issues because of the large amount of array data required. The file handling that was added in the last firmware made all the difference as I was able to shift some of the data into files and load it as needed.

I should say that this is by no means finished but all the elements of the game are there and it's just a case of refinement and bug fixing from here on out. The code is a bit of a mess - it's quite nice to be able to just bash stuff out and not worry about other people understanding any of it actually. I've basically dashed the majority of this off in my spare time over the last week. The menus need improving to say the least and there are definitely bugs but it's essentially playable from the little testing I've done.

If you want to give it a go, button 1 is for using things, select in menu, enter castle, climb ladder, etc.. , button 2 attacks, button 4 shows the equipment and you can equip weapons from there. There is a manual for the original game in the long list at http://www.pixsoriginadventures.co.uk/downloads/ under Miscellaneous.

Suggestions/bug reports are welcome. I haven't had chance to do proper testing on this yet but I'm aware of some issues with secret walls showing up when then shouldn't, menus being too hard to use, and I'm unconvinced by the dungeon generation even if I have followed the original code. Expect dead ends but the dungeons do shift every time you go up/down a ladder so you can possibly backtrack.


Edit - I've uploaded a new version having done some playtesting, fixed a load of bugs and generally made things more playable. There are certainly improvements I could still make but it's a fair representation of the original game now and stable enough for me to have been able to finish the game.

Further Edit - "Final" version now attached
#3
General Discussion / Cast String to Int?
August 17, 2018, 08:14:21 AM
Really quick question. Is there an inbuilt function to cast a string to an integer? I ask as I can't find anything in the documentation and am looking to use the newly added file input/output to read some in game data. I can obviously write my own function if I have to but I would imagine there must be something there already.