ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 8862

Titlemovement (Mod Menu Text)

by SinceModz - 04-14-2018 - 08:37 PM
#11
(04-15-2018 - 12:08 AM)SinceModz Wrote: Okay then give me a example how you would do it. :)
still ant working man i am calling this in Loops like this
if (Movement)
{
if (decrease) {
index -= 0.9f;
if (index < 0.9) {
index = 0.9f;
decrease = false;
increase = true;
}
}
if (increase) {
index += 0.11f;
if (index > 0.11f) {
index = 0.11f;
increase = false;
decrease = true;
}
}
}
then the bools and index like this
bool decrease = true, increase, Movement = false, Movingtitle = false;
float index;
and title like this
if (Movingtitle)
{
Movement = 1;
drawText(title, 0, XCoords, YCoords, index, index, 255, 255, 255, 255, false, true);
}
else { 
Movement = 0;
drawText(title, 0, XCoords, YCoords, 0.35f, 0.35f, 255, 255, 255, 255, false, true);
}
and it ant working
This account is currently banned
Ban reason: multi | IP: 74.139.57.189 | Email: N/A
Reply
#12
int timerTitleDownUp = 0, timerDecrease = 0;
if (timerDecrease < GAMEPLAY::GET_FRAME_COUNT())
{
timerDecrease = GAMEPLAY::GET_FRAME_COUNT();
if (timerTitleDownUp == 0)
{
titleScale--;
if (titleScale <= 0.800f)
{
titleScale = 0.800f, timerTitleDownUp = 1;
}
}
else if (timerTitleDownUp == 1)
{
titleScale++;
if (titleScale >= 0.864f)
{
titleScale = 0.864f, timerTitleDownUp = 0;
}
}
}
this is my code :>
work 100% :)
This account is currently banned
Ban reason: Abusing the Report function is not allowed. Please read the rules.
Reply
#13
(04-15-2018 - 12:53 AM)Wesley_Marcos Wrote: int timerTitleDownUp = 0, timerDecrease = 0;
if (timerDecrease < GAMEPLAY::GET_FRAME_COUNT())
{
timerDecrease = GAMEPLAY::GET_FRAME_COUNT();
if (timerTitleDownUp == 0)
{
titleScale--;
if (titleScale <= 0.800f)
{
titleScale = 0.800f, timerTitleDownUp = 1;
}
}
else if (timerTitleDownUp == 1)
{
titleScale++;
if (titleScale >= 0.864f)
{
titleScale = 0.864f, timerTitleDownUp = 0;
}
}
}
this is my code :>
work 100% :)
do i loop it?
This account is currently banned
Ban reason: multi | IP: 74.139.57.189 | Email: N/A
Reply
#14
(04-15-2018 - 12:56 AM)ForceHax Wrote:
(04-15-2018 - 12:53 AM)Wesley_Marcos Wrote: int timerTitleDownUp = 0, timerDecrease = 0;
if (timerDecrease < GAMEPLAY::GET_FRAME_COUNT())
{
timerDecrease = GAMEPLAY::GET_FRAME_COUNT();
if (timerTitleDownUp == 0)
{
titleScale--;
if (titleScale <= 0.800f)
{
titleScale = 0.800f, timerTitleDownUp = 1;
}
}
else if (timerTitleDownUp == 1)
{
titleScale++;
if (titleScale >= 0.864f)
{
titleScale = 0.864f, timerTitleDownUp = 0;
}
}
}
this is my code :>
work 100% :)
do i loop it?

Yes would need to be looped.
This account is currently banned
Ban reason: Multi
Reply
#15
Cool post, keep it up
Reply
#16
Thanks for the release!
Reply
#17
well thanks for this, much needed hehehe
Reply
#18
thank you for the release m8!!!!!
Judge Judy Is Sexy Asf Can We All Agree?  Love
& Lets Stop The Cracking War M8s Devil )
(Make Modding Fun Again 100emoji   )
Reply
#19
addFloatIncrements("X-Axis", &X_Offsets, 0.00, 1000.00, true, " ");
Reply
#20
well, i looked at this code, was useless, but, but i managed to do it :p

recording lagged hense why it stops for a second lmao

Spoiler Show
[Image: menubase.gif]
Reply

Users browsing: 6 Guest(s)