Object.UID & " " & Object.UID
In my Game digital mist in the Arcade, players have a drone following them about.
The concept I used is on player creation the drone gets created too and gets set with the UID of the player its tied too.
Every tick the moving angle is set towards its player X,Y - 150 (in my game representing the position above the player)
If the distance between player and drone is bigger then a certain distance, the drone moves towards the move angle.
When you say "black screen" I presume you mean the browser here. I would set it up so it displays the javascript console log (how depends on your browser) and see if it is spitting anything out.
CTRL + SHIFT + J in chrome and FF.
Develop games in your browser. Powerful, performant & highly capable.
Update your computer
Go to the store, check your downloads, and download the license You should have it there.
Let me get this right.
You add nothing ...
Load it up ...
And it does nothing .... (par splash)
Yes ... I can see the dilemma
Seriously though
As soon as you add an object, it goes to the layout.
Ah, you need to update the maxspeed for the platformer I believe.
Compare 2 values: object.platformer.maxspeed is not like MyVariable
etc etc
If its a scrolling background you want to make, there are quite few examples around. Anyway, spawn object on y - Object.Height System, compare 2 values: object.bullet.distance traveled > WindowHeight + Object.Height action spawn another on y - Object.Height
If its a scrolling background you want to make, there are quite few examples around.
Anyway,
spawn object on y - Object.Height
System, compare 2 values: object.bullet.distance traveled > WindowHeight + Object.Height
action spawn another on y - Object.Height
spawn object on y -10
System, compare 2 values: object.bullet.distance traveled > WindowHeight + 10
action spawn another on y - 10
In a most basic scenario:
every tick
Object bullet set speed to MyVariable
Pushing it fancy:
System, compare 2 values
object.bullet.speed is not equal to MyVariable
action: object bullet set speed = MyVariable
Then it does not get set every tick, and if you change the MyVariable, it will update the speed.
You only update the local storage once, when it gets created, of which I am assuming the data is 0.
so, it is likely not resetting itself ... you never set it.
On event 14, at the bottom, add:
local storage set key "DataString" to DataStorage.AsJSON
You can use custom movement and then: push out solid.
There is also a behavior from Rex with push out solid.
Member since 8 Oct, 2013