RookieDev's Recent Forum Activity

  • https://www.scirra.com/tutorials/583/ea ... g-an-array

    Here is an easy inv done using arrays, This is more what i think you are asking for.

  • R0J0hound Is the anwser really that simple or are you trolling me? I feel like you are not trolling but assume that i know the outcome,im quite sure that my post explains in detail that im no good with these arrays, -1 is not a viable anwser for me since im pretty much lost.

    All i need to figure out is how to make this work with my capX or what im doing wrong so i can fix it. There is no way that many people can learn arrays without running into some issues if you are doing everything alone and not with a partner.

    Im straight up confused about these arrays and im starting to lean towards different ways to get my game complete,I have spent alot of time trying to learn arrays alone in scirra construct and everytime i just feel like im a burden to the community.

  • R0J0hound Here is my capX if you could show me what im doing wrong i would be very grateful.

    I dont see where i am making a mistake, I tried using the syntax you showed but it ended up making all tiles turn to grass. I dont think my approach is the best.

    https://www.dropbox.com/s/z0qvx32mtrdyd ... .capx?dl=0

    The sprites inside this capX are free to use for prototyping if anyone needs it but do not use them for revenue.

  • Exactly, I feel like having assets on the store would be better for people who want to know for sure that the art they use is safe.

    It would be plain as day and make life easy for alot of people.

    Why would i want to run around checking website after website when i could come here where i bought the program and use sprites made by other people who use this program.

    With the economy the way it is it should be a nobrainer to add some free stuff,If anything it is good marketing and i dont think anyone would complain.

    Scirra store is a platform and should be used as such regardless. The engine allows you to make free games without the need to pay so why not offer free sprites for people that do pay.

    Tom i do understand what you mean when you say that there are several different sites for that like OGA OpenGameArt.com but even they can not keep track of all the art that gets posted.

    Atleast here you have a profile and if you sold art that was not yours it could be attached to your name making it that much harder to get away with copyright fraud

  • R0J0hound That was my issue,I dont understand how. How can air be 0 if my sprite value is 0 so my question would be how do i replace the value for air?

    Can I? Or what trick do i have to pull off to get this to work in a way that i can understand.

  • R0J0hound

    Correct me if im wrong, will this work if my array is setup using sprite frames?

    0 is the initial value of the dirt so how would 0 be the value of an empty array cell?

    Im filling the array with one sprite and setting the frame to the cell value. Im missing something.

  • R0J0hound Wouldnt this same expression work if i was trying to spawn something ontop of the dirt aswell? If my mind is working correct it looks like it would.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • LaDestitute Thank you for the help i sent it to your inbox. I apollogize aswell for not posting links, I have been gone for a long time so im getting back in the mode.

  • LaDestitute I have a few addons inside C2 now that i think about it. I have NoiseJs. And Magicam. Im sorry about that but im not sure you can open it unless you have those installed.

    My random generation comes from perlin noise.

    I am still willing to hear your feedback about this issue.

  • LaDestitute Sorry about that it is a 2D Platformer like Terraria.

    I can send you the capX

  • Hello everyone,

    Im having a few issues trying to figure out how to check if my solid block inside my array is exposed to air above.

    I want to spawn something ontop of those spites if it is exposed.

    whats messing with me is the fact that my array generation is random so i cant call one code to just fill a row and change anything in particular. I want to make a dirt block turn to grass and also have a tree sapling spawn/created in the cell and only the cell right above the dirt sprite.

    I looked around but didnt see any capx files that show how to do this. The event will only be called once and that is at the start of the game, After that the code will be useless.

  • LittleStain WOW! I feel so dumb! I did not realize we had this in the engine. I have been away for awhile so i missed alot of additional adds to c2.

    Thank you so much for this information. I really am in disbelief that i managed to overlook that.

    Your still just as helpful as ever hope all has been well for you over the months.

RookieDev's avatar

RookieDev

Member since 9 Apr, 2013

None one is following RookieDev yet!

Connect with RookieDev

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies