jdejean's Recent Forum Activity

  • dop2000 Thanks so much for your kind answer, I'm trying to figure it out yet, I'll try to give a proper answer soon :)

    I see you read the names/scores as json locally I can imagine this can be done remotely too, however I'm trying now to understand how to format my mysql data into json now but I am still lost... Not sure what path to choose, since my knowledge on any path is pretty low.

    I have tried to format mysql data as json using php, yet I havn't been able to make it work... yet :P

    Do you have any other tips or ideas on how should I see this?

    thanks so much again!

  • Maybe this helps :)

  • Hi everyone, I need some advice :)

    I´m working on a visual leaderboard that loads names and scores from a MySql database. Everything is working fine when loading a classic leaderboard.

    I am trying to make it more visual, let´s say a car race with each user being represented by a car.

    So far things are "ok", but, I´d like to place the name and score with each car, but since array data is loaded based on each instance variable, I´m having a bit of trouble with this.

    Also , as a second thing, since scores are loaded from top to bottom into the array, I always get the same visual shape (looking like: "/"), and I would like each car to keep it´s Y position. I´ve been pulling my hair with this one

    Is that possible at this point? Am I approaching this with from a good point of view? Should I try to get the cars/position from the mysql database?

    And as a third thing: Cars right now set their x position based on scores/pixels. How could I set a % based on the overall scores?

    Any opinion/help is super welcome, thanks!

    This is exported right now in: badablu.com/desarrollo/visual_leaderboards_v1

    And the c3p file is in:

    badablu.com/desarrollo/visual_leaderboards_v1/visualLeaderboards.c3p

  • winkr7 thanks so much for your message, I am not having struggle with generating random or frames, maybe (possibly) I didn´t explain myself better...

    I have random falling cards, with random falling numbers, that the user needs to drag to the correct bin before they reach the bottom of the screen.

    How can I pin the random generated text to the random generated card so user can drag both at the same time?

    If I pin the text to the card, next time a text is created it pins to that card, not the new one.

    If I set the position of the text, same happens.

    I would basically need to create both card and text, pin them together, and move them together.

  • Hi everyone, hope you are doing great,

    I am working on this game where you have to drag falling cards to a good/bad bin depending on their content.

    Right now I have 20 different images with their content already embed, and I can say if they are good/bad using an instance. (20 frames on the sprite animation, if animation.framecount is less than 10, set instance as good, if it´s more than 10 set instance as bad) on drop, it compares the instance and if matches, user gets 1 point

    This works fine, however, I would like to have more options without making dozens of cards/frames, mostly, because of the final loading times.

    I am trying to think how this should work, cards have Bullet behavour, and they are created every x seconds on the top of the layer.

    How can I attach different texts to different cards? Is this something doable, or am I overcomplicating things? Should I just go with image cards?

    If you think there´s a good workaround, where should I start looking? arrays? I´m not a complete unexperienced here, but I´m far far from being good with them

    Thanks so much in advance for any tips :D

    Have a great day!

  • Hi Newtonplays, no idea if this is a good method, but really does the trick for me. I just use CSS stile over the TextImput object on start of layout eliminating border, color, focus, set font size, color, font family, etc. and then just add my custom sprite over all.

    So far works great, I am sure there are better methods, but this one works great for me.

  • After pulling my hair with Sparsha´s amazing firebase Plugin, there are two main things that cause a black screen (had the same problem many times)

    Please notice I´m not an expert, just had the same problem many times.

    Check:

    1. Worker mode is disabled

    2. You need to tell FirebaseAuth, firebaseAuthpro, FirebaseRdBasic, etc under properties, Choose SDK Object and select FirebaseSDK

    This 2nd option it´s always a thing for me, I keep forgetting linking them

    Hope that solves your black screen, If not, I´d suggest you to ask in Sparha´s Construct Firebase Discord chanel listed with the files downloaded with your plugins.

    Everyone there is super helpful, specially sparsha, who I cannot thank enough one time I had a similar problem, he gives an amazing support :)

  • Hi everyone, thanks for all your answers, I managed to make the player have its Y position based on boolean

    This is what I did and also I`ll be leaving the c3p file in case someone finds it useful as a starting template :)

    Thanks!

    badablu.com/desarrollo/c3/runner2worlds%20templatejdejean.c3p

  • Thanks so much for your answer, Tomy

    I guess I am having a missunderstanding that goes deeper than this example... shouldn´t toggle boolean work like a switch?

    If it´s true, turn if false, and if it´s false turn it true?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone, hope you are doing great, hopefully you can give me a hint on this one, sounds super easy, but I have tried several methods without much luck.

    I would like to make an endless runner game, but the ones that you can change positions on Y while playing

    I have a boolean that makes the player change Y position. But once it does, it is stuck on the Y position I just gave him.

    How can I make this event only play once? (Set Y, and then leave the player on its own again ¿?) I have confronted this before on other examples, hopefully I will be able to understand it someday

    Do you think this would be the correct approach or should I change the method?

    Thank you so much in advance :) Best Regards, J

    Tagged:

  • Hi HORTATONN hope you are doing great,

    I just saw your post and see no answers... did you find anything?

    Thanks!

  • Hi everyone, hope you are doing great,

    I am decided to make a tetris like game, and started using falling shapes game in c3 as a start/guide

    The file is super commented and "easy" to follow, but I cant place the main game in the center of the screen.

    Ideally I would love to center it in a wide screen, and if seen on mobile, cut the screen from left and right at the same time.

    Any suggestions?

    Here is where I get really lost

    This is what I would like to have:

    I dont know if I should center the game, or place graphics outside and how to make them visible from the middle (I do get this when the game is on the left side)

    Hope what I am saying makes any sense! Thanks in advance

jdejean's avatar

jdejean

Member since 12 Jul, 2016

Twitter
jdejean has 2 followers

Trophy Case

  • 8-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies