LINK. A Modern Real Time Strategy Game.

Show off your games, demos and other (playable) creations.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Computer themed real time strategy. [concept]

Post by Nixola »

HANG 'EM!
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
mickeyjm
Party member
Posts: 237
Joined: Thu Dec 29, 2011 11:41 am

Re: Computer themed real time strategy. [concept]

Post by mickeyjm »

Nixola wrote:HANG 'EM!
I agree
Your screen is very zoomed in...
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: Computer themed real time strategy. [concept]

Post by ljdp »

Added some A* pathfinding, and started to work on programs and ports.
The pathfinding works as a coroutine so it shouldn't block if takes a long time to find a path.
In this version you can left click on a program (the white squares) and right click on any system and it will try to make it's way there.
This is a bit of a stress test, I get 30FPS with around 1200 entities (160 systems, 240 programs and 800 ports).
hex.love
v0.2
(210.36 KiB) Downloaded 188 times
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Computer themed real time strategy. [concept]

Post by T-Bone »

In many (if not most?) cases, SpriteBatches are a fully functional alternative to Canvases. Now that SpriteBatches have a software fallback, they should work on pretty much everything. And they really do, they even work on my cell phone.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Computer themed real time strategy. [concept]

Post by Robin »

Nice!

So are the white connections faster? Because it seems that way. And yet, the programs usually seem to prefer the grey ones.
Help us help you: attach a .love.
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: Computer themed real time strategy. [concept]

Post by ljdp »

Robin wrote:Nice!
So are the white connections faster? Because it seems that way. And yet, the programs usually seem to prefer the grey ones.
Yeah the grey ports are backdoors, slow ports that can't be upgraded.
They just select one at random, the grey ones are just more common because the first port is always a backdoor port.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Computer themed real time strategy. [concept]

Post by Robin »

You could consider putting that in your A*.

Different speeds is typically something A* can take into account, so that they will always use the fastest route available. (Note that that would mean that they might take a "detour", while it is still the fastest route, because fast+fast+fast can be faster than slow+slow)
Help us help you: attach a .love.
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: Computer themed real time strategy. [concept]

Post by ljdp »

Robin wrote:You could consider putting that in your A*.

Different speeds is typically something A* can take into account, so that they will always use the fastest route available. (Note that that would mean that they might take a "detour", while it is still the fastest route, because fast+fast+fast can be faster than slow+slow)
The current random behaviour was to show the effect. Bear in mind the player might not have information on how fast each port is due to fog of war therefor the pathfinder also should not have this information. The program will decide what port to use upon arriving at a system. If it can't use any ports, for example all ports are upgraded with 'firewall', then it will use the backdoor port as a last resort.

edit: also the speed of ports can change after the path is calculated.
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Computer themed real time strategy. [concept]

Post by coffee »

ljdp, just to congratulate you. Your project seems quite interesting. Visually appealing, nice concept.
Jasoco wrote:Mine supports hundreds of canvases at once. And huge ones. Also big images. Huge images larger than 2048x2048. And it's an integrated graphics card. There's nothing wrong with canvases. Sometimes you NEED to use them if you want a playable game.
U a mac fanboy, your opinion can't count! But yep, my mac have also an integrated gpu and seems also to deal well however with larger images. But I believe that failed in tell till what image size can support in that recent love app diagnostic thread.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Computer themed real time strategy. [concept]

Post by Jasoco »

I may be a "Mac fanboy" I think you called it, but at least my integrated graphics chip is better than many stand-alone physical video cards in this respect. :P ;) :) ^^ <-- Obligatory "just joshing ya" smileys
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 7 guests