EzekielRage's Forum Posts

  • Illegal bump because i already went mad over this XD

  • hi there

    https://www.scirra.com/tutorials/4839/c ... sql/page-4

    i used this tutorial to do my own online leaderboards.

    it works, but i cant post any score. I dont think its the databank, i think its the code itself because even from this very sample capx if i click on submit after entering my name, nothing happens and the score does NOT get posted, the code does not do the step it woul ddo after successfully posting.

    so, is the code broken or is it really the sql and the code checks if i did it right?

    also, is there a way to have less empty space between name and score?

    many thanks^^

  • Well, I figured out the problem, it was human error of course. Nevermind then, thanks for your time

  • Can't do that > NDA, otherwise I would have done that...

  • So I am doing a day night system and the idea is that I say that between hours 6 and 17 is day so do vertain things

    problem is that doesnt work. the game completely ignores the time.

    now i commented everything else out to ensure its not another problem and it doesnt seem to be the case. i did the same thing with a night setting, that also didnt work.

    i can work around that but i figured before i do more work for nothing i ask if i overlooked something obvious^^

  • I already said, I REMOVED that right away. So your investigation probably skipped that part. Anyway, i found a solution involving Global Variables, something I wanted to avoid but whatever. I still thank you for your time and effort, though.

  • None of you reading what I previously wrote means none of you are helpful. Except Prominent who actually read what i wrote.

    But it's okay, i'll figure it out on my own...

  • i know all that. the problem is that the layer DOES NOT keep the data but resets it. thats the whole problem why i tried global objects to be gin with shich i removed already. the problem still stands that everything on the global layer keeps getting reset and no, there is no code issue as i put it on a seperate layout without event sheet as per your suggestion.

  • Okay I narrowed the problem further down.

    i have a global layer and on this layer i have some graphics and a font. every time a new layout is loaded all things in the layout INCLUDING the global layers are re-created. everything reset for some reason so i made my objects on the global layer global as well. now they stay AND get recreated, explaining the doubling.

    but why are they recreated every time i load a new layout, isnt that what global is for, to prevent that inthe first place? and why only with layouts i visit for the first time? if i visit a layout again, it doesnt happen.

  • Okay I tried that and exactly the same thing happens. Every time i load a new layout everything on the global hud is loaded too, resulting in everyhting being doubled...

  • No I did not and no I have not. Let my try that. Although I HATE video tutorials^^

  • So I created a global layer for my hud, which is nice. THe problem is every time i change layout, the engine adds all events on that layer, basically duplicating them. so on layout 8 i already have 9 HUDS over each other, that of course eats framerate considering i have over three dozen layouts. any suggestions as to why and how to fix that?

    I use the latest beta^^

  • Thanks for the quick help my friends

    I downloaded both files and I'll see if I can put them to use. Thanks a ton, much appreciated

  • So I tried the search function, apologies if this ahs already been answered, i didn't find an answer.

    I want to make an elevator. Basically a sprite that sits there. Player walks in, presses the UP arrow. Elevator checks what floor we are on and if we are on floors 0 1 2 elevator goes up. if we are on floor 3 elevator cant go up.

    same goes for down, obviously.

    i tried many approaches withg ravity, 8 way movement,s bullets, variables and whatnot. no idea how to do that

    would somebody be so kind and nudge me into the right direction?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • rehi,

    thanks for the message , i did change the sound situation to avoid this problem and prfer thenew way so this is kinda not an issue anymore. but thanks for your time, much appreciated