Search found 1049 matches

by ivan
Tue May 23, 2017 3:06 am
Forum: Games and Creations
Topic: Breaking Fast on Steam!
Replies: 8
Views: 245

Re: Breaking Fast on Steam!

Congratulations on the Steam release! I think having online support is by far the most exciting feature. The graphics look OK, but I'm not 100% sold on the animations. Since the graphics style looks hand-drawn, I would like to see more personality in the animations. I'm talking about over the top ke...
by ivan
Mon May 22, 2017 6:15 pm
Forum: Support and Development
Topic: [SOLVED] Help with custom settings / save files?
Replies: 7
Views: 178

Re: Help with custom settings / save files?

What is the best way to save a table to a file (possibly without serialization)? There is no "best way to save data". You don't go to the grocery store and ask for the "best type of fruit", right? Personally, I like to keep the code simple - saving everything as a "flat" table works pretty well. Wh...
by ivan
Sat May 13, 2017 11:11 am
Forum: Support and Development
Topic: Collision response with AABBs
Replies: 9
Views: 432

Re: Collision response with AABBs

I''ve been pulling my hair out about collision response. It should be the easiest part It's one of the hardest parts! Given that, if A is intersecting B in the bottom and right sides, how do I separate A and B? It depends on the type of the collision system. Discrete collisions: you always choose t...
by ivan
Thu May 11, 2017 7:58 pm
Forum: General
Topic: Character movement with love.physics ?
Replies: 3
Views: 187

Re: Character movement with love.physics ?

Yes, you should always use applyForce and applyImpulse to move things. Setting the coordinates of a body manually works like teleportation, so your collisions will look terrible. If your body "keeps sliding" is because of the first laws of physics: "any object in motion remains in motion unless acte...
by ivan
Thu May 11, 2017 7:45 pm
Forum: General
Topic: Curious about feasibility of lua for bigger projects
Replies: 4
Views: 267

Re: Curious about feasibility of lua for bigger projects

With larger projects, the difficult part is organizing/maintaining your own code and assets. It's easy to hack things together in Lua, but it's hard to make a large game without cutting corners (it's hard to make a large game in any language!). Airstruck is correct, the more established languages ha...
by ivan
Thu May 04, 2017 6:33 pm
Forum: Games and Creations
Topic: [alpha0.1] Intelligent Design/Guidance [WIP Game Concept]
Replies: 10
Views: 638

Re: [alpha0.1] Intelligent Design/Guidance [WIP Game Concept]

ArchAngel, releasing a small, playable prototype can shed a lot of light on the idea and whether it has any potential. By 'sequence' and 'parallel' I mean the order in which commands are executed. In your case, behavior trees are one option for handling the AI, they work like hierarchical state mach...
by ivan
Thu May 04, 2017 5:04 am
Forum: Games and Creations
Topic: [alpha0.1] Intelligent Design/Guidance [WIP Game Concept]
Replies: 10
Views: 638

Re: [alpha0.1] Intelligent Design/Guidance [WIP Game Concept]

This is a very ambitious idea - to be honest I can't really see it taking off for several reasons. First of all, it's hard to make a decent-looking game with "cells" you have deformable bodies, liquids and all sorts of really difficult problems. Next, I would point out that when the game is based ar...
by ivan
Sat Apr 29, 2017 7:08 am
Forum: General
Topic: atan2 problem
Replies: 2
Views: 165

Re: atan2 problem

Yes, like raidho said, it should be: target_angle = math.atan2(y - love.mouse.getY, love.mouse.getX() - x) If you're looking for gradual rotation they you need the find the arc between the "current" and "target" angle. arc = (current_angle - target_angle + math.pi)%(2*math.pi) - math.pi Just make su...
by ivan
Sat Apr 08, 2017 10:15 am
Forum: Games and Creations
Topic: Need Critique on Tutorial Series on Making Arkanoid-type Game.
Replies: 62
Views: 4251

Re: Need Critique on Tutorial Series on Making Arkanoid-type Game.

Hello noway, it's a good move using the centers of objects. That will make your collision code and math a little bit simpler. Unfortunately, the advantage is lost when you manually calculate the centers of objects before each collision check. Keep in mind that collision checks are usually more frequ...
by ivan
Thu Apr 06, 2017 9:26 am
Forum: Games and Creations
Topic: Some Circle Game. Ideas to make it better?
Replies: 14
Views: 1034

Re: Some Circle Game. Ideas to make it better?

Yes, it's pretty fun. I managed to win on my second attempt although lost the first game after a poor start. The game needs work but there is potential here. Here are my suggestions: - drag and drop is definitely a must for a game like this - holding the right button could move the camera - better y...