eka's Forum Posts

  • Hey eka, I don't want to distract the topic but couldn't find a DM feature on the forums, so I'm replying to you.

    I'm working on my first game, and I'm a novice in programming, but can follow instructions.

    I want to implement an online Leaderboard / Highscores system to my game also, but couldn't find any recent tutorials / posts for C3.

    How did you do yours? Can you please point me towards a guide / tutorial (if there is). I'm not concerned for the security part (yet) :))

    Hi

    If you want multiplatform you can use Playfab that they provide free accounts and they have a Javascript SDK that you can use from Construct 3... But bear in mind that the sending Highscore thru web game can be *easily* hacked.

  • Hi,

    I have a simple game like Flappy bird where you also collect coins of different values, the value is visible on the coin to collect.

    The problem is that the score is sent at the end of the game to the server via an HTTPS request, but this is easily cheated sending the request by hand on the Browser looking at the network log.

    I was thinking on what would be the best approach to solve this dilemma?

    I'm using PlayFab as the server, they provide server side code.

    Anyone solved this problem?

    Thanks

  • Hi, this post is to ask how to approach level design on Hyper Casual games with 1000s of levels.

    I'm taking Helix Jump as an example

    Subscribe to Construct videos now

    To this day I'm not sure on how to approach something like that.

    My take on this is the following:

    I would have pre-made platforms.

    A helix

    Different color palettes.

    I was thinking on having a pattern of Platform Types each N levels and the length of the Helix would be based on a function.

    Base Len * Lvl * (constant) or something like that having a min and max length, I came up with something useful but don't remember right now.

    As per the distribution of types of platforms per level I was thinking on having a data structure having a list of platform types per level range like

    from 1-10 Platforms[1,2,3]

    Then something more advanced on that, having some variable that regulates how many of the type will be spawned vs the other types for the lvl.

    So that's where I get stuck and can't come up with better ways to improve the level design.

    About the original game, I was thinking that maybe there are no golden rules and they started with some harcoded or crappy random generation and then improved on the run when the game started making money, ex: code monkeys to make levels by hand? Improve the level generation function/algorithm as they go with trial and error (patching), etc...

    So, the question is if there is anybody out there with some insight and experience on what would be the best way to approach a game level generation like this one.

    Thanks!

    Tagged:

  • Also, would I be able to do things like login to your account on any device via a username and password? It would probably be similar, right? And yeah, I don't want to spend any money yet, that's why I mentioned PlayFab

    With PlayFab you can do Login, in fact you need that, but you will need to code the client side part using the PlayFab SDK if you don't want to spend *any* money.

    With PlayFab you can avoid having to maintain your own server, do the backend programming, etc... But still programming knowledge is needed as usual.

    Here in the PlayFab SDK github.com/PlayFab/JavaScriptSDK With that and C3 JavaScript feature you can start builind all that.

  • If the code is unique across many players you need a server to store which codes were used or not.

    You can try Playfab that offers free accounts.

  • I miss C2 because I could simply go to my computer and delete the files directly. However, I realize that things change in C3. Fine.

    However, I added in a clear storage with LocalStorage at the start of my game to try and clear it, but it still seems to not do that at all. Do I also need to save in local storage as well somehow since I'm currently using system function of saving a game to a slot under "mysave"?

    I did the following: Created a button on the main screen for clearing the local storage and a global variable called DEBUG, so when that variable is 0 I destroy the button so there is no button on the screen.

    I keep the DEBUG = 1 and when I need to publish/deploy the game I change it to 0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh didn't come to mind to add as sub event.

    Will try all the suggestions.

    Thanks to all.

  • Hi

    I seem to not grasp how While works, I'm trying to implement a random pick without repeating the last pick so this is what I'm trying to do:

    LastPick = -1

    CurrentPick = -1

    While:

    LastPick = -1 OR

    CurrentPick = LastPick

    CurrentPick = RandomPick

    LastPick = CurrentPick

    This is the current Screenshot:

    I'm sure I'm making something wrong.

    I think the problem is the 1st OR between the While and the first Condition.

    Maybe there is a different way to do this?

    Thanks.

  • Try the following:

    runtime.objects.Multiplayer.getFirstInstance().MyID

    Here is the docs about `getFirstInstance()`

    construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/object-interfaces/iobjectclass

  • Kenney I bought all your packs bundles, you are doing an amazing service for all those devs without art skills like me. Thanks.

    BTW Asset Forge is coming out very neat, keep up the good work!

  • I found that there is a list of Cordova plugins here construct.net/en/forum/construct-3/plugin-sdk-10/build-server-cordova-plugin-149266

    But I read closely and it says 'whitelist', does it means that those are the ones allowed for AddOns development, are any of those included in the project?

    If they are can I call them from my scripts without having to create an AddOn?

    thanks

  • Hi,

    I have this login form in the game and the keyboard takes a big part of the screen obscuring the login button and I can't close the Keyboard.

    How can I either send the form data from the keyboard or close the keyboard?

    Thanks

    Tagged:

  • Thanks! Yeah I found that just after I wrote this post... changed all the Layout coordinates to Viewport.

  • Hi,

    I'm having problems with different screen sizes on mobile.

    My game is made as

    16:9 Landscape 854 x 480

    Viewport Fit Auto (also tried cover)

    Full Screen Mode Scale Outer

    The problem is that I have objects that I'm spawning at the border of the layout to the left towards the right... but when facing a non standard screen ration like the Pixel 3a 1080x2220 The game covers the whole screen BUT the when creating objects at the border of the layout the layout don't start at the beginning of the screen.

    In the screenshots you can see a checkered pattern that's the size of the layout.

    Here are some screenshots:

    And here is a video:

    Subscribe to Construct videos now

    So my question is how to be able to always create objects at the border of the screen?

    Sorry if I missed something really obvious.

    Regards

    E

  • Hi,

    I have this project with some layouts and a preloader, that would be the first layout, and I find that most of the time when I want to debug I have to go to the Preloader layout and run Debug Layout. If there were a Debug Project button also, that would save me to look at all the open tabs.

    Thanks.

    Tagged: