Invader: arcade strategy game

Show off your games, demos and other (playable) creations.
User avatar
Party member
Posts: 267
Joined: Sun Sep 11, 2011 9:36 am
Location: Germany

Re: Invader: arcade strategy game

Postby Larsii30 » Sat Feb 25, 2012 4:00 pm

the newer version work 100% for me. And this version is much better.

User avatar
Posts: 56
Joined: Mon Feb 13, 2012 4:11 pm

Re: Invader: arcade strategy game

Postby cattail » Mon Apr 02, 2012 3:54 pm

I had played invader p2 | p3 for a while , it often kick me out in my slow PC.
I add print to view what's happend:

Code: Select all

      local newamount = math.max(sel.pop-dt * ARROW_SPEED, 0.01)  --line152

                if arr==nil then print("arr=nil") end
                if sel.pop==nil then print("sel.pop=nil") end
                if newamount ==nil then print("newamount") end

And I found arr==nil is a bug, But I have no iead about how and when arr means and became nil.
So I hard code (cheat code ?) like this :

Code: Select all

                if arr ~=nil then
              arr[3] = arr[3] + sel.pop - newamount   --zdx add if then , found arr==nil error  --line 153

And now I can play to success, once in console I have seen 12 times nil (fast large)
How can I fix the right place?

User avatar
The Omniscient
Posts: 6501
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands

Re: Invader: arcade strategy game

Postby Robin » Mon Apr 02, 2012 8:26 pm

Interesting. I have no idea, and frankly no time to fix this. Thanks for the effort, the results will probably be very useful when I get around to fixing it.
Help us help you: attach a .love.

User avatar
Posts: 27
Joined: Thu Feb 12, 2009 2:25 pm

Re: Invader: arcade strategy game

Postby Skasi » Tue Apr 03, 2012 8:52 pm

Reminds me of Lords of Space. :P
Woah, that's been more than three years.
lordsofspace.png (82.59 KiB) Viewed 464 times

Return to “Games and Creations”

Who is online

Users browsing this forum: No registered users and 12 guests