#Need help with my upcoming game

1 messages · Page 1 of 1 (latest)

tepid bolt
#

Needed help with the script because i am bad at it
The image below are outdated btw

#

So how do i make it that when you are blinking,this special enemy moves?

pastel echo
#

when blink set it to true

#

after blink set to false

#

make a script for enemy

#

infinite loops
if blink = true then
movement.enable = false
or else
movement.enable = true

#

but id prefer using set speed = 0

tepid bolt
#

Thanks tree man :D.

tepid bolt
#

The script:

#

Thanks again 3d plant guy 👍

pastel echo
#

but if you need it to like instant teleport at you, you just have to set it's coordinates to main actor coordinates

#

remember to set the speed always 0

tepid bolt
#

Eh i prefer it to be lore accurate but thanks again

viscid elbow
#

better to use equal or less than 10, coz the distance rarelly hit 10 precisely

tepid bolt
#

So a inconsistent range would be nice

tepid bolt
#

Updated to do list:

#

So now rn i am trying to make limited POV mechanic

pastel echo
#

could you show an example

tepid bolt
#

I am trying to make a horror ish game

#

So like everything that is not in your line of sight is dark void

pastel echo
#

do your actor rotates

solemn mortarBOT
#

Mr.Hank has been timed out for 10m mute
spacearrowRight Reason: Using too many newlines

tepid bolt
#

So?

#

I dms you and yeah i tried

tepid bolt
#

Well then while waiting ig i make the camera zoom a little bit futher

solemn mortarBOT
#

Hacha_CooL has been timed out for 10m mute
spacearrowRight Reason: Images/Videos Spam

earnest halo
#

I better explain it slower

#

2 global variables, Max stamina and Cureent stamina
the progress bar(heal)

#

when starting (progress bar)

#

button sprint(when starting and when tapped)

earnest halo
#

wait 3 sec
5 sec Current Stamina gradualy change 100 (You can ignore this, but you will have to make a way to recover stamina.)

earnest halo
#

or else

#

set buton enable=true

#

(sprint button) when tapped
keep until main actor move speed = 2.5
set stamina 1
wait 0.2 sec

earnest halo
# earnest halo jump button

jump button (when starting)
infinite loop
if current stamina < 0 then
set button enable = false
keep wait until current stamina = 80
or else

#

set button enable true

#

(jump button)when tapped
set current stamina - 5(or what you want)

tepid bolt
#

Thanks!

earnest halo
#

an example of "Sanity"

tepid bolt
#

Well its kind of scrapped but eh sure why not i am using it in my other project

#

The lower it gets
The worser your vision

#

Might also include slower stamina regen and randomly hallucinate

#

By hallucination basicly start spawning harmless and creepy entity near your character

#

When it hit 0
Your character just dies

#

Max sanity:100
<90
Vision become a little bit blurry/darker
<85
Vision become worser
<70
Start to hallucinate

#

<65
Worser vision and hallucination

#

<50
Slower stamina regen
<30
Hallucination drasticly become worser
<20
Stamina no longer regen
<10
Vision become so dark/blurry that you barely see anything
<0
Dies from insane

#

To regain sanity well
Use sanity regen item
Or
It slowly regen
Slower regen than stamina

rancid brook
#

easy, inf loop solves all your problems

tepid bolt
#

Ye

#

Similar to changing animation as your health decrease

tepid bolt
#

The game i am working on is the backrooms thingie
So uh how do i make it that the timer stops at the exact second when you die?
To start the timer you need to interact with the save orb

#

For the switch map when reach 600s/10m i already know
Its the when map end thingie

tepid bolt
#

Found it

#

When dying
Execute stop timer

tepid bolt
#

I think ill find a way

tepid bolt
#

How do i make it that the layer 2 only visible to those who are on it?

#

Rn making multiplayer game and since you can only use 1 map
So i use layer as alternative

#

While waiting ill work on the single player variant then

rancid brook
viscid elbow
#

cant jump between layers

tepid bolt
#

Oh ok

tepid bolt
#

Need help with my upcoming game

tepid bolt
#

New to do list:
More would be added as time goes on

#

(I changed it from our to my because the coder and artist are busy with their personal life even after giving them full access to my account)

#

Rn i am doing 2nd joystick

tepid bolt
#

Stamina and run button are done
But uh... the regen didnt worked when your stamina are fully drained 💀

tepid bolt
#

So for door...
Well they just open and reclose repeatedly

#

I prefer it to open/close when interacted

rich lotus
#

interact component

tepid bolt
#

I know

#

I did that

rich lotus
#

do let me finish

tepid bolt
#

Oh ok

rich lotus
#

when interacting, animate

#

after animation disable passage preventer or sumn

#

oh yeah

tepid bolt
#

Note: This game uses 10+ doors,using global variable wont work unless we want 10+ global variable

rich lotus
#

if passage preventer = true
after open animation
passage preventer = false
else
after close animation
passage preventer = true

tepid bolt
#

Hm ill try this

rich lotus
#

you can add a SFX whenever you interact but the extras are up to you

#

to prevent players from spamming the door you can disable the interaction and enable it again after a delay or if the animation finishes

tepid bolt
#

It was that simple? 💀

#

Hm yeah

rich lotus
#

yeah

#

pretty much

rich lotus
tepid bolt
#

I tried using local variable but yeah...
Didnt worked

#

For the keycard i just need to put and main actor has keycard on the if

#

Made one for the statue

tepid bolt
#

Updated to do list:

quaint helm
tepid bolt
#

No

#

The 2nd joystick basicly change your pov by changing the direction you are facing at

#

So like your character are walking at front but is the direction they are facing at is behind

#

I prob know how to do this

#

But i havent tried it

#

So yeah

quaint helm
#

Do you mean the character will change or the entire point of view of the player?

tepid bolt
#

The entire point of view of the player

earnest halo
tepid bolt
#

Yes