Search found 9 matches

by AngusWP
Thu Oct 10, 2019 1:07 pm
Forum: Games and Creations
Topic: Floppy Box
Replies: 3
Views: 1681

Floppy Box

Floppy Box is a game I have thrown together. It's nothing special, but for me it is a benchmark of where I am and I want to make more advanced games so hopefully in a year or two I can look back at this and see how far I have come. You have to try and bounce off the mustard coloured safe zone to inc...
by AngusWP
Wed Oct 09, 2019 5:43 pm
Forum: Support and Development
Topic: love.graphics.print not working?
Replies: 1
Views: 1137

love.graphics.print not working?

Hi, I am trying to print the score to the screen but it doesn't seem to be working. I start using love2d again recently when the new update came out, and this used to work for me. This is the whole .lua file, and the print line is right at the bottom so scroll all the way down. function love.load() ...
by AngusWP
Tue Jan 30, 2018 10:50 pm
Forum: General
Topic: Window coordinates
Replies: 1
Views: 552

Window coordinates

Let's say I manage to finish my game (not going to happen lets face it), and it all goes fine and I manage to get it on itch or something. If someone who downloaded my game had a different screen dimensions and resolutions find that my game had graphics in the wrong place because the graphics are dr...
by AngusWP
Wed Jan 24, 2018 5:31 pm
Forum: Support and Development
Topic: Help with Tables
Replies: 4
Views: 819

Re: Help with Tables

The shown amount of code wasn't enough to ascertain the true issue though. I rewrote alot of it, and the thing works! Stuff is firing, and when I debugged removing, it did. Now for the trickier part... how do I get my bullet to fire towards where my mouse clicked? Thanks for your help so far, it me...
by AngusWP
Wed Jan 24, 2018 3:45 pm
Forum: Support and Development
Topic: Help with Tables
Replies: 4
Views: 819

Re: Help with Tables

- You probably don't need to write x = x or require('y') like that; a simple x = require('y') would be enough. I had issues with this already where if it was called twice the game wouldn't run and this fixed it. - Also, do pay attention to correct indentation; that can save lives. :3 It's very read...
by AngusWP
Wed Jan 24, 2018 12:00 pm
Forum: Support and Development
Topic: Help with Tables
Replies: 4
Views: 819

Help with Tables

I am creating a top down shooter, and I have created everything except the actual enemies, bullets and hit detection. I am trying to create the bullet system but when I have debugged to see if my for loop runs, it doesn't. This stops the bullets from being rendered. If anyone can see the issue, plea...
by AngusWP
Tue Jan 23, 2018 11:47 am
Forum: Games and Creations
Topic: Better Snake [1.0]
Replies: 4
Views: 1841

Re: Better Snake [1.0]

Also, define packages, since i fail to understand what you mean by keeping everything organized in one "class"; don't use classes? or look at kikito's library tutorial, where he details how to isolate code into separate files: http://kiki.to/blog/2014/03/30/a-guide-to-authoring-lua-modules/ Yeah cl...
by AngusWP
Tue Jan 23, 2018 11:46 am
Forum: Games and Creations
Topic: Better Snake [1.0]
Replies: 4
Views: 1841

Re: Better Snake [1.0]

With regards to the code you've written, works perfectly fine for me. Is your snake_icon.png image inside of your images folder? I changed it to image data, and the code runs fine but the actual window does not show it. I googled it and it turns out sometimes there is an issue where other people ca...
by AngusWP
Tue Jan 23, 2018 12:20 am
Forum: Games and Creations
Topic: Better Snake [1.0]
Replies: 4
Views: 1841

Better Snake [1.0]

BetterSnake is my spin on the game snake. I started with Lua and Love2D today, and looked up a snake tutorial. From there I just modified the game and gave it more features. You can look at the code for this if you want, it's not very advanced. The reason I am posting here is to ask: Are there any r...