My new adventure game

you welcome :)

1 Like

Well if you are going to use variables, i recommend that you reference the objects when setting variables using (object name).(insert variable name).

why it wouldn’t work with just the var (variable declaration) was because the variable is only accessible inside the script in the object.

Let’s say i want objectA to have a variable called emotion, I’ll just go into the clip’s script and type this.emotion //this refering to the object itself.

if other objects have variables, you can change and set their variables directly.
we often use project.(variable name) so that any object can access these variables.

2 Likes

You explained it better then I could :)

thanks @KringlePrinkles >u<
testing…8-26-2021_13-57-25.wick (1.7 KB)
i tried and it work >u<…man…you help me a lot …thanks guys

2 Likes

man…with all your guys help i finally solved this problem >u< yay… thanks so much
https://drive.google.com/file/d/1zsmr3VtcX5Znz1kkm_0rVKIU8cvCndLZ/view?usp=sharing
(i got problem uploading the file here…so i use drive)

1 Like

nice game, can i help with coding?

1 Like

sure… >u<
here are my latest progress
https://drive.google.com/file/d/1zmrCWElfj6mIplCgBHCPj6GIAYvzpuko/view?usp=sharing
ok here what my plan for the game

  1. level1 - it just a tutorial for users to know that they could change themselves into other player (player 1 to player 2)
    ouh…player 1 can:
    run
    but he cant go through the wall
    player 2 can
    control player 1(actually player 2 just turn itself into player 1 so it make user think player 2 is controlling player 1 )
    and he can go through the wall (except the ghost wall(the fade in and fade out wall animation))

2.and then the level 1 finish when they going into the portal
3.after that …go to level 2
and they saw reven who was trap…and player 2 go to reven and
the comic appeared on the screen (to tell user the situation)
but the evil ghost got the key and he ran away from them so they had to chase the evil ghost…T uT
man its to long…

who’s reven again. also whats the comic

here https://drive.google.com/file/d/1ZJWki6E9-R5TFLia5aMqRtEa6Ab9nOdg/view?usp=sharing I hope you like it

1 Like

reven is one of the game character for level 2
and the comic tell situation the game was(for level 2)…i not making it right now…

can you send a pic of reven?


him

1 Like

thanks man…i like how you make the camera go down to the character before the game start

but
when the player 1 go up and it was immediately dissapeared(i think the timeline go to the last frame…)
i dont really know what you trying to do …
and i realize one character were missing…it was suppose to be bintang najmi telling player to click e button …

oh i might of messed that up

that was to go to the comic

1 Like

oh…
now i get it…
actually …
after they go to the portal …and after they found reven then the comic appeared
thanks @gamer_boi for idea and help :grin: …i will add (copy and paste) the code and your idea into my latest progress

here https://drive.google.com/file/d/1Z7EbwZV2NHSYxXFdrqoS8sNbHGe1qe16/view?usp=sharing

1 Like