J John Sturt Active Member Licensed User Longtime User Sep 30, 2016 #1 Hello I am trying to apply Igameview to a app. I have been stepping through the smiley example with the bouncing smiley and the scrolling background and have 2 questions. A panel is declared but no further reference is made to it apart from in the initialization of the gameview. Why? and why is it needed? Do i need to declare a background for gameview to work? Many Thanks.
Hello I am trying to apply Igameview to a app. I have been stepping through the smiley example with the bouncing smiley and the scrolling background and have 2 questions. A panel is declared but no further reference is made to it apart from in the initialization of the gameview. Why? and why is it needed? Do i need to declare a background for gameview to work? Many Thanks.
S sorex Expert Licensed User Longtime User Sep 30, 2016 #2 the panel is needed for the click/touch events I guess Upvote 0
J John Sturt Active Member Licensed User Longtime User Oct 1, 2016 #3 Thank you for that is the background needed to make the gameview work? Do you have to invalidate the gameview with a Timer Event or can you just call it manually whenever needed? I am very short on dev time at the moment and would normally just try this but am unable to do so at the moment. So I am trying to solve some issues before sittting down to code. Thank you. Upvote 0
Thank you for that is the background needed to make the gameview work? Do you have to invalidate the gameview with a Timer Event or can you just call it manually whenever needed? I am very short on dev time at the moment and would normally just try this but am unable to do so at the moment. So I am trying to solve some issues before sittting down to code. Thank you.
Erel B4X founder Staff member Licensed User Longtime User Oct 2, 2016 #4 1. All the drawings and bitmaps are added to this panel. 2. You can call Invalidate in any way you like. Upvote 0
1. All the drawings and bitmaps are added to this panel. 2. You can call Invalidate in any way you like.