Search found 5 matches
- Tue Aug 20, 2019 4:44 pm
- Forum: General
- Topic: Question about loops
- Replies: 2
- Views: 3256
Re: Question about loops
The second one is more reliable. The first, single loop has two problems. One is that it can skip elements; the other one is that simultaneous collisions might not be detected. The problem of skipping elements can be solved by iterating backwards; the problem of simultaneous collisions can only be ...
- Tue Aug 20, 2019 2:08 am
- Forum: General
- Topic: Question about loops
- Replies: 2
- Views: 3256
Question about loops
Hi!, i've been struggling with the differences or not between this two ways of doing this. From my beginner point of view, it's the same but maybe there are potencial bugs coming once the proyect moves forward so that's why i'm asking: for i, m in ipairs(monsters) do for j, b in ipairs(bullets) do i...
- Sun Jul 22, 2018 1:40 am
- Forum: General
- Topic: Beginner looking for advice
- Replies: 7
- Views: 7863
Re: Beginner looking for advice
Thanks again for the advices, I already started with the Snake game, it's taking me a lot of time but I guess it's normal. Still not looked at any code, only basing on Lua and Love documentation. The whole idea of the looping in the draw and update fuctions took me like 1 day to understand it correc...
- Wed Jul 18, 2018 5:57 am
- Forum: General
- Topic: Beginner looking for advice
- Replies: 7
- Views: 7863
Re: Beginner looking for advice
Thanks for the advices. I will start learning Lua, just to get familiar with the sintax and how things work. After that I will start with the Snake game without looking at the example in https://simplegametutorials.github.io/. If I get stuck, will take a look. Guess I'm staying with LÖVE, I kinda li...
- Mon Jul 16, 2018 11:51 pm
- Forum: General
- Topic: Beginner looking for advice
- Replies: 7
- Views: 7863
Beginner looking for advice
Hi everybody, since this is my first post I would like to introduce myself, I'm new to game development, so new that I've never start anything. My background is IT, working with computers/server, etc and some web development, HTML5, CCS3, little Javascript, PHP and MySQL and little little C. I have ...