Giter VIP home page Giter VIP logo

invaders's Introduction

Invaders

Basic Space Invaders clone written in Love2D

Language: Lua (Love2D) IDE: SublimeText

What If I want to use your art? All graphics are created by me in Gimp, but you can feel free to use them in your own projects if you wish.

invaders's People

Contributors

becauseimgray avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

invaders's Issues

Using AnAL to try and cycle through animations, but to no avail

So, I've created an obstacle animation. It's a satellite that moves up and down by one pixel. Really basic stuff. The issue I'm having is being able to collide the next bullet in my bullet table with the satellite and then switching animation 'A' with animation 'B.' Animations either switch once and don't switch again, or they don't work altogether or they switch too fast. Frusterated, I finally tried creating a obstacle "class" of sorts and placed all my functions into one lua file. Only problem with that is it's giving me an error. This is a head scratcher.

Problems with bullet speed and enemy death correlation

My bullets move at x speed until they leave the screen and get removed from memory. However, if one of the bullets hit an enemy, the x speed variable changes.

My bullets start moving slower and slower. This can be seen when you have 6 out of the 7 enemies killed. The bullets move very slowly, and then when you finally kill the last enemy, the bullets shoot at the top x speed again causing a strange visual effect.

This is jarring and I can't exactly figure out where in the code it's happening. Any help would be appreciated, although I'll probably find it if I just keep looking. One possible issue might be due to my collision table loops, but I'm not sure.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.