Few small tweaks
This commit is contained in:
parent
1a8a5eb94b
commit
a112c19d76
|
@ -49,7 +49,7 @@ function main() {
|
||||||
Events.OnLeave(function (e) {
|
Events.OnLeave(function (e) {
|
||||||
delete colliders[e.Actor.ID()];
|
delete colliders[e.Actor.ID()];
|
||||||
|
|
||||||
if (Object.keys(colliders).length === 0) {
|
if (Object.keys(colliders).length === 0 && !stickyDown) {
|
||||||
Sound.Play("button-up.wav")
|
Sound.Play("button-up.wav")
|
||||||
Self.ShowLayer(0);
|
Self.ShowLayer(0);
|
||||||
Message.Publish("power", false);
|
Message.Publish("power", false);
|
||||||
|
|
|
@ -222,7 +222,7 @@ func PreloadAllChunkBitmaps(chunker *level.Chunker) {
|
||||||
|
|
||||||
for {
|
for {
|
||||||
remaining := chunker.PrerenderN(10)
|
remaining := chunker.PrerenderN(10)
|
||||||
log.Info("Remain: %d", remaining)
|
log.Debug("Remain: %d", remaining)
|
||||||
|
|
||||||
// Set the load screen progress % based on number of chunks to render.
|
// Set the load screen progress % based on number of chunks to render.
|
||||||
if loadChunksTarget > 0 {
|
if loadChunksTarget > 0 {
|
||||||
|
|
|
@ -60,7 +60,7 @@ func NewAddEditLevel(config AddEditLevel) *ui.Window {
|
||||||
window.SetButtons(ui.CloseButton)
|
window.SetButtons(ui.CloseButton)
|
||||||
window.Configure(ui.Config{
|
window.Configure(ui.Config{
|
||||||
Width: 400,
|
Width: 400,
|
||||||
Height: 240,
|
Height: 280,
|
||||||
Background: render.Grey,
|
Background: render.Grey,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user