You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this the lua code in the event that i want to make. but to bad idk how to acces the camera variable that i just made out from the line of code, for example i can accest the camera at the onEvent() function or else. i tried everything to edit the camera like move it, and stuff but results nothing. can someone help me ?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response
The text was updated successfully, but these errors were encountered:
Describe your problem here.
`function onCreate()
addHaxeLibrary('FlxCamera', 'flixel')
addHaxeLibrary('FlxObject', 'flixel')
--setProperty('camGame.width', 640)
runHaxeCode([[
public var myCam:FlxCamera;
var Posicion;
myCam = new FlxCamera();
Posicion = new FlxObject(1200, 750, 1, 1);
myCam.follow(Posicion);
end`
this the lua code in the event that i want to make. but to bad idk how to acces the camera variable that i just made out from the line of code, for example i can accest the camera at the onEvent() function or else. i tried everything to edit the camera like move it, and stuff but results nothing. can someone help me ?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response
The text was updated successfully, but these errors were encountered: