I want to make a top down game

anybody, could you teach me the steps on how to make a top down game? i am using free edition

2 Likes

First @Ifureadthisimop Welcome to the forums and thanks for posting and joining our community and second allow me to help as much as I can.

It’s a bit complicated so I hope you really want this. First if all you need to know what code to use for a top down character which I’ll give in a minute.

Second I’d make a pixel art tile set of soemthing you can make houses out of or soemthing.

For example a brick wall, or a wooden wall and then the different tiles for that like some folksong images bellow:

7f7f41d44f0b21abfdc461eefa15b0f9

Similar to a Sprite Sheet like this. Once you’ve done a good few tiles work on a chacarter and then go start coding.

Use this example for his movement:

Here is an example of a sword or melee attack:

For inspiration for pixel art I would go here and also use this amazing free website:

If you need anything else I’m usually avaliable

3 Likes

thanks The_kodex!
:smile:

1 Like

this is what I got the first time i tried making a top down

Just remember to have this repeating box enabled or the movement will be very choppy
image

This could help, it’s pretty much like @Cuts_ups’s just in case you want to use it.

You can copy and import this into your game.

(Click)

Summary

{“data”:{“behavior”:{“v”:“2”,“nodes”:[{“inputCount”:0,“outputCount”:0,“name”:“top down”,“behaviorType”:“logic.NodeGroup”,“x”:-180,“y”:-64,“id”:“8709c387d8405a41”,“isMenuItem”:false},{“inputCount”:0,“outputCount”:2,“name”:“Keyboard”,“behaviorType”:“logic.triggers.Keyboard”,“x”:-270,“y”:448,“group”:“8709c387d8405a41”,“id”:“8709c38bf152da40”,“keyCode”:83,“repeats”:true,“delay”:2},{“inputCount”:0,“outputCount”:2,“name”:“Keyboard”,“behaviorType”:“logic.triggers.Keyboard”,“x”:-270,“y”:320,“group”:“8709c387d8405a41”,“id”:“8709c38bd24d534d”,“keyCode”:87,“repeats”:true,“delay”:2},{“inputCount”:0,“outputCount”:2,“name”:“Keyboard”,“behaviorType”:“logic.triggers.Keyboard”,“x”:-270,“y”:64,“group”:“8709c387d8405a41”,“id”:“8709c38b2bf6404d”,“keyCode”:68,“repeats”:true,“delay”:2},{“inputCount”:0,“outputCount”:2,“name”:“Keyboard”,“behaviorType”:“logic.triggers.Keyboard”,“x”:-270,“y”:-32,“group”:“8709c387d8405a41”,“id”:“8709c38b61ab7040”,“keyCode”:65,“repeats”:true,“delay”:2},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:360,“y”:448,“group”:“8709c387d8405a41”,“id”:“8709c38bae32af4b”,“startVal”:5,“tag”:""},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:360,“y”:352,“group”:“8709c387d8405a41”,“id”:“8709c38b5a5e2044”,“startVal”:-5,“tag”:""},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:360,“y”:64,“group”:“8709c387d8405a41”,“id”:“8709c38b4619fe4c”,“startVal”:5,“tag”:""},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:360,“y”:-32,“group”:“8709c387d8405a41”,“id”:“8709c38c100b1c43”,“startVal”:-5,“tag”:""},{“inputCount”:3,“outputCount”:3,“name”:“Velocity”,“behaviorType”:“logic.properties.Physics”,“x”:630,“y”:224,“group”:“8709c387d8405a41”,“id”:“8709c38c8109f241”},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:360,“y”:256,“group”:“8709c387d8405a41”,“id”:“8709c38cea71fc40”,“startVal”:0,“tag”:""},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:360,“y”:160,“group”:“8709c387d8405a41”,“id”:“8709c38c6b129043”,“startVal”:0,“tag”:""},{“inputCount”:0,“outputCount”:2,“name”:“Keyboard”,“behaviorType”:“logic.triggers.Keyboard”,“x”:-90,“y”:448,“group”:“8709c387d8405a41”,“id”:“8709c38c45c46045”,“keyCode”:40,“repeats”:null,“delay”:null},{“inputCount”:0,“outputCount”:2,“name”:“Keyboard”,“behaviorType”:“logic.triggers.Keyboard”,“x”:-90,“y”:320,“group”:“8709c387d8405a41”,“id”:“8709c38c28417c40”,“keyCode”:38,“repeats”:null,“delay”:null},{“inputCount”:0,“outputCount”:2,“name”:“Keyboard”,“behaviorType”:“logic.triggers.Keyboard”,“x”:-90,“y”:96,“group”:“8709c387d8405a41”,“id”:“8709c38c133aa84b”,“keyCode”:39,“repeats”:null,“delay”:null},{“inputCount”:0,“outputCount”:2,“name”:“Keyboard”,“behaviorType”:“logic.triggers.Keyboard”,“x”:-90,“y”:-32,“group”:“8709c387d8405a41”,“id”:“8709c38c782cc84b”,“keyCode”:37,“repeats”:null,“delay”:null},{“inputCount”:3,“outputCount”:1,“name”:“Switch”,“behaviorType”:“logic.logic.Switch”,“x”:180,“y”:-32,“group”:“8709c387d8405a41”,“id”:“8709c38d0de58947”,"_startVal":0,“dataType”:2},{“inputCount”:3,“outputCount”:1,“name”:“Switch”,“behaviorType”:“logic.logic.Switch”,“x”:180,“y”:448,“group”:“8709c387d8405a41”,“id”:“8709c38d2628ee46”,"_startVal":0,“dataType”:2},{“inputCount”:3,“outputCount”:1,“name”:“Switch”,“behaviorType”:“logic.logic.Switch”,“x”:180,“y”:352,“group”:“8709c387d8405a41”,“id”:“8709c38d46b0d84d”,"_startVal":0,“dataType”:2},{“inputCount”:3,“outputCount”:1,“name”:“Switch”,“behaviorType”:“logic.logic.Switch”,“x”:180,“y”:64,“group”:“8709c387d8405a41”,“id”:“8709c38dfb041e4c”,"_startVal":0,“dataType”:2},{“inputCount”:0,“outputCount”:1,“name”:“Always”,“behaviorType”:“logic.triggers.Always”,“x”:-90,“y”:224,“group”:“8709c387d8405a41”,“id”:“8709c38d2111594a”}],“links”:[{“input_id”:“8709c38d2628ee46i1”,“output_id”:“8709c38bf152da40o0”},{“input_id”:“8709c38cea71fc40i1”,“output_id”:“8709c38bf152da40o1”},{“input_id”:“8709c38d2628ee46i0”,“output_id”:“8709c38bf152da40o1”},{“input_id”:“8709c38d46b0d84di1”,“output_id”:“8709c38bd24d534do0”},{“input_id”:“8709c38cea71fc40i1”,“output_id”:“8709c38bd24d534do1”},{“input_id”:“8709c38d46b0d84di0”,“output_id”:“8709c38bd24d534do1”},{“input_id”:“8709c38dfb041e4ci1”,“output_id”:“8709c38b2bf6404do0”},{“input_id”:“8709c38dfb041e4ci0”,“output_id”:“8709c38b2bf6404do1”},{“input_id”:“8709c38c6b129043i1”,“output_id”:“8709c38b2bf6404do1”},{“input_id”:“8709c38d0de58947i1”,“output_id”:“8709c38b61ab7040o0”},{“input_id”:“8709c38d0de58947i0”,“output_id”:“8709c38b61ab7040o1”},{“input_id”:“8709c38c6b129043i1”,“output_id”:“8709c38b61ab7040o1”},{“input_id”:“8709c38c8109f241i1”,“output_id”:“8709c38bae32af4bo0”},{“input_id”:“8709c38c8109f241i1”,“output_id”:“8709c38b5a5e2044o0”},{“input_id”:“8709c38c8109f241i0”,“output_id”:“8709c38b4619fe4co0”},{“input_id”:“8709c38c8109f241i0”,“output_id”:“8709c38c100b1c43o0”},{“input_id”:“8709c38c8109f241i1”,“output_id”:“8709c38cea71fc40o0”},{“input_id”:“8709c38c8109f241i0”,“output_id”:“8709c38c6b129043o0”},{“input_id”:“8709c38d2628ee46i1”,“output_id”:“8709c38c45c46045o0”},{“input_id”:“8709c38cea71fc40i1”,“output_id”:“8709c38c45c46045o1”},{“input_id”:“8709c38d2628ee46i0”,“output_id”:“8709c38c45c46045o1”},{“input_id”:“8709c38d46b0d84di1”,“output_id”:“8709c38c28417c40o0”},{“input_id”:“8709c38cea71fc40i1”,“output_id”:“8709c38c28417c40o1”},{“input_id”:“8709c38d46b0d84di0”,“output_id”:“8709c38c28417c40o1”},{“input_id”:“8709c38dfb041e4ci1”,“output_id”:“8709c38c133aa84bo0”},{“input_id”:“8709c38dfb041e4ci0”,“output_id”:“8709c38c133aa84bo1”},{“input_id”:“8709c38c6b129043i1”,“output_id”:“8709c38c133aa84bo1”},{“input_id”:“8709c38d0de58947i1”,“output_id”:“8709c38c782cc84bo0”},{“input_id”:“8709c38d0de58947i0”,“output_id”:“8709c38c782cc84bo1”},{“input_id”:“8709c38c6b129043i1”,“output_id”:“8709c38c782cc84bo1”},{“input_id”:“8709c38c100b1c43i1”,“output_id”:“8709c38d0de58947o0”},{“input_id”:“8709c38bae32af4bi1”,“output_id”:“8709c38d2628ee46o0”},{“input_id”:“8709c38b5a5e2044i1”,“output_id”:“8709c38d46b0d84do0”},{“input_id”:“8709c38b4619fe4ci1”,“output_id”:“8709c38dfb041e4co0”},{“input_id”:“8709c38d0de58947i2”,“output_id”:“8709c38d2111594ao0”},{“input_id”:“8709c38dfb041e4ci2”,“output_id”:“8709c38d2111594ao0”},{“input_id”:“8709c38d46b0d84di2”,“output_id”:“8709c38d2111594ao0”},{“input_id”:“8709c38d2628ee46i2”,“output_id”:“8709c38d2111594ao0”}]}}}

1 Like

what will that last part do?

1 Like

So you can copy the text/code and import and paste it into your game.

Both would work, but with Darian_K’s design when any key is pressed up the velocity will be set to zero. Actually every top-down movement code I use, I never use the set where you can choose either arrow or wasd, lol. It’s always one or the other.

1 Like

The one I posted is actually @grazer’s from his Apocalypse Arena, I just copied it and added it to my menu, and it has helped me so much!

2 Likes