Laser Tank 5

Notification of any changes to the game
User avatar
jack9267
Site Admin
Posts: 7
Joined: Thu Sep 07, 2017 1:06 am
Location: United Kingdom

Laser Tank 5

Post 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.
User avatar
Secret Squïrrel
Manager
Posts: 102
Joined: Thu Sep 07, 2017 1:58 am
Location: 31°59' S 115°53' E 23m AMSL

Re: Laser Tank 5

Post by Secret Squïrrel »

Thanks again Jack for all your work on this.
wrldwzrd89
Tank Driver
Posts: 14
Joined: Tue Sep 12, 2017 10:51 pm

Re: Laser Tank 5

Post by wrldwzrd89 »

Wonderful news. Keep up the good work!

Will there be a Mac version? SDL should be up to the task.
User avatar
jack9267
Site Admin
Posts: 7
Joined: Thu Sep 07, 2017 1:06 am
Location: United Kingdom

Re: Laser Tank 5

Post by jack9267 »

There will be, it will be available on the Mac App Store.
User avatar
lucien
Tank Learner Driver
Posts: 6
Joined: Thu Oct 12, 2017 6:18 am

Re: Laser Tank 5

Post 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
User avatar
Secret Squïrrel
Manager
Posts: 102
Joined: Thu Sep 07, 2017 1:58 am
Location: 31°59' S 115°53' E 23m AMSL

Re: Laser Tank 5

Post 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?
User avatar
lucien
Tank Learner Driver
Posts: 6
Joined: Thu Oct 12, 2017 6:18 am

Re: Laser Tank 5

Post 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.
User avatar
Secret Squïrrel
Manager
Posts: 102
Joined: Thu Sep 07, 2017 1:58 am
Location: 31°59' S 115°53' E 23m AMSL

Re: Laser Tank 5

Post by Secret Squïrrel »

Ok, it doesn't take account of zooming. I'll PM you the details.
f23948
Tank Driver
Posts: 12
Joined: Wed Oct 18, 2017 5:19 am

Re: Laser Tank 5

Post by f23948 »

thank you for new version beta
wrldwzrd89
Tank Driver
Posts: 14
Joined: Tue Sep 12, 2017 10:51 pm

Re: Laser Tank 5

Post by wrldwzrd89 »

Curious if any progress has been made... there's been nothing going on for a while now.
Post Reply