Graphics do not appear in the simulator

Hello, I used Corona version 2018.3231 and everything worked perfect, then it gave a problem in the hd of my machine and I changed the hd, I updated the onboard video drive for Intel ClarkDale Integrated Graphics, v.8.15.10.2008 A02.

I use a Dell Inspiron 58 desktop, with the same version of Corona, when I insert any graphic object on the screen, it does not appear! I have already inserted, texts, rectangles, images, etc., but nothing appears, I’ve already downloaded to the Corona example games, but nothing appears on the screen, commands and print variables appear on the console, but the visual part does not! I already changed the device in the simulator, I already put a stable version of Corona (2017.3184), even removed the video drive that had updated, but the same problem continues.

Are there any messages in your Console window?

Rob

Nothing appears on the console, no error message, it’s like it’s all right, it just shows nothing in the simulator.

I’ve updated the video drive again and continue the same problem, I also uninstalled the drive but it did not work. Any solution?

QQGe2E.png

Can you copy and paste the code for your scene into a post? Please use the blue <> button in the row of buttons with Bold and Italic.  Paste your code in the popup window.

Repeat for your main.lua as well.

Rob

main.lua

local composer = require("composer") composer.gotoScene("splash")

splash.lua

local composer = require( "composer" ) local scene = composer.newScene() &nbsp; &nbsp; &nbsp; &nbsp; rect = display.newRect(50,50,150, 150) &nbsp; &nbsp; &nbsp; &nbsp; rect.x = display.contentCenterX &nbsp; &nbsp; &nbsp; &nbsp; rect.y = display.contentCenterY&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rect:setFillColor(1,0,0) &nbsp; &nbsp; &nbsp; &nbsp; print("Funcionando!")&nbsp; function scene:create( event ) &nbsp; &nbsp; local sceneGroup = self.view&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; end function scene:show( event ) &nbsp; &nbsp; local sceneGroup = self.view &nbsp; &nbsp; local phase = event.phase &nbsp; &nbsp; if ( phase == "will" ) then &nbsp; &nbsp; &nbsp; &nbsp; -- Code here runs when the scene is still off screen (but is about to come on screen) &nbsp; &nbsp; elseif ( phase == "did" ) then &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; end end function scene:hide( event ) &nbsp; &nbsp; local sceneGroup = self.view &nbsp; &nbsp; local phase = event.phase &nbsp; &nbsp; if ( phase == "will" ) then &nbsp; &nbsp; &nbsp; &nbsp; -- Code here runs when the scene is on screen (but is about to go off screen) &nbsp; &nbsp; elseif ( phase == "did" ) then &nbsp; &nbsp; &nbsp; &nbsp; -- Code here runs immediately after the scene goes entirely off screen &nbsp; &nbsp; end end function scene:destroy( event ) &nbsp; &nbsp; local sceneGroup = self.view &nbsp; &nbsp; &nbsp; end scene:addEventListener( "create", scene ) scene:addEventListener( "show", scene ) scene:addEventListener( "hide", scene ) scene:addEventListener( "destroy", scene ) return scene

* Detail: I downloaded other applications ready, both github and Corona examples and also shows nothing in the simulator!

Hello again, this post is just to inform you that I solved the problem!

In the case I use a Windows 7 ultimate sp1 pc with all the updated drivers, however my Corona simulator returned to display the graphics only after I updated the version of my Intel video driver (I used intel acellerator hd, which is available on the Dell BR website) and installed a version that I found only on the Dell US site (I am from Brazil) that does not have the HD acellerator.

I do not know if this problem should be solved only by users who should know which video driver is compatible with Corona Simulator, or if there is any way Corona at least report this problem of incompatibility with some video drivers in the console so that the user do not go without knowing what happens (as was my case).

At least I want to leave here the solution of my problem if someone else goes through this.

Thankful.

I’m glad you solved it!  I didn’t see any reason why your rectangle shouldn’t show up.

Rob

Are there any messages in your Console window?

Rob

Nothing appears on the console, no error message, it’s like it’s all right, it just shows nothing in the simulator.

I’ve updated the video drive again and continue the same problem, I also uninstalled the drive but it did not work. Any solution?

QQGe2E.png

Can you copy and paste the code for your scene into a post? Please use the blue <> button in the row of buttons with Bold and Italic.  Paste your code in the popup window.

Repeat for your main.lua as well.

Rob

main.lua

local composer = require("composer") composer.gotoScene("splash")

splash.lua

local composer = require( "composer" ) local scene = composer.newScene() &nbsp; &nbsp; &nbsp; &nbsp; rect = display.newRect(50,50,150, 150) &nbsp; &nbsp; &nbsp; &nbsp; rect.x = display.contentCenterX &nbsp; &nbsp; &nbsp; &nbsp; rect.y = display.contentCenterY&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rect:setFillColor(1,0,0) &nbsp; &nbsp; &nbsp; &nbsp; print("Funcionando!")&nbsp; function scene:create( event ) &nbsp; &nbsp; local sceneGroup = self.view&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; end function scene:show( event ) &nbsp; &nbsp; local sceneGroup = self.view &nbsp; &nbsp; local phase = event.phase &nbsp; &nbsp; if ( phase == "will" ) then &nbsp; &nbsp; &nbsp; &nbsp; -- Code here runs when the scene is still off screen (but is about to come on screen) &nbsp; &nbsp; elseif ( phase == "did" ) then &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; end end function scene:hide( event ) &nbsp; &nbsp; local sceneGroup = self.view &nbsp; &nbsp; local phase = event.phase &nbsp; &nbsp; if ( phase == "will" ) then &nbsp; &nbsp; &nbsp; &nbsp; -- Code here runs when the scene is on screen (but is about to go off screen) &nbsp; &nbsp; elseif ( phase == "did" ) then &nbsp; &nbsp; &nbsp; &nbsp; -- Code here runs immediately after the scene goes entirely off screen &nbsp; &nbsp; end end function scene:destroy( event ) &nbsp; &nbsp; local sceneGroup = self.view &nbsp; &nbsp; &nbsp; end scene:addEventListener( "create", scene ) scene:addEventListener( "show", scene ) scene:addEventListener( "hide", scene ) scene:addEventListener( "destroy", scene ) return scene

* Detail: I downloaded other applications ready, both github and Corona examples and also shows nothing in the simulator!

Hello again, this post is just to inform you that I solved the problem!

In the case I use a Windows 7 ultimate sp1 pc with all the updated drivers, however my Corona simulator returned to display the graphics only after I updated the version of my Intel video driver (I used intel acellerator hd, which is available on the Dell BR website) and installed a version that I found only on the Dell US site (I am from Brazil) that does not have the HD acellerator.

I do not know if this problem should be solved only by users who should know which video driver is compatible with Corona Simulator, or if there is any way Corona at least report this problem of incompatibility with some video drivers in the console so that the user do not go without knowing what happens (as was my case).

At least I want to leave here the solution of my problem if someone else goes through this.

Thankful.

I’m glad you solved it!  I didn’t see any reason why your rectangle shouldn’t show up.

Rob