VerletKha icon indicating copy to clipboard operation
VerletKha copied to clipboard

[THOUGHT] would render function allow deeper coding

Open lewislepton opened this issue 10 years ago • 4 comments

just a thought, but would it makes more sense to allow render function to allow verlet to be much deeper. easier in some respects, since it would go in the same way that most kha things go?

just a thought

so rather than just having new Tire(new Vector2(200, 200) 300); /which will draw it down

you can then have

tire = new Tire(new Vector2(200, 200) 300);
tire.render(graphics);

lewislepton avatar May 01 '16 17:05 lewislepton

also things like being able to edit the width, height, size. extra

such as

box.width = 300;
box.height = 200;
box.x = 30;
box.y = 60;

tire.radius = 300;
tire.x = 400;
tire.y = 350;

just thinking of other ways it can be more deeper for coders and for games as well ;)

lewislepton avatar May 01 '16 17:05 lewislepton

I like the idea of giving each entity it's own render function. Doing the tire radius changes might be tricky though, I'll have to look at that one a bit more

Devination avatar May 03 '16 06:05 Devination

cool spot ;)

lewislepton avatar May 03 '16 17:05 lewislepton

also to have things like .x .y etc. means that things such as keyboard options can b looked at as well. plus opens it up a lot ;)

lewislepton avatar May 03 '16 18:05 lewislepton