Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Jovial Games

Pages: 1 2 3 ... 9
Ask a Question / Re: Volume/Mute Button keeps switching animation to default
« on: September 20, 2020, 05:44:00 am »
I tried with game attribute but it still didn't work

Ask a Question / Re: Volume/Mute Button keeps switching animation to default
« on: September 19, 2020, 10:52:53 pm »

I do the following:

I created an on click event : When mouse was released on self
trigger event SOUNDTOGGLE

Custom Event-  When SOUNDTOGGLE happens
Do the following as in the picture.

But the problem persists, the animation changes to the correct one and when I change the scene and come back to the scene where I had the volume button, the animation switches back to the default one.

All I want is for the animation to not change once I change the scene. For example the volume button is on the menu and I click it to mute the music, now it shows a muted icon, I switch to level selection scene and come back to menu, the muted icon changes back to the unmuted icon which is the default animation

Ask a Question / One button but different scenes
« on: September 19, 2020, 01:00:19 pm »
Hey guys,

Currently I have a game where once the level is completed a new button is created, upon tapping, the scene changes to level 2. If I was to make a button for level 3, I'd create another button and do the same.

But then eventually once I get a lot of levels, it'll also have so many buttons..

Is it possible that I create one button which can switch scene to level 2 and then reuse that button for level 3 that switches to level 4 and so on instead of creating individual buttons for each transition?

Ask a Question / Volume/Mute Button keeps switching animation to default
« on: September 19, 2020, 01:32:46 am »
Hey guys, I made a mute/volume button for my game. Its in the updating function, so what happens is that even though the button works, it keeps switching back to the default stage which was the unmute animation.

I've attached a picture of the code, how can I properly implement the button in a way that if its muted, the muted animation remains?


I tried doing everything but it is still not working. The animation does not change when it enters the region where I have the second code.

Thank you Supremelorax, you are very kind to explain it in detail. I still have some questions, kind of a noob in this so please bear with me :)

How will I put an if statement above when updating? Or will it be this way:

''When updating
If fall = true
do the rest of the code''
''set fall = false''

Also, will this be a game attribute (the one in purple) or only attribute (the one in blue)

Hey, thanks for responding!

 I think I understand what you mean but I'm not sure on how I'd be implementing that. Could you please go into more detail? Would be very generous of you!

Hey guys,

I have a question, when my character falls, I want it to change to fall animation. The code for that works but what happens is that it interferes with my winning animation. Since, its an always updating function, I am unable to switch to win animation upon level completion. I've attached screenshots of my code below, please help me fix it, thank you! :D

Ask a Question / Re: Continuing background music on next scene?
« on: June 09, 2020, 02:39:22 am »
Very kind, thank you fellas!

Ask a Question / Continuing background music on next scene?
« on: June 08, 2020, 05:24:03 am »
Hey guys,

Here's what I want: When the menu opens up, it plays a background music and when you click on start level, that music should continue to the next scene, then continue for level 2, level 3, and so on. On a loop basically.

Any idea how to go about it? Thank you!

Thank you Luyren!
I really appreciate this :D

Will it be like

When updating
load saved game
set SwitchtoMenu = False
save game
if SwitchtoMenu = False
Switch scene to Menu

What's better? when updating or when created?

Ask a Question / Re: Stuck on Sending to Device Android
« on: June 20, 2018, 04:21:49 pm »
I couldn't figure out a way so I just went with Corbanwolf's method, thank you everyone for the help though. I highly appreciate it

Ask a Question / Re: Next Level Button
« on: June 20, 2018, 04:21:13 pm »
Lol, thank you for this but I can barely understand what's going on..

Ask a Question / Create Actor in a specific next Scene
« on: June 20, 2018, 01:17:42 pm »
Hey guys,

I'm making a star screen, so what happens is that I want 3 actors to be created in the win screen. The problem with ''create actor type in the next scene'' is that if the game is reset because the player lost but was able to collect the stars, the stars show up in the level instead of the main screen.
So is there a way to make them spawn in a specific scene?

Pages: 1 2 3 ... 9