LINK. A Modern Real Time Strategy Game.
Re: Computer themed real time strategy. [concept]
HANG 'EM!
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Computer themed real time strategy. [concept]
I agreeNixola wrote:HANG 'EM!
Your screen is very zoomed in...
Re: Computer themed real time strategy. [concept]
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).
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).
Re: Computer themed real time strategy. [concept]
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.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Computer themed real time strategy. [concept]
Nice!
So are the white connections faster? Because it seems that way. And yet, the programs usually seem to prefer the grey ones.
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.
Re: Computer themed real time strategy. [concept]
Yeah the grey ports are backdoors, slow ports that can't be upgraded.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.
They just select one at random, the grey ones are just more common because the first port is always a backdoor port.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Computer themed real time strategy. [concept]
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)
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.
Re: Computer themed real time strategy. [concept]
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.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)
edit: also the speed of ports can change after the path is calculated.
Re: Computer themed real time strategy. [concept]
ljdp, just to congratulate you. Your project seems quite interesting. Visually appealing, nice concept.
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.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.
- 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]
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. <-- Obligatory "just joshing ya" smileys
Who is online
Users browsing this forum: Bing [Bot] and 11 guests