Search found 178 matches
- Wed Nov 06, 2013 11:01 am
- Forum: General
- Topic: Alternatives to LÖVE
- Replies: 18
- Views: 8491
Re: Alternatives to LÖVE
If you're in a hurry then I would also recommend Game Maker, GML has a crap load of API functions for just about anything. Its much easier to learn than any real programming language but you might get "stuck" with Game Maker if you go down that road. not bad if you have the money to splash.
- Wed Nov 06, 2013 9:32 am
- Forum: General
- Topic: Programming Style
- Replies: 24
- Views: 9242
Re: Programming Style
Changed it to multiple votes: You're right there is no "straight path" and usually including myself I change "style" depending on the situation. But I think we all have something we fall back on for example I tend to be intuitive mostly and get into a lot of problems then break t...
- Wed Nov 06, 2013 8:32 am
- Forum: Support and Development
- Topic: Automated Table Creation and Loops
- Replies: 8
- Views: 4143
Re: Automated Table Creation and Loops
function matrix_collision(atl_map,collision_layer,collision_type) for i, obj in pairs (atl_map(collision_layer).objects) do local obj_x,obj_y,obj_w,obj_h obj_x = math.floor(obj.x/tile.w);obj_y = math.floor(obj.y/tile.h) obj_w = math.floor(obj.width/tile.w);obj_h = math.floor(obj.height/tile.h) if o...
- Tue Nov 05, 2013 2:50 pm
- Forum: Support and Development
- Topic: Automated Table Creation and Loops
- Replies: 8
- Views: 4143
Re: Automated Table Creation and Loops
http://www.mediafire.com/convkey/d5a2/dth37ywz72qif3ofg.jpg I want to draw from y=0 until the height of the object collision mask and from x = 0 until the width of the object collision mask. each step iterating the position of x and y by 1 to draw in each co-ordinate untill the width and height of ...
- Mon Nov 04, 2013 9:39 pm
- Forum: Support and Development
- Topic: Automated Table Creation and Loops
- Replies: 8
- Views: 4143
Re: Automated Table Creation and Loops
Thanks. I saw this on PIL 11.2 – Matrices and Multi-Dimensional Arrays But now I understand what it does (^_^) Right now I created a function that checks for an object of type collision_type in a layer collision_layer within a map atl_map. It iterates the layer and then gets that objects width, heig...
- Mon Nov 04, 2013 7:25 pm
- Forum: Support and Development
- Topic: [Solved]Tiled QT:Map Engine (Layering)
- Replies: 2
- Views: 1559
Re: [Solved]Tiled QT:Map Engine (Layering)
Thanks.
Also the tutorial makes sense now
Also the tutorial makes sense now
- Mon Nov 04, 2013 4:29 pm
- Forum: Support and Development
- Topic: Automated Table Creation and Loops
- Replies: 8
- Views: 4143
Automated Table Creation and Loops
This is my map, its in a table like this. The 1s represent collision and 0's represent free space. The map is set up in an orthogonal grid with 32x32 dimensions for the tiles. map = { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, --map[1] = {} map[7][5] = 1 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 0, 0...
- Mon Nov 04, 2013 1:24 pm
- Forum: Support and Development
- Topic: [Solved]Tiled QT:Map Engine (Layering)
- Replies: 2
- Views: 1559
[Solved]Tiled QT:Map Engine (Layering)
I'm new to Tiled QT and I made a basic map. I have some stuff that should go over the player and I am using layers for this. I know you can access the layers in your game engine with Advanced Tile Loader with the following commands -- Accessing individual layers map.layers["layer name"] --...
- Fri Nov 01, 2013 4:14 pm
- Forum: Support and Development
- Topic: [SOLVED]Problem Running Function: Grid Movement System Again
- Replies: 5
- Views: 2240
Re: Problem Running Function: Grid Movement System Again
Haha right under my nose.
Thanks.
Thanks.
- Fri Nov 01, 2013 8:44 am
- Forum: General
- Topic: How did you learn game programming ?
- Replies: 15
- Views: 7034
Re: How did you learn game programming ?
Having fun seems to be the main path to achieving programmers flow, when that happens it becomes something you enjoy as you go along. a journey. But sometimes we get fixated on larger problems and then frustration creeps in. distractions from daily life can also hinder programmers flow. I think the ...