Search found 16 matches

by bmzz
Sat Jun 04, 2011 10:24 am
Forum: Libraries and Tools
Topic: Lua OO Library - bmclass
Replies: 19
Views: 7221

Re: Lua OO Library - bmclass

I implement the money and "waves" at this version, 3 waves.
but it nothing happen when castle life = 0 or after 3 waves...=p

try it
TD003.love
(16.92 KiB) Downloaded 226 times
screenshot
TD003.png
TD003.png (19.43 KiB) Viewed 2693 times
thanks for your testing.
by bmzz
Tue May 31, 2011 4:19 pm
Forum: Libraries and Tools
Topic: Lua OO Library - bmclass
Replies: 19
Views: 7221

Re: Lua OO Library - bmclass

Kadoba wrote:Yep. You were right. I renamed all the files to lowercase and it works.
I'm sorry for that, I fixed at TD002.love.

now, we have enemys and we can build towers
TD002.love
(13.79 KiB) Downloaded 241 times
TD002.png
TD002.png (15.15 KiB) Viewed 2720 times
by bmzz
Sun May 29, 2011 6:32 am
Forum: Libraries and Tools
Topic: Lua OO Library - bmclass
Replies: 19
Views: 7221

Re: Lua OO Library - bmclass

Oh look, another OO library. Is that a bad thing? It's all good messing around with Lua. It's not necessarily a bad thing at all, it's just that this community is far more interested in reinventing the wheel than making any actual games with this game framework. I've already gotten my karma dinged ...
by bmzz
Thu May 26, 2011 1:41 pm
Forum: Libraries and Tools
Topic: Lua OO Library - bmclass
Replies: 19
Views: 7221

Re: Lua OO Library - bmclass

ishkabible wrote:also, i don't want to have to do that, i want the OO mechanism to do that for me.

Mod edit: There's a delete button, you know.
Hi, look at the Example1 that i modified it.
It support data member inheritance.
by bmzz
Tue May 24, 2011 2:46 am
Forum: Libraries and Tools
Topic: Lua OO Library - bmclass
Replies: 19
Views: 7221

Lua OO Library - bmclass

i have no idea about naming =p... so i called it bmclass download bmclass.lua Example1 - basic class = require("bmclass") a = class("a") function a:init(attrs) self.x = attrs.x self.y = attrs.y print("for init") end function a:info() print(tostring(self) .. " : Hel...
by bmzz
Sun May 15, 2011 5:09 pm
Forum: Games and Creations
Topic: Platformer Prototype
Replies: 19
Views: 8895

Re: Platformer Prototype

when the player stand on ground and i hit right(or left) gently, player will Jitter.
by bmzz
Fri May 13, 2011 9:16 am
Forum: Games and Creations
Topic: Platformer Prototype
Replies: 19
Views: 8895

Re: Platformer Prototype

awesome, it's really nice.
by bmzz
Tue May 10, 2011 4:43 pm
Forum: Libraries and Tools
Topic: Tracking system
Replies: 3
Views: 2096

Re: Tracking system

kikito wrote:World of goo uses something similar for the cursor. But they have much more circles, and the small ones are at the end.
cool game, it looks funny and cute.
by bmzz
Tue May 10, 2011 4:28 pm
Forum: Libraries and Tools
Topic: Tracking system
Replies: 3
Views: 2096

Tracking system

There is a simple tracking system.
Tracker.love
(1.63 KiB) Downloaded 319 times
Example :

Code: Select all

function love.update(dt)
    -- we need tracker/target provide x,y index for Tracker system
    Tracker.trace(speed, tracker, target)
end
try it.
by bmzz
Sat May 07, 2011 5:00 pm
Forum: Games and Creations
Topic: simple snake
Replies: 21
Views: 9177

Re: simple snake

i'm have no idea about speed. i adjust speed from 0.04(sec per block) to 0.02, maybe it will be better.0.015 is the fastest on my pc. You use the value dt which is passed down through love.update. Basically, you should do: time_based_value * dt I took the time to edit your code and implement dt rat...