Search found 48 matches

by SPlice
Sat Mar 27, 2021 3:22 pm
Forum: General
Topic: Software engineering or Computer Science
Replies: 12
Views: 11097

Re: Software engineering or Computer Science

I work in industry now and I would say if your goal is to get a high paying job it does not matter. A related degree and good grades are required to get your foot in the door but its only to check a box. How you interview, related experiance, and having a passion for the work is far more important. ...
by SPlice
Wed Jul 10, 2019 7:03 pm
Forum: Support and Development
Topic: [SOLVED] Math + Spread bullets
Replies: 10
Views: 5976

Re: Math + Spread bullets

something like this will work NOTE. I did not look at your code so I don't know how you actually set up your projectiles so it may need to be modified a bit to make it work as desired function setBulletVelocity(bullet) -- first get direction you want to shoot in radians and a speed speed = 200 direc...
by SPlice
Mon Jul 08, 2019 3:55 pm
Forum: Support and Development
Topic: How to use same image more than once
Replies: 7
Views: 4852

Re: How to use same image more than once

I recommend setting up an image library that will allow you to reference images with some kind of ID for example the image name. You could do something along the lines of function getImage(fileName) if not imageTable[fileName] then imageTable[fileName] = love.graphics.newImage(fileName) end return i...
by SPlice
Tue May 14, 2019 9:45 pm
Forum: General
Topic: Depth buffer and slanted sprites?
Replies: 14
Views: 16245

Re: Depth buffer and slanted sprites?

If you run into too much trouble, try implementing a merge sort, I was able to use this method to have thousands of objects on the screen with z sorting (possibly as high as 10k). Just make sure you cull your list down to only the things that need to be on screen at any given time.
by SPlice
Fri May 25, 2018 9:38 pm
Forum: Support and Development
Topic: Help platformer hit detection
Replies: 1
Views: 1926

Re: Help platformer hit detection

You are only updating your position if your not on a box.
rework this

Code: Select all

if coln(box[i].x-5,box[i].w-5,box[i].y-5,box[i].h-5,new.x,new.y,player.w,player.h) == false then
        player.y = new.y
        player.x = new.x
      end
      
by SPlice
Fri May 25, 2018 9:30 pm
Forum: Support and Development
Topic: Rate my client/server structure
Replies: 2
Views: 2268

Re: Rate my client/server structure

Don't update every frame. Send only things that change when they change(such as key presses and stat/inventory changes). This will cut back on a lot of net traffic. Have some kind of sync packet that can correct any deviation every half second or something for movement and a lot slower for stuff tha...
by SPlice
Fri May 25, 2018 9:24 pm
Forum: Support and Development
Topic: Cross-platformly deterministic to-the-power-of function
Replies: 21
Views: 10976

Re: Cross-platformly deterministic to-the-power-of function

why not just write a pow() function, something like this (not sure if this works because I didn't try it but it seems like the concept should be sound as long as e >=0) pow(n,e) local total = 1 if e > 0 then for i = 1, e do total = total * n end end return total end
by SPlice
Sun Apr 15, 2018 3:16 pm
Forum: Games and Creations
Topic: Dark Wish is coming soon
Replies: 16
Views: 9623

Re: Dark Wish is coming soon

drunken_munki I sent you a PM
by SPlice
Sat Apr 14, 2018 8:58 pm
Forum: Games and Creations
Topic: Space Game
Replies: 2
Views: 3034

Re: Space Game

Yes I will. At the moment you cant do much other than fly around and I would like it to be somewhat playable before I let it out into the wild. I would also like to have some better art for things so I will need to find an artist or spend some time learning that side of stuff so it will be a little ...
by SPlice
Sat Apr 14, 2018 5:55 am
Forum: Games and Creations
Topic: Space Game
Replies: 2
Views: 3034

Space Game

I have been working on a space game project for a while. I intend for it to be one of those trade for resources to upgrade your ship so you can blow up bigger stuff and kill all the aliens games. The recent release of love 11 has simplified some of the shaders I was using and made the whole thing mo...