Vachilla64 / Caldro_Test_Grounds

Archive
MIT License
8 stars 1 forks source link

Modified Windows #2

Closed Bytenol closed 3 months ago

Bytenol commented 3 years ago

Caldro windows has been modified... it now has two subclasses

  1. DomElement
  2. GameArea
  3. Scene

DomElement and GameArea inherited from the Scene

The Scene is basically a section element with a member function "add". every other element of must be added to the scene for linear controls

The DomElement provides API for creating objects of type HTMLElement

The GameArea inherited directly from DOMElement and indirectly from Scene. All it does is to create a canvas element. You must call the member method add to add objects of DOMElement otherwise they will not be visible cos they've not been appened to any other visible exisiting elements

Vachilla64 commented 3 years ago

Hmm..I don't know about having HTML parts in the game...cos I wanted everything to be in canvas ..with no HTML or CSS code ...

Vachilla64 commented 3 months ago

Wow, coming back to this with more experience, just wow You did so much! My apologies, would have been better if we both started together from the start and planned it all out

Started working on this engine again recently..

Bytenol commented 3 months ago

Oh caldro is still working out, nice

On Wed, Jun 26, 2024, 07:17 Alfred Valentine @.***> wrote:

Wow, coming back to this with more experience, just wow You did so much! My apologies, would have been better if we both started together from the start and planned it all out

Started working on this engine again recently..

— Reply to this email directly, view it on GitHub https://github.com/Vachilla64/Caldro_Test_Grounds/pull/2#issuecomment-2190830110, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQPOFGXR75W65BN3JXD2S3ZJJMGZAVCNFSM6AAAAABJ5FU4BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJQHAZTAMJRGA . You are receiving this because you authored the thread.Message ID: @.***>

Vachilla64 commented 3 months ago

Oh caldro is still working out, nice On Wed, Jun 26, 2024, 07:17 Alfred Valentine @.> wrote: Wow, coming back to this with more experience, just wow You did so much! My apologies, would have been better if we both started together from the start and planned it all out Started working on this engine again recently.. — Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQPOFGXR75W65BN3JXD2S3ZJJMGZAVCNFSM6AAAAABJ5FU4BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJQHAZTAMJRGA . You are receiving this because you authored the thread.Message ID: @.>

Lol, been busy and caught up in IRL stuff, evertying has slowed down a bit so i came back to this, How have things been with you! I bet you're as sharp as ever!

Vachilla64 commented 3 months ago

Whoops, i edited the wrong message, lol I didn't know enough then to appreciate what you did, even now I'm struggling a bit, but at least i see it lol

Bytenol commented 3 months ago

Yeah right, I worked with some of the Caldro builtins locally. Though I port the source code to typescript at a point and start using hardware accelerated renderer (webgl) as against the canvas2d. The branch exists on my repository as Caldro-ts and there's an updated ReadMe file. You should check it out