ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.06k stars 2.11k forks source link

HUD elements in camGame #14971

Open JuanSebas1247 opened 2 weeks ago

JuanSebas1247 commented 2 weeks ago

What is your question?

I want you to put the arrows of the opponent and the player in the game camera (in the camGame ) by lua In Psych Engine 0.7.3 How do I do it or if you can make a code It's for a mod Please

StickEXTReal commented 1 week ago

function onCountdownStarted() runHaxeCode([[ for (strum in game.playerStrums) { strum.cameras = [game.camGame]; strum.scrollFactor.set(1, 1); strum.scale.x = 0.8; strum.scale.y = 0.8; }

for (opponent in game.opponentStrums) { opponent.cameras = [game.camGame]; opponent.scrollFactor.set(1, 1); opponent.scale.x = 0.8; opponent.scale.y = 0.8; } for (note in game.unspawnNotes) { if (!note.unspawnNotes) { note.cameras = [game.camGame]; note.scrollFactor.set(1, 1); note.scale.x = 0.9; note.scale.y = 0.9; if (note.isSustainNote) { note.scale.y = 2.7; } }

}; ]]) end

For note Splashes I still don't know how to change in the camGame And I found it by HourOfEternity