Search found 501 matches
- Sat Oct 28, 2023 3:25 pm
- Forum: Programming
- Topic: Short fallout style text game (Merged from multiple topics)
- Replies: 90
- Views: 1219
Re: Short fallout style text game (Merged from multiple topics)
All text drawing is in assembly. It would be interesting to see how long it takes with the border though.
- Sat Oct 28, 2023 3:10 pm
- Forum: Programming
- Topic: Short fallout style text game (Merged from multiple topics)
- Replies: 90
- Views: 1219
Re: Short fallout style text game (Merged from multiple topics)
I think the flickering is only in the gif. But I will probably do that anyway.
I'll check to make sure though.
I could do halt before any string printing to be lazy coder. Or before setting up a new screen
I'll check to make sure though.
I could do halt before any string printing to be lazy coder. Or before setting up a new screen
- Sat Oct 28, 2023 12:43 am
- Forum: Programming
- Topic: Short fallout style text game (Merged from multiple topics)
- Replies: 90
- Views: 1219
Re: Short fallout style text game (Merged from multiple topics)
https://i.ibb.co/SRgFQ4D/quickadvmode.gif english font style keyboard created an array of pointers to rooms each room contains 2 pointers to description strings it worked straight away thankfully, as i had already done a very similar thing in printing a character's name. It's funny cos using assemb...
- Thu Oct 26, 2023 4:54 pm
- Forum: Programming
- Topic: Learning Forth
- Replies: 5
- Views: 246
Re: Learning Forth
Thanks!! I'll check it out
- Thu Oct 26, 2023 1:32 pm
- Forum: Programming
- Topic: Learning Forth
- Replies: 5
- Views: 246
Learning Forth
Hi I'm trying to understand forth. If , for example there was a d&d style battle would all the information be kept on the stack or would it be allocated elsewhere?
Post moved by admin
Post moved by admin
- Sat Oct 21, 2023 1:04 pm
- Forum: Announcements
- Topic: 3 new SaNchez Crew games in the works
- Replies: 5
- Views: 254
Re: 3 new SaNchez Crew games in the works
They look great
- Sat Oct 21, 2023 12:53 pm
- Forum: Programming
- Topic: Forth - better than BASIC?
- Replies: 18
- Views: 419
Re: XT-Engine: small, but powerful platform game engine in asm
I watched a video of a professional game dev saying that a C buffer overrun bug cost a lot of development time on his game. In the 90's.
- Fri Oct 20, 2023 3:09 pm
- Forum: Sinclair Miscellaneous
- Topic: Are all coders basically autistic?
- Replies: 65
- Views: 2350
Re: Are all coders basically autistic?
Lol ok there's no excuse thenStanVanman wrote: ↑Fri Oct 20, 2023 1:59 pm As far as I can tell it doesn't even have support for any joysticks...
- Fri Oct 20, 2023 2:46 pm
- Forum: Programming
- Topic: giga screen scroll with an headache
- Replies: 10
- Views: 436
Re: giga screen scroll with an headache
Oh I see alternating the shadow screen,nice
- Fri Oct 20, 2023 2:37 pm
- Forum: Programming
- Topic: giga screen scroll with an headache
- Replies: 10
- Views: 436
Re: giga screen scroll with an headache
What is a giga viewer? Something on the spectrum next?
- Fri Oct 20, 2023 1:49 pm
- Forum: Sinclair Miscellaneous
- Topic: Are all coders basically autistic?
- Replies: 65
- Views: 2350
Re: Are all coders basically autistic?
Yeah a surprising number of games did this. I think movie perhaps had the cursor keys 4567 which is insane. It is confusing because making a game requires 10x the knowledge that it takes to read the keyboard properly. Maybe they tested it on joystick and the keyboard was an afterthought. If you owne...
- Fri Oct 20, 2023 1:33 pm
- Forum: Brand new software!
- Topic: XT-Engine: small, but powerful platform game engine in asm
- Replies: 129
- Views: 7000
Re: XT-Engine: small, but powerful platform game engine in asm
as you want it to. the whole Forth compiler written in Forth itself, there are no hidden parts there. you can use any mechanics you like: inline, tables, 0-terminated, "or 0x80"-terminated, compressed, anything. the system doesn't care, because it doesn't need strings at all. so it is up ...
- Thu Oct 19, 2023 1:42 pm
- Forum: Brand new software!
- Topic: XT-Engine: small, but powerful platform game engine in asm
- Replies: 129
- Views: 7000
Re: XT-Engine: small, but powerful platform game engine in asm
p.s.: and if i port my Z80 emulator to UrForth… oh, no. i definitely WON'T GO THAT WAY! ;-) Then you would have a game dev tool that creates a .tap file but can also create a windows executabe that runs the game within an emulator :D Without the end user realising what is going on. How does your fo...
- Wed Oct 18, 2023 12:43 am
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 830
Re: fprwards and backwards logic in IF statements (in assembly)
Oh I see you're using a label and a call, to make it more 'forwards logic' like. That's good.
- Tue Oct 17, 2023 1:34 pm
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 830
Re: fprwards and backwards logic in IF statements (in assembly)
JP NZ is the right solution. And yes, it requires about a billion times more discipline than BASIC to avoid spaghetti code that becomes hard to follow. Welcome to assembly programming. Okay :) Yeah I was coding that way and wondering if there was any way around that. The jumping to a function inste...
- Tue Oct 17, 2023 1:26 pm
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 830
Re: fprwards and backwards logic in IF statements (in assembly)
The idea of the second routine's ret acting that way is something I hadn't thought about (referring to a post on the previous page by paradign shifter) If you want pseudo code of what I'm talking about a good example is just imagine two else statements. If enemy dead MakeExplosion() Else If enemy-hp...
- Tue Oct 17, 2023 11:50 am
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 830
Re: fprwards and backwards logic in IF statements (in assembly)
I suppose the situation I'm thinking about is wanting to do something AND return. Whereas you can only do one or the other using basic assembly commands.
Storing the location on a stack could be risky for creating bugs?
Storing the location on a stack could be risky for creating bugs?
- Tue Oct 17, 2023 11:45 am
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 830
Re: fprwards and backwards logic in IF statements (in assembly)
Putting the function pointer with the menu is a good idea, I'll have to study it a bit more though
- Tue Oct 17, 2023 11:32 am
- Forum: Brand new software!
- Topic: New game: Tenebra 2!
- Replies: 7
- Views: 416
Re: New game: Tenebra 2!
I'll give it a go when I have time, looks good from the video I saw of it.
- Tue Oct 17, 2023 2:26 am
- Forum: Showcase your work!
- Topic: dsForth/TR-DOS
- Replies: 34
- Views: 21413
Re: dsForth/TR-DOS
So you have cross compilation from PC to x86 dos system and zx spectrum?
Any .tap files of demos available of the games?
Any .tap files of demos available of the games?
- Tue Oct 17, 2023 12:22 am
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 830
Re: fprwards and backwards logic in IF statements (in assembly)
i suppose thts almost like creating a new language, but might be necessary for some complicated things. The most complicated things ive ran into so far were: if keypressed is_key_pressed=1 else if is_key_pressed=1 do_action() is_key_pressed=0 endif endif which in assembly is: call read_keyboard LD A...
- Mon Oct 16, 2023 10:19 pm
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 830
Re: fprwards and backwards logic in IF statements (in assembly)
thats an interesting way of using the stack, might have to use that later.
- Mon Oct 16, 2023 7:24 pm
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 830
Re: fprwards and backwards logic in IF statements (in assembly)
I am using bytes for state flags etc. and yes the second answer is correct for those types of situations. Like the movecharacterleft the situation where i use backwards logic is: see if the option chosen is the first - then execute it, if not then see if it is the second then execute that I jp acros...
- Mon Oct 16, 2023 7:07 pm
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 830
fprwards and backwards logic in IF statements (in assembly)
in normal languages you can do an IF statement with multiple conditions quite easily, but assembly is a bit like having the memory of a goldfish..as registers get trashed all the time. So far, I have been doing things like:testing for the opposite of what im looking for and then skipping over code i...
- Mon Oct 16, 2023 12:49 pm
- Forum: Games/Software
- Topic: Klass of '99 & Lethargy: The Apathetic Dream
- Replies: 5
- Views: 256
Re: Klass of '99 & Lethargy: The Apathetic Dream
nice website. my attention span has been destroyed by modern technology, but I managed to read 3 reviews