GeorgeZaharia's Forum Posts

  • Hey guys!

    Does any of you out there know how to make a slot machine game?

    Please some tips!

    Thanks!

    check this tut on scirra.com/tutorials

    scirra.com/tutorials/1137/fruit-machine

  • giphy.com/gifs/cA3VBmcNidt9fqC2wR

    That looks fun! Happy that i could help. Cheers!

  • is it also possible to store images in firebase and load them one by one when keep scrolling down the screen? This is the one I want to make. (like 9gag infinite scrolling with many images)

    If the sprite load img from url works then yes, would be possible, you would create a empty sprite and load a image url from Firebase and in theory should work. However i never used Firebase so i leave that answer to someone who already did it.

    However you would have to create a tiledbackground lets say and increase its size whenever a new image is loaded and use drag and drop, or a custom scroll to lets say to move the tiledbackground in reverse of mouse/touch position which would move the pinned image sprites with it up and down. Again in theory is doable.

  • I made my own sprite of frequency bars, will definitely try that out, thank your very much for your time and help! Appreciate it a lot man ;)

    No problem, i made a quick update in the C3 file so the bars increases when beat hits instead of shrinking, everything else is the same, for those that have the C2 file you might want to change the

    from

    10+abs((Audio.AnalyserFreqBinAt("music",0,Self.binNR)*Gain))

    to

    250+((Audio.AnalyserFreqBinAt("music",0,Self.binNR)*Gain))

    it will react a bit better.

    Those that have C3 version just redownload the file.

    If you don't want the big gaps between bars you can change the condition on Line 5 from > to >= and that will make all bars dance all time while still react a bit better but isn't a big difference at that point from the default Construct Audio analyser template.

  • When i said if has a angle set, i meant if the behavior has the checkbox of the parameter set Angle ticked, i miss typed that. If you have that checkbox ticked, it should work without changing the angle of motion or negate the speed to - or + value, but only changing the sprites angle by mirroring it. Since when you mirror the sprite the angle of the sprite is also reversed and the bullet basically goes towards where the sprite points at. Atleast thats how i remember working.

    Glad that you solved it eventually :).

  • totoe wow, thats your definition of patience ;)

    Thanks for sharing!

    Yea lol... No problem man. I also opened a blog adding all the tutorials and examples i make in the forum in there. Can be found here

  • totoe I have a lot of patience!

    Links updated! Have fun!

    Giving the FFT size recommended for mobiles is around 64-128 and for desktops 512 -1024 but if u dont worry about the cpu utilization then u can try 2^12 = 4096 FFT size which is more responsive and smooth visual effect.

    Download C3 file

    Download C2 File

    Edited:

    Note 1):

    Keep in mind that the result of the quality of the effect is direct influenced by the Audio files MHz size or SampleRate a sample rate of 36000 MHz Or 48000 MHz is preferable for best results. However a 16000 MHz Sample Rate has pretty good visuals also.

    Note 2):

    Might not be the best result, or how it should be made, but fakes the effect pretty good the approach i took.

  • totoe is there a construct2 example too you can share?

    No but it should apply to C2 also if you transfer the code to C2. Sadly has to be done manually since is not backwards compatible. I can transfer it myself if you have a bit of patience. :D

  • You mean like this?

    Download C3 file

    Download C2 File

  • Not sure if Blog post has a edit button yet, but i can't seem to find one, i have to save the content in a new post in a text editor and try my luck, then delete the post and create it again, for now works, but hopefully soon there will be a post edit button similar to the forum posts.

    While the edit Blog button is there when i clicked it i get this error message from my browser

    This page isn’t working www.construct.net redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS

    I followed chromes instructions on clearing my cookies on the specific site, and after removing all the cookies from Construct.net the error still persists and the Blog Edit button still doesn't work.

    Anyone else experiencing this?

  • You do not have permission to view this post

  • Hi guys, I'm trying to create a new app in C3.

    Can i make a timer for example, every 15 hours, (need to count even offline) or, for example, save the day in a variable and compare every day if the current day is greater than the previous day?

    but how would I do it on the 30th?

    It will click the button and a message will appear, every day I want the message to be changed.

    If anyone can give me an idea or solution, please ...

    I'm Brazilian, sorry for my english xD

    Get Full time UTC and Local

    Is based on w3schools get time and date tutorials

    you can save the values in Global variables or XML or Json or local C3 file even on a server and then compare it to the game current time.

  • can we share great CS tutorial youtube channel links here?

    I want to learn about CS but can't find good tutorial videos

    youtube.com/c/Construct <-- official tutorial channel from scirra. There are plenty others. but if your a beginner you will want to learn from the Construct creators themselves.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • so what I wanna do is displaying many images vertically

    so screen should be scrollable to see many images in one screen without going to another page

    hope to watch some tutorial videos for making general apps but can't find :/

    It can be done in different ways, depends on how you want your app to be made, for example if you want the screen to be big and just have the images already put there you can use this example using scroll to y. If you want to have a loading list that creates objects and you have the layout a fixed size, then you need to pin the listed objects to a container that is dragable using drag and drop. Those are the easiest ways to make a vertical or horizontal scrolling effect. if you want some more advanced stuff there should be plenty in the learn area or in the old Construct 2 tutorial area found still here, might be removed soon, so scout it fast. One good advanced tutorial for sliders with inertia for mobiles is this one.

    The above are my personal picks, but there might be even better and simpler ones. I remember one in Construct 2 as a C2 template coming with the editor itself. Not sure if is still available in C3.

  • I have a sprite called Arrow, with the photogram of an arrow, with the bullet behavior. But when I test my game, the arrow goes down for no reason. I established: Moving Angle: 45 and Angle: 45 when scene starts. The arrow moves to the right, but it drops, like if it had gravity (it is 0 in the properties of the behavior)

    How can I solve this? Is the initial arrow direction (image) influencing on it?

    As mentioned above left is 180 angle of movement and right is 0 angle of movement if the angle of the sprite object is at 0. if you want to face the sprite object that moves towards that direction use set mirrored for left and not mirrored for right.

    The move at angle behavior i think is co-dependent on the objects angle as well if you tick give angle in the behavior, so when you give the object an angle of 45 and a movement angle of 45 totals what the behavior does is moving 45 degrees more from the current sprite angle, which would be 90 that is down. to fix this you need to disable the set angle tick box in the bullet behavior, and use the above 1st mention.