Sami424's Forum Posts

  • Bump.

    P.s: i can pay for help or a plugin that does what i want.

  • I posted this topic in the wrong forum i noticed.

    construct.net/en/forum/construct-3/general-discussion-7/addons-solutions-scan-166420

    If anyone knows any solution or tips, i appriciate it.

  • You do not have permission to view this post

  • I am looking for a solution to scan and recieve information from item barcodes, i have tried the QRdecode plugin and the QRcode plugin, none of them seems to work for me and the QRdecode plugin just gives a black screen.

    I need it to work on mobile aswell, any help is appriciated!

  • You do not have permission to view this post

  • Have you tried using the system > Else statement on the conditions?

    Since C3 loads code top to down, i have experienced issues using for example:

    On click > Animation frame is 1 > Set animation frame 2

    On click > Animation frame is 2 > Set animation frame 1

    So if i dont use "else" in between there, construct will do the first event if the animation frame is 1, but if i click the first button, it will change frame to 2, and run the 2th event instantly after.

    So, try to add a ELSE statement.

    Example from my own game code(ignore the UID part):

  • Use a variable called "lootchance".

    Lets say you click a button, set "lootchance" to random(1,100)

    After that when you want the player to get loot, you add a condition checking what number "lootchance" is set to,

    if equal to or lower than 82.87 > Give player loot common

    If equal to or higher than 82.88 BUT lower than 93,24 > give player loot rare

    if equal to or higher than 93.24 but lower than 98.42 > give player super rare

    if equal to or higher than 98.42 but lower than 99.46 > give player Epic

    if equal to or higher than 99.46 but lower than 99.98 > give player Legendary

    if equal to or higher than 99.60> give player Super Legend

    Prob a better way of explaining and doing it, I'm drunk, hope it helps anyways, merry christmas.

  • Giving it a play right now. It's fun :). It might be nice have the falling platforms respawn after a certain amount of time. I've just got stuck on the second level. I fell all the way back to the start, and the platforms are gone. D'oh! XD Only way is to die/restart the level. Which may be better if you are going for a good time run anyways haha. Just a suggestion.

    Overall it's a fun Holiday themed platformer, with solid mechanics so far. I'm going to try and play through the whole thing, to unwind for a while :). I'm looking forward to what comes up in future levels. I'm guessing, I want to avoid the angry looking snowmen that pace back and forth? Or can I destroy them somehow?

    EDIT: Spelling mistakes.

    Thank you Brian for testing it!

    The angry snow men could at first be harmed by jumping on their heads, but after some testing I removed that function to make the game a bit harder.

    About the falling platforms, yes the only way is to restart level, I figured it will be hard that way but still challenging, but now however I am working on some savepoints, so the player can "respawn" closer to where they were, already got a function to reset the falling platforms and the player, just going to think about if I want players to spend gems to get extra lives, or just redo the restart system so it restarts closer to where the player was.

    Again, thanks for your nice feedback! Merry Christmas!

    P.S: After lvl 10 it will get REAL hard.

  • I have released my game on the scirra arcade, it is a simple platformer but lots of fun!

    Feel free to try it, since i would like some feedback, is the levels to easy? to hard? Bugs?

    Any feedback appriciated.

    Merry christmas guys!

    construct.net/en/free-online-games/santas-platformer-34301/play

  • I was thinking about this for when I finally finish my game.

    Have you looked at in-app purchase to unlock/stop ads, then you only have 1 app to support.

    I have been doing some research and in order to publish 2 apps like that they need a different Id, that might not work for me.

    So options are:

    1. I make a freemium version, and then i add a in-game purchase where the player can buy the full game(just like buying ad free version)

    2. I trash the selling part and go freemium with ads

    Not sure what i am going to do, we will see :)

  • I am just wondering if anyone has any experience in pubslishing both paid versions and free versions of an app to google play, i have a full game with over 50 levels, that is paid, then i have a free version, with only 25 levels while the rest are locked, and also ads in the free version.

    My question is, do i publish this free game as another app in play console, is that even allowed? If not, how would you do to offer a "freemium" version of your game, but with ads, i know that you can use subscription to give out free trial, but that is not what i am after since i added ads on the free version, but they are not added on the paid one.

  • Are variables being reset when you switch layout?

  • This is exactly what i did, but if the player is in air, it still double jumps if they press the left or right button.

    Double jump is setup with a variable so If player is in air> Double jump is 0 > Touch > Set vector etc etc > set doublejump to 1

    EDIT: I Tried it your way by setting double jump enabled on the platform behaviour,that worked however its not as smooth as my own made doublejump, it only doublejumps if player is falling.

    Weird how this way does not work when I do the same but with a variable condition and instead of platform jump I set it to set vector, really strange.

  • I did solve it using a invisible layer with a "touchindicator" sprite that covers everything but the buttons, so I did on object touched > Jump

    However is this a good solution? Maybe not for performance? Layer is invisible.

    Anyone have a better way?

  • Alright so usually i know my way around this but I figured I will ask the community for the best way, in my platformer there is a left and right button for touch on screen, then i have an event where "on any touch > Jump " then after that it sets a double jump variable to 1.

    Then its On any touch > Doublejump is 1 > Jump

    But thing is when my character is in air, i want to be able to move it left and right, however when i click one of the button the character jumps/doublejumps to.

    I have tried ON any touch > Is not touching object BUTTON > Jump

    But still jumps when i move in air using the buttons.

    Appriciate any responses if anyone has a solution, i will just keep working on the other things while i wait for a reply.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads