Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

rating info fix #12936

Description

@Flubbedsoda6010

Describe your problem here.

can someone make this work in 0.7 to 0.7.1? not that it's too important

notehitlol = 0
sadfasd = 0
font = "vcr.ttf"
cmoffset = -4
cmy = 20
tnhx = -10

function onCreate()
makeLuaText("tnh", 'Total Notes Hit: 0', 250, tnhx, 259);
setTextFont('tnh', font)
makeLuaText("cm", 'Combos 0', 300, -getProperty('tnh.x') + cmoffset, getProperty('tnh.y') + cmy);
makeLuaText("sick", 'Sick 0', 300, getProperty('cm.x'), getProperty('cm.y') + 25);
makeLuaText("good", 'Good 0', 300, getProperty('cm.x'), getProperty('sick.y') + 25);
makeLuaText("bad", 'Bad 0', 300, getProperty('cm.x'), getProperty('good.y') + 25);
makeLuaText("shit", 'Shit 0', 300, getProperty('cm.x'), getProperty('bad.y') + 25);
makeLuaText("miss", 'Miss 0', 300, getProperty('cm.x'), getProperty('shit.y') + 25);
setObjectCamera("tnh", 'other');
setTextSize('tnh', 25);
addLuaText("tnh");

setObjectCamera("cm", 'other');
setTextSize('cm', 25);
addLuaText("cm");
setTextFont('cm', font)
setTextAlignment('cm', 'left')
setObjectCamera("sick", 'other');
setTextSize('sick', 25);
addLuaText("sick");
setTextFont('sick', font)
setTextAlignment('sick', 'left')
setObjectCamera("good", 'other');
setTextSize('good', 25);
addLuaText("good");
setTextFont('good', font)
setTextAlignment('good', 'left')
setObjectCamera("bad", 'other');
setTextSize('bad', 25);
addLuaText("bad");
setTextFont('bad', font)
setTextAlignment('bad', 'left')
setObjectCamera("shit", 'other');
setTextSize('shit', 25);
addLuaText("shit");
setTextFont('shit', font)
setTextAlignment('shit', 'left')
setObjectCamera("miss", 'other');
setTextSize('miss', 25);
setTextColor('miss', 'ff0000');
addLuaText("miss");
setTextFont('miss', font)
setTextAlignment('miss', 'left')

end
function goodNoteHit(id, direction, noteType, isSustainNote)
if not isSustainNote then
notehitlol = notehitlol + 1;
setTextString('tnh', 'Total Notes Hit: ' .. tostring(notehitlol))
end -- NOTE FRANTASTIC24 MADE THIS!
end

function onUpdate(elapsed)
notehitloltosting = tostring(notehitlol)
setTextString('cm', 'Combos: ' .. getProperty('combo'))
setTextString('sick', 'Sick!: ' .. getProperty('sick'))
setTextString('good', 'Goods: ' .. getProperty('goods'))
setTextString('bad', 'Bads: ' .. getProperty('bads'))
setTextString('shit', 'Shits: ' .. getProperty('shits'))
setTextString('miss', 'Misses: ' .. getProperty('Miss'))
-- setTextString('tnh', 'Total Notes Hit: ' + 1)
end

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions