Re: logic for creating maps in python

2020-08-19 Thread AudioGames . net Forum — Developers room : chrisnorman7 via Audiogames-reflector
Re: logic for creating maps in python So I thought I'd write you a little example to explain making a map file and a parser, then I realised that making parsers are a bitch.There's probably a few reasons to avoid parsers, but the main is validation.Say you create your map like @4 suggests

Re: logic for creating maps in python

2020-08-17 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: logic for creating maps in python A typical way of implementing a 2D map editor involves assigning a numerical value to an object. So 0 = open space, 1 = a wall, 2 = bunnies, etc. Then the 2D array is populated with those items in a way that you want to create a map. Other numbers can

Re: logic for creating maps in python

2020-08-17 Thread AudioGames . net Forum — Developers room : bhanuponguru via Audiogames-reflector
Re: logic for creating maps in python oh. i know that. i am constructing a 2d map and i wan't to know how tk and other games made like we can build our own maps in shelter and if you know envirement sueet then there we write a sintax and the program compiles theat sintax in to explorable

Re: logic for creating maps in python

2020-08-17 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: logic for creating maps in python Maps in python are more or less just data, so it really depends on what kind of map you want to make, 2D/3D, etc. A map class can contain all sorts of data, but the primary data is usually the map itself which can consist of things like a 2D array

logic for creating maps in python

2020-08-16 Thread AudioGames . net Forum — Developers room : bhanuponguru via Audiogames-reflector
logic for creating maps in python hey all, i am willling to create a map in python. the logic i use is,first i create a class for mapthen i initialize it with map name, walking speed, jumptime, jump range, etctis i use like when right arrow is pressed thenwhile elapsed time ob walking