jobel's Forum Posts

  • mOOnpunk

    So i should set it to rgbEx(100,100,100)?

    I think the c3 manual needs updating as i can find no mention of "set color" in there. This info would be helpful.

    so YES --the answer for anyone searching high and low to find this information-- it resets back to the original sprite color when you do: Set Color rgbEx(100,100,100)

    This really is the annoying thing about these new forums... No one at Scirra is on Doc duty.. so you have to dig through the forums to get this info... it was okay in the past because the search function worked decently.. now its terrible. (it took me at least 15-20 mins to find this basic info about Set Color)

    For example go into the current C3 Doc and type "Set Color", you will literally find nothing, I can't find it anywhere in the current doc, let alone all this info about tinting. It's very frustrating.

  • dop2000 so did you go into your C2 project and make a spritefont object to replace each spritefont+?

    I have a mobile game that I completed in C2, it has about 20 spritefont+ objects that are animated/fade/effects that I haven't even touched it, but I would like to port it someday... sort of dreading the spritefont work though...

  • Asmodean ah excellent thanks!

  • I have this code:

    Keyboard On SPACE pressed -> Browser Request Fullscreen
    Keyboard On ESCAPE pressed -> Browser Close
    

    if I hit SPACE, game goes fullscreen, then ESCAPE, game goes back to windowed, hit ESCAPE again, game closes.

    if I hit F11, game goes fullscreen, then ESCAPE, game immediately close.

    is there a way to make the game do the latter and immediately close when hitting ESCAPE? (when hitting SPACE to make the game fullscreen and not F11?)

    Tagged:

  • 13spongg13 not sure what you are referring to regarding typos, I didn't mention anything about typos.

    there are many reasons for enums and bools, for me it's all about readability and being able to look at something months later and quickly get up to speed on what I was doing. It's also nice to be able to loop through enums.

    net-informations.com/java/basics/enum.htm

  • WackyToaster that works great thanks!

  • thanks..

    WackyToaster I've looked into Firebase a while back. do know any resources of where to begin specifically in construct?

    this seems out of date maybe? construct.net/en/tutorials/getting-started-firebase-1117

  • Hi does anyone currently offer to add an email address directly from within a game?

    If so, what methods are people using to send this info to a secure online database? are there any tutorials or threads on this? Search came up empty (but search is terrible these days)

  • Is there a way to use TABs in Text Objects so that I can format variable text lengths and make fixed columns?

    Tagged:

  • I know this topic is old, but I put "enum" in the search and this is the first hit. I searched a few of the other "hits" yet no enum was referenced.

    Just wondering what happened to this idea... either ENUMs or Instance Constants, was/is there another alternative?

    EDIT: just realized this is in C2, but my question is really for C3

  • yeah make a new temp project and copy and paste the art and the spinning code. then post the Google share link here and we can look at it for you.

  • Nepeo that would make sense.

    Each row in my CSV is a "level" and stores info about that level. so when the player goes back to that level it "remembers" its shape/size, type, enemies etc...

    So I could probably fix it if I make my own loop variable? I could easily do this since I have a static number of rows.

    Does a function complete in one tick?

    i.e

    if I loop through CSV and inside I loop through the entire CSV to get aggregate data and return it, then apply that to each row. That will work yes?

  • So I am using the CSV plugin by Rex. I've been using it for years because I like it better than Construct's arrays or any other database format. I just build spreadsheets with as many rows and columns as I like and it allows me to save all the data I want between layouts and I can reference it by column name.

    So I started using the new functions-built-in with a return and I ran into a problem.

    I made a function that cycles through my CSV database crunching the data and returning a value.

    But I also have some code that cycles through the CSV but then calls this function above. So both are reading the CSV and I'm using "For Each Column" in both which utilizes the CSV.CurRow and what happens is the CSV-data after the function call (that also references the CSV) is all zeroed out.

    I tried a "Wait for Previous Actions" but it didn't work.

    Is this a limitation with the CSV plugin or something I'm doing wrong with Construct built-in Functions?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • looks great, are you still looking for testers?