Re: I just, coding is hard, help me!

2019-06-21 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: I just, coding is hard, help me! About wall versus platform? Have the wall tiles always contain something.  For example Masons detection is always wall something, like walldirt.  The platforms on the other hand never contain that sequence of letters.  This way a reliable if statement

Re: I just, coding is hard, help me!

2019-06-21 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: I just, coding is hard, help me! See that's my issue, I'm just not possitive how I would go about that. URL: https://forum.audiogames.net/post/443293/#p443293 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi

Re: I just, coding is hard, help me!

2019-06-21 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: I just, coding is hard, help me! You need to have a reliable way of detecting if there is a wall instead of a platform.  In your platform checking function, determine if it’s a wall or a platform. If it’s a wall, make players fall. Else, cause them to land.  Oddly enough, I never got

Re: I just, coding is hard, help me!

2019-06-21 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: I just, coding is hard, help me! Thanks for the help.It works!So I have another issue.When I'm jumping, and I hold an arrow against a wall, it plays the sound correctly, except it won't land. The reason for this is, I'm asuming, because it takes me into that tile, and then pushes me

Re: I just, coding is hard, help me!

2019-06-21 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: I just, coding is hard, help me! I call the bmenu if the input_box's input comes out blank. So if you enter nothing in the box, it will go back to the menu. It's not fool proof but it's the best I got so that I don't do spawn_tile(,dirt); At Charlie, you can circle your  code

Re: I just, coding is hard, help me!

2019-06-21 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: I just, coding is hard, help me! Why do you call the bmenu function within itself? URL: https://forum.audiogames.net/post/443222/#p443222 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo

Re: I just, coding is hard, help me!

2019-06-21 Thread AudioGames . net Forum — Developers room : cmerry via Audiogames-reflector
Re: I just, coding is hard, help me! Hi.The way I'd personally do it is through an array, like so.Note that due to issues with the forum not liking braces, braces here are replaced with blank lines, brackets with spaces, since I couldn't think of a better way to do it.string[] tilelist

Re: I just, coding is hard, help me!

2019-06-20 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: I just, coding is hard, help me! also, here is my tilelist string, maybe I could do this a bit better, I haven't thought of a good way: string tilelist="dirt grass "; string sourcelist=" "; Obviously no sources yet haha.It's supposed to put each line as a separate

Re: I just, coding is hard, help me!

2019-06-20 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: I just, coding is hard, help me! also, here is my tilelist string, maybe I could do this a bit better, I haven't thought of a good way: string tilelist="dirt"; string sourcelist=" "; Obviously no sources yet haha. URL: https://forum.audiogames.net/

I just, coding is hard, help me!

2019-06-20 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
I just, coding is hard, help me! So I'm trying to make a builder menu, in bgt like in sbyw, or tk, or other games like that, and I'm having trouble. When I run my code, witch I will explain later, it allows me to enter the coordinates in the boxes, but then when it gets to the menu