HYPE_Processing icon indicating copy to clipboard operation
HYPE_Processing copied to clipboard

Using HYPE within OOP archtecture / unlinking from PApplet

Open JesseScott opened this issue 11 years ago • 2 comments

Hi... First off, rad framework. I've known about it for a while but have only just had a chance to look into it properly today.

I'm having an issue dealing with the architecture of HYPE where I want to use an individual instance of the H class as a member variable of a custom class, and manage the positioning of the stage and the render lifecycle of H within that class. (slightly related but kind of irrelevant issue posted at #64 )...

I can't seem to do this as the architecture stands now - it seems to tie itself to the PApplet (which i get) and a lot of the positioning methods of the HStage class do nothing useful...

I can go into the PDE and edit the methods, but I wanted to see if Joshua or James had any thoughts/opinions on what Im trying to do - also if the 'staging' branch might serve me better (I downloaded 'master')...

Thanks guys...

JesseScott avatar May 14 '14 23:05 JesseScott

I can't answer about the location issues you're having. Could you post some sample code somewhere?

As for the staging branch, yes use that as it's way more up to date than master.

tracerstar avatar May 14 '14 23:05 tracerstar

Ok, i'll start there and look through the most recent JavaDoc... thx

JesseScott avatar May 15 '14 02:05 JesseScott