Jump to content


combining a Game Canvas and Form?

  • Please log in to reply
1 reply to this topic

#1 Czar

  • Members
  • 153 posts

Posted 29 August 2017 - 08:37 AM

I would like to have a canvas with all the benefits of a game canvas surrounded by HTML elements like, buttons, panels etc.

I making a strategy game which requires lots of buttons, information reports etc so using standard buttons, memo, panel etc would make much easier than remaking them for a canvas.

At the moment I am trying to use a paintbox as an option but it is less than ideal as it doesn't have the benefits afforded by TW3GameView etc. I miss things like the last frame time & frame rate.

Is it possible to combine a Game Canvas with a form? And if so how?

If paintbox is the best solution then what is the best way to ensure it is redrawn often? At the moment I use paintbox1.invalidate after it has finished drawing everything.

#2 Laksekjønn

  • Members
  • 440 posts

Posted 30 August 2017 - 03:54 PM

Similar project can be found atSMS_INTALL_DIR\projects\Featured Demos\Forms & Components\Mega Demo\Mega Demo.sproj ??????

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users