horoblast's Recent Forum Activity

  • github.com/rexrainbow/C2Plugins Here is source code of my all plugins/behaviors, feel free to dig them,

    Hey thanks for answering, i'll be sure to take a look at them after my lunchbreak!

  • Basically i've just run over the information about JS SDK a little, but my deadline is reaaaaaally close by. I have my game made, but now i have to integrate a website on top of it, with html&css modals, and data being send and read to/from a database (in JS). I think i understand how to get variables, functions, calling functions etc, but i'm not too sure.

    Does anyone want to share their game/creation where i can see how you do it? I'd love to just try it all out myself, but i fear i might not have the time due to the deadline... If that's not possible i guess i'll have to crunch and work in my weekend, but i'd rather not (and relax after a hard work week).

  • Pode

    I'm getting the following error message after a few seconds: imgur.com/3yF3Gd1 .

    Any idea what may cause it and how i can fix it?

    Much appreciated.

  • horoblast: youtube.com/watch How to make cut scenes and fade transitions using Finish State Machine

    Oh nice, thank you.

  • horoblast Thanks for links. Yes, I added the music on start of the layout and it is in loop. When I run the game on my computer, It is working fine. Every sound is being playing according to the requirement but when it was run on my phone, the sounds aren't being played until and unless I tap on the screen. I'm not sure where it when wrong.

    Huh, that's odd... hopefully you were able to fix your issue using the other person's help.

    If not, maybe these links can provide some help:

    no-sound-in-android-cordova-with-xdk-1912-export_t130051

    stackoverflow.com/questions/1044 ... ame-engine

    .

  • Update. Now in 2015 with r206 it is possible to achieve the same effect thanks to the Fade behavior.

    Here is a dl.dropboxusercontent.com/u/36472942/construct/forumhelp/FadeIn_FadeOut_layout_2015.capx commented simple example.

    Hey there, i hope you'll see this message and can answer me . I've tried out your example, but it doesn't start on the first page. How can i modify your example so it starts black, fades out slowly to the first page and when a button is clicked it should fade back in, then fade back out again showing the second page?

    Greetz, horoblast.

  • Hey there,

    i haven't had to work with sounds yet in construct 2 but i did some searching, maybe these links can help you further:

    scirra.com/tutorials/181/ad ... ners-guide

    scirra.com/manual/109/audio

    scirra.com/manual/84/sounds-music

    youtube.com/watch

    Did you try adding the music on a system -> on start of layout?

    Maybe try it with a variable set on 1 and "on start of layout" + condition "if variable = 1" play your track? If it should loop you can try putting/setting the variable somewhere else.

    I've only been trying out construct 2 for a few days now so i don't have much experience in it either, but i hope this could help you in one way or another so you can find a solution to your problem.

  • That's part of the answer. The other issue is even if you used that expression every tick it would be the same. You need a variable that you change over time and use that for the lerp. This could work:

    global number go=0

    global number t=0

    on click

    --- set go to 1

    go = 1

    t < 1

    --- add dt to t

    --- road2: set scale to lerp(0.1608, 0.0804, t)

    Great, thanks for the answer, when i get to it i'll give it a try

  • Hey there,

    i've been trying to make an object appear (spawned from another object) and then do some work on it. It has to "drop from the sky" onto the background. I want to create this effect by using fade in & a set scale function. This is what i have:

    onClick (on a button) => road2 => set scale to lerp(0.1608, 0.0804, 2*dt) .

    Any ideas why it doesn't do anything? Right before this action i do a change angle and fade, and they both work.

  • I'll look into that plugin, and if there's still anything I need help with I'll just ask here.

    Just rotate the layers you want to rotate then what the user sees is basically the layout/layers rotating rather than "a camera" of some sorts.

  • Thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey there,

    my problem consists of a road and a car. The car can already move along the road and the camera already follows the car, no problem. Now i'd love it if the camera tilted at the degree of the car tilting, basically imagine this. The car (horizontal) moves to the right until it hits a bend, 90° to the "south" (making a right turn). How can i make sure that the camera follows the car such that the car always "appears" horizontally on the screen & to the user?

horoblast's avatar

horoblast

Member since 18 Feb, 2016

None one is following horoblast yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies