GameJam | Multiplayer VR first-person shooter for Game Jam | Game Engine library
kandi X-RAY | GameJam Summary
kandi X-RAY | GameJam Summary
Multiplayer VR first-person shooter for Game Jam 2016
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of GameJam
GameJam Key Features
GameJam Examples and Code Snippets
Community Discussions
Trending Discussions on GameJam
QUESTION
I'm building a heat-scatter tool for a popular game and I've ran into an issue trying to draw things onto a canvas.
In short:
I'm having a list points (coords,color) which I intend to draw on the canvas. They are the result of a long chain of irrelevant stuff, but in the end I must pass the list of points to the DrawPoints()
method which is to visualize them.
However, upon doing so, I don't see anything being drawn (incl the SetMapImage()). It does work with the dummy points I'm creating at random in the method itself, but only if I call it from the public MainWindow()
method.
Trying to call it from another class's method as such...
ANSWER
Answered 2017-May-08 at 17:59Obviously, creating a new MainWindow instance and calling the method on that new instance has no effect unless you actually show the new window.
Although not really clear from your question, you may want to call the method on the already existing (and shown) MainWindow instance.
You should therefore replace
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install GameJam
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page