Search found 141 matches

by aa-dav
Sun Jan 10, 2021 10:34 am
Forum: NESemdev
Topic: Could anyone help me figure out the flaws of my scrolling logic?
Replies: 3
Views: 619

Re: Could anyone help me figure out the flaws of my scrolling logic?

I don't see need to operate on values such as (x+sx). And honestly don't understand your formula. I use next values: ; We need 4 byte to be precalculated before IRQ interrupt: scroll_top: .byte 0 ; Top (9-th) bits of X and Y shifted by 2 bits left (%0000YX00) - we'll write them in PPU_ADDR in 1st st...
by aa-dav
Sat Jan 02, 2021 4:38 am
Forum: General Stuff
Topic: Jokes
Replies: 6
Views: 7889

Re: Jokes

Image
Title says: "WONDERFUL WORLD OF PROGRAMMING"
by aa-dav
Wed Dec 23, 2020 12:31 am
Forum: General Stuff
Topic: Quintessence of OOP
Replies: 11
Views: 2603

Re: Quintessence of OOP

If a program applies the strategy pattern to process a record based on a property of that record that selects a strategy, it's object-oriented. Typical C++ polymorphism is based on the single (hidden from programmer) field of object - pointer to array of virtual functions pointers (VTBL). That is C...
by aa-dav
Mon Dec 21, 2020 10:03 pm
Forum: General Stuff
Topic: Quintessence of OOP
Replies: 11
Views: 2603

Re: Quintessence of OOP

But OOP can add and modify UNKNOWN objects I don't know what language you're programming with, but all objects are known. Whether you reference them through some base class in the chain or the exact derived class - it's known . No, object is unknown in essential sense. You know it's class only. Not...
by aa-dav
Thu Dec 17, 2020 8:53 pm
Forum: SNESdev
Topic: If the SNES can do raytracing, how can the PS4 and Xbox One not?
Replies: 21
Views: 2456

Re: If the SNES can do raytracing, how can the PS4 and Xbox One not?

I doubt Ronian53 is an AI. He's slightly too advanced. Inability to answer questions and take a meaningfull participation in topics created make me suspicious that bot just posts some array of strings and nobody on that side sees what is going later. Why bot? Because some day it needs to edit all p...
by aa-dav
Thu Dec 17, 2020 6:50 pm
Forum: SNESdev
Topic: If the SNES can do raytracing, how can the PS4 and Xbox One not?
Replies: 21
Views: 2456

Re: If the SNES can do raytracing, how can the PS4 and Xbox One not?

Nikku4211 wrote:
Thu Dec 17, 2020 5:41 pm
As for the thread thing, Ronian's constant thread making makes me think we should have a single thread where you ask the questions you have about consoles and computers there.
...named 'Bots can ask here'.
by aa-dav
Thu Dec 17, 2020 5:41 am
Forum: SNESdev
Topic: If the SNES can do raytracing, how can the PS4 and Xbox One not?
Replies: 21
Views: 2456

Re: If the SNES can do raytracing, how can the PS4 and Xbox One not?

Ronian53 wrote:
Thu Dec 17, 2020 5:08 am
Someone added raytracing into a SNES chip.
Did you see this video? It has some clues.
by aa-dav
Tue Dec 15, 2020 10:45 pm
Forum: SNESdev
Topic: SuperRT - realtime raytracing expansion chip
Replies: 28
Views: 4336

Re: SuperRT - realtime raytracing expansion chip

93143 wrote:
Tue Dec 15, 2020 10:41 pm
Did you watch the video? British accent, "SNEZZZZZ", named Ben Carter... I'd say he's probably a gaijin. "Shironeko" isn't a Japanese name AFAIK; it just means "white cat".
My first language isn't english and I do not know japanese at all, so I had no chances to recognize these things. :)
by aa-dav
Tue Dec 15, 2020 10:38 pm
Forum: SNESdev
Topic: SuperRT - realtime raytracing expansion chip
Replies: 28
Views: 4336

Re: SuperRT - realtime raytracing expansion chip

Great job! I want to repost one of comments under ArsTechnica article ( https://arstechnica.com/gaming/2020/12/the-super-est-superfx-an-unmodified-snes-revved-up-with-ray-tracing/?comments=1&unread=1 ) guai2k One small curiosity: the photo caption cites Carter as a "Japanese engineer," while his own...
by aa-dav
Mon Dec 14, 2020 8:30 am
Forum: General Stuff
Topic: What is with indie games and procedural generation?
Replies: 16
Views: 3094

Re: What is with indie games and procedural generation?

Ronian53 wrote:
Mon Dec 14, 2020 8:22 am
What is it that makes indie devs want to do procedurally generated games so much?
Absence of time to do every game aspect including game map.
by aa-dav
Mon Dec 14, 2020 3:23 am
Forum: General Stuff
Topic: Quintessence of OOP
Replies: 11
Views: 2603

Re: Quintessence of OOP

Procedural fwrite(f, ...); OOP f->write(...); That be it. :lol: And this is real: chaos with understanding and explaining of OOP do really leads to such misinpretations (I belive you make a joke of it). They say: 'Decompose task to objects and methods and (tada!) OOP appears.'. But objects and acti...
by aa-dav
Sun Dec 13, 2020 7:20 pm
Forum: General Stuff
Topic: Quintessence of OOP
Replies: 11
Views: 2603

Re: Quintessence of OOP

Let's take another example: suppose we write cross-platform program which requires graphic output. And we decide to write graphic output library to video screen. To cover all platforms we make some object (I will use very abstract syntax): struct screen ... and bunch of functions to it: put_pixel ( ...
by aa-dav
Sat Dec 12, 2020 7:12 pm
Forum: General Stuff
Topic: Quintessence of OOP
Replies: 11
Views: 2603

Re: Quintessence of OOP

And then, if in the middle of the development, you want to update the main procedure, it'd affect only the recipes and the behaviour of specific objects, not all of them. This is critical if, say, you maintain a game codebase, or a SDK and want to add features without breaking compatibility, while ...
by aa-dav
Sat Dec 12, 2020 9:24 am
Forum: General Stuff
Topic: Quintessence of OOP
Replies: 11
Views: 2603

Re: Quintessence of OOP

So, I think that if you put pointer to procedure 'handler' in the array of monsters - you may end up in OOP. :)
by aa-dav
Sat Dec 12, 2020 9:20 am
Forum: General Stuff
Topic: Quintessence of OOP
Replies: 11
Views: 2603

Quintessence of OOP

A lot of a lot was said and written about OOP as paradigm, as way of thinking, as trinity of sacred postulates... but a lot time ago I think I saw quintessence of it in it's the only essential core. And this can be described easily without tons of books and articles. Primary enemy in understanding O...