Sami424's Forum Posts

  • Hello, I have a problem. I want create FPS and i dont know how set bullet angle for Y axis?

    thank for help :)

    This looks very awesome mate keep it up!

    For your issue, try to manipulate the z elevation of the bullet, so if you want it to fly forward it has to substract 1 from z elevation each tick or whatever speed the bullet is going.

    Quick example is creating a variable called bulletZ, add every tick set bullet sprite z elevation to bulletZ

    and then after that i would add like "every 0.2 sec > substract 1 from bulletZ".

    This would make the bullet appear flying forward.

    Then you will ofc have to implement your way of firing the bullet i just gave you an example that i think would work. Like add a function to shoot the bullet, check z elevation to destroy the bullet once its like -100 z ele

    Let me know how it works out, again, seems like a nice game :)

    P.S: If you worked with 3d shapes before, z elevation is way easier to understand.

  • I have a turret that on shoot should spawn cones, that shoot at the enemies. By default, when creating a new object at it's place, it is being created at the center of the turret.

    As you can see, this looks really dumb:

    I would want something like that:

    Therefore I need to shift the position of the cone to the edge of the "front" edge of the turret. (The edge it turns to the enemy.) I tried to do so with some Maths, but I failed badly (geometry isn't my strength after all). Is there a possibility to tell Construct to not spawn it in center, but rather at the edge of the other object?

    Like dop2000 said, click on the sprite and open the image editor and add a new imagepoint to the sprite, hold shift and click where you want it to be(holding shift will add a image point to all frames in the animation)

    After that you just PIN or CREATE the object on that imagepoint that you created.

  • Could He not do

    Object is on screen

    Trigger once

    Set animation 1

    Then invert it for when its not in The screen?

  • If you are comfortable with JavaScript, you should check out zxing-js, I'm guessing it wouldn't be too hard to use it inside C3.

    I will check this out! Thanks.

  • 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 :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.