sleepingpanda's Forum Posts

  • Hey, Construct-ors! ????

    Back in August 2016, I started working on my own infinite horizontal scroll game, called Bikosaur – A fusion of "Bike" and "Dinosaur", you got it!

    Since August 18th 2017,I released the 1st version on web, iOS and Android.

    You can play/download it here:

    You can view top 100 leaderboard on game's homepage: bikosaur.com

    Here is a quick video of the gameplay: youtu.be/jPOu7PCNx24

    I'm really looking for some feedbacks, and hope you enjoy it.

    Game is free, and without any ads. I plan to make some updates with (ofcourse) bugfixes, but also new features (like background changes, new enemies, new power-up items, some bike or dinosaur customizations, etc).

    Title screen:

    1st game tutorial screen:

    Unicorn Steak power-up screen:

    Game Over screen:

    ---

    What's next

    ---

    I'm quite satisfied with this version.

    I guess it's missing a few ideas, but I mean the game is playable, and has some challenge (due to its leaderboard) - which should be enough for you to have fun with.

    Anyway, I plan some updates with bugfixes, and new features such as:

    • Switch to Construct 3, and make it compatible with;
    • Enhance leaderboard view (more results, better design, fix text character issues);
    • Add some sort of Levels (with different backgrounds and ennemies);
    • Add some bosses that give some bonus points;
    • Find a way to get some money back (random ads, in-app purchases, etc);

    ---

    Controls are:

    ---

    • Desktop (PC & Laptop)
    • UP arrow key to Jump. Press again to double jump.
    • RIGHT arrow key to accelerate for a few sec. Only on the floor.
    • ESC to open Pause menu, then you can click on buttons using your mouse for navigation.
    • Touch (Mobile & Tablet)
    • A to Jump. Tap again to double jump.
    • B to accelerate for a few sec. Only on the floor.
    • Pause to open Pause menu

    Thanks for reading.

    I can't wait for your feedbacks.

  • Thank you,

    I gave a try to using Timer behavior instead of Wait function and it works like a charm. Your .capx example is also very useful.

    I was aware of the theory behind Timer behaviors, but I didn't really give it a try.

    I thought using Wait functions was lot easier, and Timer behavior functions lot more complex.

    But well, I was wrong. Now I can say you definetely got a more stable code by using Timer functions instead of Wait ones. At least in that kind of situations where you want to play around with variables value for just a few seconds before any other events happen.

    I also figured out that using System variables instead of object variables (on the player character) fixed a few issues on my code.

    Again, thanks a lot.

    Kr,

    Antoine

  • Thanks AndreasR for your quick answer.

    First of all, I wish you a Happy New Year.

    Thanks for sharing your links.

    I think I will first try to play with Construct 2's GameCenter function, and if I can't get it to work. I will then try one of those Cordova/CocoonJS plugins.

    S'ry about that I'd really prefer to use C2 functions instead of depending of external ones. For now, even by googling it, I can't find any detailed tutorials.

    Kr,

    A.

  • Hello guys,

    Do you know a good tutorial on how to use the GameCenter plugin from Scirra?

    I googled it, but I can't find one. I only see tutorials for other Cordova or CocconJS plugins...

    I really want to try using Scirra's GameCenter things in order to create following:

    • Authenticate User;
    • Save datas;
    • Add a leaderboard feature;
    • Add some achievements.

    Thanks in advance.

    Cheers,

    A.

  • Thanks for your tutorials, AndreasR.

    They're really well written! I now have my 1st Construct 2 game available for internal tests via TestFlight from Apple.

    Anyway, may I ask you if you know any good tutorials to implement GameCenter features in a Construct 2 game?

    Mostly to see how codes/events should look like.

    I would like to add a GameCenter leaderboard to my game, but I'm wondering if that's possible by just using GameCenter plugin from Construct 2, and not using an external one.

    Regards,

    Antoine

  • I also had the same issue... Some icon specific sizes (actually ones for iPhone/iPod, and iPad) that were missing. Thanks a lot for the solution!

  • How do I make the konami code spawn a charecter. I know how to type it and every thing but make it do something

    In order to spawn an object, you need to already have one instance of this object on your layout.

    Put it off your layout scene, or somewhere else with Opacity 0, then use your Konami Code event to create it and place it where you want.

    I guess that's kind of the way to go for.

  • In the event(s) that decrease(s) the value of ScorePoints, instead of using an action "Substract from global variable", prefer to use "set global variable value" and use the clamp() expression.

    clamp(ScorePoints - 1, 0, 999)

    Clamp is a system expression that limits the returning value between the min and max values provided.

    In the example it limits with minimum value 0 (so never negative) and max value "999". Adapt max according to the possible scores that can be achieved in your game.

    Ok, I gave it a try and this is perfectly what I was looking for. Very easy to use, and relevant to what I need.

    Note that I used a constant Global Variable for the max. highscore.

    Thank you very much!

    This is a pretty easy fix:

    When score < 0 set score to 0.[/code:1v8cfctn]
    
    Or you could use Kyatric's solution. That's probably a better choice in the long run.
    

    Thanks, Goodfeet for your suggestion anyway.

    P.S.: S'ry for this late answer, but I work on my game aside my daily work... It is a side project, so I do it in my spare time. That's why... But very happy you answered fast, guys.

  • Hello all,

    I'm currently developing my first game with Construct 2, and I'm facing an issue. Well, not really an issue, but I understand I probably made a mistake while building my highscore feature.

    So, in my game, there is a Global variable: ScorePoints = 0.

    On my HUD, this is simple text that shows current player score.

    Player can earn points by collecting items, and killing ennemies.

    Player can loose points by being hurt, and dying.

    Each time these events happen, it add or remove points to my ScorePoints global variables.

    Everything was fine until I realized there was something wrong:

    [quote:3gfvu26v]At the beginning of the game, player score is 0. So, if he is being hurt, or die, at this time, he will lose points and its score is going to be a negative value.

    This might looks stupid, but I absolutely forgot this case... Now, I am wondering how should I build my player score to avoid this. Is this possible to avoid negative variable? I'm probably missing something.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am facing kind of the same issue in my current game project as I really want to get exact pixel perfect assets in my game.

    As Thirstyy said, using the Letterbox integer scale can really help to do so. Because this preserves the aspect ratio of your assets by scaling to an integer scale; like 1x, 2x, 3x, etc. This can be really useful if you want your game to run on different screensizes such as targeting multiple kind of mobile devices. There is a good tutorial from Scirra here: https://www.scirra.com/tutorials/73/sup ... reen-sizes

    For example, my game is going to be played on iOS and Android. As reference resolution, I picked 1136x640 pixels, which is the standard Retina iPhone 5 landscape resolution. By designing my assets 2x higher than its original size, I realized that my assets render better when viewing at scaling sizes.

    Hope this help, and I wish you good luck in your projects. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

  • It would be more efficient to view your stars inside your level design. Your inner gradient looks perfect, but to choose which border fits the best, I would say it is depending on the context you will put it in.

    Anyway with a white background, my fav is definetly n°2. Mostly because a "dark orange" border enhance your star gradient well. Another point to notice: I would not use a complex border design - It is definetly not what our eye needs to focus on, right?

    Hope this help.

  • Very interesting thread. Worth reading! Thank you guys for your feedback.

    Well, my turn.

    Huge fan of videogames of all kind (RPG, Platform, Strategy, and Driving mostly) since I am a child, I started working on my own 2D platform game back in 2009. Afraid of gaming development, I put it aside... Thinking it was impossible.

    Anyway, 2 years ago, in January 2014 I became freelancer and came back to my idea of creating my own game. I now have almost 6 years of experience in the Web industry, and I feel more confident.

    I try to work on my video game every time I get some free time. Sometimes 1 day or 2 days per week, sometimes juste a few hours, but I try to focus step by step. Quite slowly, yes, but efficiently.

    What I found really helpful is to write or draw everything that comes in my mind. Any idea or concept, at any instant of my life, I write it down and come back to it later.

    Sometimes you desperate. This is normal, we are human. We sometimes need to get down to come back higher. When I loose motivations, I try to focus on my goals, and when I get stuck somewhere, I put it aside and get it back later.

    Being a indie dev is not that easy, but this is definetly a long but exciting journey!

    Well, I hope you will find it useful.

    This was just what's in my mind and what I wanted to say after reading all your interesting posts.

  • Hey, there!

    I am Antoine Guédès, also known as Yoshi! in games.

    I recently followed a conference about Construct 2 organized by the BIGA (Belgian Independant Game Association), and I'm kind of seduced by its major features. Especially because I haven't strong knowledges in gaming development.

    Since 6 years, I'm a Visual Designer & Front-end Developer. I became freelance at least 2 years ago, and I am planning to give a try to game development.

    My one-person gaming company is called Unicorn Studio, and I am currently working on Nutsfantasy, a retro style 2D platform game for mobile (and maybe on other platform if it succeeds). I plan to launch it during next year, or 2017.

    Well, have a nice day!