Search found 43 matches

by noway
Sun Dec 18, 2016 11:28 am
Forum: Games and Creations
Topic: Need Critique on Tutorial Series on Making Arkanoid-type Game.
Replies: 68
Views: 29891

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

I like the idea of introducing complex code concepts (collision handling, OOP) through a simple game. I kind of agree, however, that if the added complexity is not needed, introducing it without a big warning in bold letters, that for such a small project these are overkill but you're doing it as a...
by noway
Sun Dec 18, 2016 11:19 am
Forum: Games and Creations
Topic: Need Critique on Tutorial Series on Making Arkanoid-type Game.
Replies: 68
Views: 29891

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

In the other thread, i remember i did suggest using Bump instead of HC. Yeah. I remember, I didn't like the fact that Bump doesn't support non-rectangular shapes. But you are right after all: Bump is more suitable in this case. HC should be replaced either with Bump or manually written collision de...
by noway
Sun Dec 18, 2016 10:28 am
Forum: Games and Creations
Topic: Need Critique on Tutorial Series on Making Arkanoid-type Game.
Replies: 68
Views: 29891

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

Also, I typically recommend creating new instances like so (this avoids bugs caused by Class.new vs Class:new): Yeah, this can cause nasty bugs. But your approach won't work with the class definition I use. I like to plug my own little OO library - sure there are more sophisticated libs out there, ...
by noway
Sun Dec 18, 2016 9:49 am
Forum: Games and Creations
Topic: Need Critique on Tutorial Series on Making Arkanoid-type Game.
Replies: 68
Views: 29891

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

For example in your tutorial it's: Code: Select all function Class:new( o ) o = o or {} setmetatable(o, self) self.__index = self ..... return o end I believe "self.__index = self" doesn't do anything in this case. Now the code above will probably work... well, kinda... but if you tried t...
by noway
Sat Dec 17, 2016 12:57 pm
Forum: Games and Creations
Topic: Need Critique on Tutorial Series on Making Arkanoid-type Game.
Replies: 68
Views: 29891

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

I think your code is OK, to be honest it seems like the use of classes in your case is not really an advantage. HC is probably overkill for this tutorial - you want to show people how to make Arkaniod right, you don't want to teach them how HC works. The "ball" in this case could be treat...
by noway
Sat Dec 17, 2016 9:16 am
Forum: Games and Creations
Topic: Need Critique on Tutorial Series on Making Arkanoid-type Game.
Replies: 68
Views: 29891

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

Hey! I have been writing a tutorial series on making a full-featured Arkanoid-type game. It is intended for people who have basic programming experience, but have trouble structuring their code for bigger-than-hello-world projects. I have posted an announcement earlier. The code in the tutorial is r...
by noway
Sun Dec 04, 2016 10:07 am
Forum: Games and Creations
Topic: One more arkanoid clone
Replies: 5
Views: 4031

Re: One more arkanoid clone

Hey! I've updated the code a bit: added music, sounds, a gameover condition, and several new levels. Also I've drafted several new sections in the accompanying tutorial . Here is the new contents: 1. [The Ball, The Brick, The Platform](https://github.com/noooway/love2d_arkanoid_tutorial/wiki/1-The-B...
by noway
Sun Oct 23, 2016 7:34 am
Forum: Games and Creations
Topic: One more arkanoid clone
Replies: 5
Views: 4031

Re: One more arkanoid clone

If i remember correctly, HC indeed doesn't do "tunneling", but kikito's bump does.... however, that can only handle Axis-aligned bounding boxes, so no circles or arbitrary polygons. Since in arkanoid, the ball technically doesn't rotate, you could treat it as an AABB from a collision pers...
by noway
Sat Oct 22, 2016 3:05 am
Forum: Games and Creations
Topic: One more arkanoid clone
Replies: 5
Views: 4031

Re: One more arkanoid clone

Thanks for suggestions. Since Physics libraries often only calculate "is the shape inside another shape" to detect a hit, they won't detect collisions if the ball is in front of the object in one frame and fully behind it in the next. I'm guessing that's how HardonCollider works as well. I...
by noway
Wed Oct 19, 2016 8:36 pm
Forum: Games and Creations
Topic: One more arkanoid clone
Replies: 5
Views: 4031

One more arkanoid clone

Hello. I'm writing an arkanoid (breakout)-type game, and it is mostly in a playable state (see attachment). However, there are some problems with code and art, and I would like to ask some help regarding them. 1) I'm using HardonCollider to detect collisions. At high speed the ball sometimes passes ...