Hi!!
I just buy a Windows 8 laptop.
When I try to compile for first time in this enviroment my project (ran perfectly in windows7)
I find this problem in the console
Copyright © 2009-2011 A n s c a , I n c .
Version: 2.0.0
Build: 2011.704
createScene de Intro
Runtime error
…wnloads\proyecto\proyecto\on going - copia\Intro.lua:71: bad argument
#-2 to ‘insert’ (Proxy expected, got nil)
stack traceback:
[C]: ?
[C]: in function ‘insert’
…wnloads\proyecto\proyecto\on going - copia\Intro.lua:71: in function
This lines in my code are:
60 but_comenzar = widget.newButton
61 {
62 left = globals.ancho/2 - (globals.ancho/3)/2, – Posicion deseada menos la mitad del ancho del boton
63 top = globals.alto/3 + globals.alto/3 - globals.alto/80,
64 width = globals.ancho/3,
65 height = globals.alto/10,
66 id = “but_comanezar”,
67 fontSize = 40,
68 label = “Comenzar”,
69 onRelease = on_but_comenzar_Touch
70 }
71 screenGroup:insert( but_comenzar )
I cant understand why, is for the Operative system?
Am I forgot install other APIs?
During the “simulation” the game display dont show me all the buttons, images, after this error.
In windows 7 if I ad an error, one pop up window show me information and stop the “simulation”
I hope that anybody can help me because I bought the laptop only for develop games…
Thanks in advance
Regards!