Page 1 of 2

Laser Tank 5

Posted: Sat Sep 09, 2017 1:40 pm
by jack9267
As everyone knows Laser Tank version 4.1.2 was last updated about 2005 some time so I have been rewriting platform code and abstracting it using a library called SDL.

For those unfamiliar I suggest reading their website https://www.libsdl.org/.

Basically SDL lets you write your app once using it and it provides the compatibility for Linux macintosh, Atari even and many other platforms even mobile I've heard now.

The main goal for Laser Tank 5 to begin with is getting the original product working, the core logic is copied from the original so any bugs relied on for the puzzles will still exist don't worry! This isn't like ports other people would do. This is still Laser Tank just upgraded a whole lot to take advantage of DirectX 11 or DirectX 9 or even OpenGL. The engine I made picks the best supported rendering engine suitable for your computer.

In the end comparing the old version and new version side by side they will be practically identical!

Want to try the beta?

It is available hidden on the site now @ https://laser-tank.com/game/LaserTank5.zip.

I'm yet to finish the right hand side part of the game window.

I've added support for picking a language in options.

Re: Laser Tank 5

Posted: Sun Sep 10, 2017 2:16 am
by Secret Squïrrel
Thanks again Jack for all your work on this.

Re: Laser Tank 5

Posted: Tue Sep 12, 2017 10:52 pm
by wrldwzrd89
Wonderful news. Keep up the good work!

Will there be a Mac version? SDL should be up to the task.

Re: Laser Tank 5

Posted: Tue Sep 12, 2017 11:29 pm
by jack9267
There will be, it will be available on the Mac App Store.

Re: Laser Tank 5

Posted: Thu Oct 12, 2017 6:36 am
by lucien
It seems we had the same idea at the same time. But I chose the HTML5/JS platform.
It's running fine on all computers, phones and tablets I tested.
http://lb3.one/lasertank

Re: Laser Tank 5

Posted: Thu Oct 12, 2017 11:40 am
by Secret Squïrrel
lucien wrote:
Thu Oct 12, 2017 6:36 am
It seems we had the same idea at the same time. But I chose the HTML5/JS platform.
It's running fine on all computers, phones and tablets I tested.
http://lb3.one/lasertank
It looks nice, Lucien, and I like the idea of playing it in a browser but still being able to load locally-stored LVL files. Unfortunately, I cannot get my tank to move. I can cause it to shoot by either R- or C-clicking my mouse but not move. I tried L-mouse, arrow keys, numeric pad (numlock on and off), wasd, <>. Spacebar doesn't shoot either.

I tried on latest Chrome 64 and IE11 on latest Win 7 64.

Am I doing something wrong?

Re: Laser Tank 5

Posted: Thu Oct 12, 2017 6:40 pm
by lucien
For the arrows and space keys, I have an explanation: I programed a keyboard event for them, then forgot it and programed another keyboard event for the menu shortcuts... Bug fixed.

For the left click not working, I could not reproduce it.
There is a problem with Edge browser on Windows 10 on a computer with a touchscreen: The touch events are interpreted as mouse clicks... You can change that with a parameter in Edge. It works with Chrome.

I did not test it on Windows 7 with a touch screen. Maybe the problem is that left clicks are interpreted as touch events?

Try this to help me debug it:
- Left click and drag. If the tank moves, then the mouse clicks are interpreted as touch events...
- Load an empty level with just the tank and the flag, then try to click anywhere on the battlefield. If the tank moves, but not exactly where you clicked, there is a problem with the coordinates system.

Maybe we can debug this with private messages, I don't have the rights to post a new topic in the "Updates to the game" category.

Re: Laser Tank 5

Posted: Fri Oct 13, 2017 1:13 am
by Secret Squïrrel
Ok, it doesn't take account of zooming. I'll PM you the details.

Re: Laser Tank 5

Posted: Wed Oct 18, 2017 5:27 am
by f23948
thank you for new version beta

Re: Laser Tank 5

Posted: Thu Nov 29, 2018 12:03 am
by wrldwzrd89
Curious if any progress has been made... there's been nothing going on for a while now.