Search found 60 matches

by Xugro
Wed Jul 31, 2019 8:52 pm
Forum: General
Topic: [HELP]Shoot dont touch me
Replies: 1
Views: 455

Re: [HELP]Shoot dont touch me

Line 537 if math.dist(Shoot.x,Shoot.y,Player.x,Player.y) < 5 then should be if math.dist(shoot.x,shoot.y,Player.x,Player.y) < 5 then since Lua is case sensitive. And a small tip for the next time you have a question: You can use DeepL for pretty good translations :). Et un petit conseil pour la proc...
by Xugro
Sat Jun 22, 2019 9:36 pm
Forum: General
Topic: How do you make a game?
Replies: 4
Views: 2429

Re: How do you make a game?

In the wiki there is a Getting Started Page which will show you the first steps. The basic idea is to write a game in a text editor and then use the engine to run the game.
by Xugro
Sat Jun 22, 2019 2:57 pm
Forum: Support and Development
Topic: Multi-layer Background
Replies: 2
Views: 3170

Re: Multi-layer Background

There is no problem with loading and drawing images that have alpha transparency. Just use the normal image loading function love.graphics.newImage(filename). You can take a peek at my example if you like (big thanks to PWL for the images).
by Xugro
Mon Apr 22, 2019 7:53 pm
Forum: Support and Development
Topic: My simple game [SOLVED]
Replies: 3
Views: 2493

Re: My simple game

I changed your code a little bit to show you what I mean. Take a look at the attached file. Now the code for initializing a player is not duplicated any more and you only need to change it once for both players (line 39 to 56). Only the things that are different are outside the common code. You coul...
by Xugro
Mon Apr 22, 2019 7:25 pm
Forum: Support and Development
Topic: My simple game [SOLVED]
Replies: 3
Views: 2493

Re: My simple game

It took me a while to figure out how the game actually works. For anyone curious: You have to click on the fire/ice symbol in your corner to "charge" up your weapon. Afterwards you can shoot a single fireball/iceball starting from your red square and flying in the direction of your touch. After each...
by Xugro
Thu Apr 18, 2019 5:09 pm
Forum: Support and Development
Topic: Debug and production release
Replies: 5
Views: 7197

Re: Debug and production release

You could wrap the print and assert functions, have a production flag and only execute print and assert in the development phase. Some pseudocode: function love.load() PRODUCTION = false end function wrapped_print(text) if PRODUCTION then log(text) else print(text) end end Further more, is it smart ...
by Xugro
Wed Feb 27, 2019 7:10 pm
Forum: Games and Creations
Topic: snake12
Replies: 6
Views: 6243

Re: snake12

I got to level 99! :D

After level 30 or so too many points are spawning and just sitting in the middle and moving around a bit lets you finish the levels.

But it is a very interesting idea and a neat implementation. :)
by Xugro
Sat Feb 23, 2019 10:25 pm
Forum: Games and Creations
Topic: Endless Dungeon
Replies: 25
Views: 19966

Re: Endless Dungeon

I finally reached level 41! The last levels take ages to complete (on normal difficulty). It took me about an hour each level. For the end I just ran through level 40 without attacking once. There are still two small bugs with the hydras. The five-headed hydra still has the "tooltip" Grows head (100...
by Xugro
Tue Feb 19, 2019 9:56 pm
Forum: Games and Creations
Topic: Endless Dungeon
Replies: 25
Views: 19966

Re: Endless Dungeon

I found another bug: Using the 4th level fire spell Fork Lightning (?) in an empty room freezes the game. For resting, I've lengthened the initial "nothing happens" to 6 seconds (from 3 seconds) then greatly increased the rate of healing/mana regeneration. This is much better. But why did you increa...
by Xugro
Sat Feb 16, 2019 1:17 am
Forum: Games and Creations
Topic: Endless Dungeon
Replies: 25
Views: 19966

Re: Endless Dungeon

Thanks again Xugro - that was badly written. Fixed now (attached to first post). You'll find the blue spiders will now teleport! The bug is fixed :). Also, I've added a new feature: a map of where you've been which can be turned on using the "m" key. That is very helpful especially in the lower lev...