|
NAGN
|
 |
« on: June 30, 2012, 08:21:54 pm » |
|
Basically by writing a few lines of code, its rather questionable to add a really good pseudo-3d perspective to the backgrounds. The Y coordinate offsets have to be adjusted, however, here its half as severe as the horizontal scrolling. In this video, the map gets its offset linearly by depth (so 1/depth layer multiplied by what would normally position the background), but its entirely possible to implement parts that move at different speeds (or even move constantly, such as in the context of clouds), but that would require significant revisions to how we currently store entities. That being said we'd also need to figure out how to store all these layers, I'd assume they'd all be neatly compiled in a .zip file, but I'm not sure if game maker has the sort of capability to extract those (though an external extension probably exists)
|
|
|
|
|
Logged
|
  [im
|
|
|
|
♫Sani Sani Disco♫
|
 |
« Reply #1 on: June 30, 2012, 08:31:10 pm » |
|
hello
|
|
|
|
|
Logged
|
I don't like it.  Oh, well, you might as well pack up and stop now, because he doesn't like it Asdf64: "ultros turned me on" - sani 2013
|
|
|
|
RedO
|
 |
« Reply #2 on: June 30, 2012, 09:14:16 pm » |
|
Make maps wrap around first
|
|
|
|
|
Logged
|
|
|
|
|
Footpöp
|
 |
« Reply #3 on: June 30, 2012, 09:33:28 pm » |
|
Make maps wrap around first
pls no
|
|
|
|
|
Logged
|
Team /ABC/ 
|
|
|
|
Orpheon
|
 |
« Reply #4 on: July 01, 2012, 05:00:37 am » |
|
We need a way to automate this. I've already got a few ideas...
|
|
|
|
|
Logged
|
Your mind is software. Program it. Your body is a shell. Change it. Death is a disease. Cure it. Extinction is approaching. Fight it.
|
|
|
|
nightcracker
|
 |
« Reply #5 on: July 01, 2012, 05:38:19 am » |
|
We need a different map format first.
(I suggest a zipfile with the wallmask, entities info, metainfo and the different layers of images).
|
|
|
|
|
Logged
|
|
|
|
|
BassieEnAdriaan
|
 |
« Reply #6 on: July 01, 2012, 05:40:14 am » |
|
This is amazing, i can't wait until pygg2 becomes in beta state.
|
|
|
|
|
Logged
|
If you find any offensive posts in strategy and tactics or the new projects section, don't use the report post button, but PM me instead. That way I can respond faster since I don't frequently check my email. 
|
|
|
[Royal Gay Penguin Nachos Ibarra Gordita Agave] LC
shut up assholes
2011 Haxxy Finalist
Offline
Posts: 3007
I'm not stretching the screen more than Brooklyn
|
 |
« Reply #7 on: July 01, 2012, 09:52:59 am » |
|
It's probably because I don't play much anymore, but....this doesn't really look much different than what we currently have to me 
|
|
|
|
|
Logged
|
|
|
|
|
Agh
|
 |
« Reply #8 on: July 01, 2012, 09:55:22 am » |
|
That looks really cool! I like it 
|
|
|
|
|
Logged
|
|
|
|
|
Machidro
|
 |
« Reply #9 on: July 01, 2012, 12:49:21 pm » |
|
Dat view from off the map. Memory leaks or blurring are something that would need a fix.
|
|
|
|
|
Logged
|
A CHALLENGER HAS ARRIVED.
|
|
|
|
Phantom Brave
|
 |
« Reply #10 on: July 01, 2012, 12:51:11 pm » |
|
that's not a leak or blur, that's an overdraw/framebuffer issue
|
|
|
|
« Last Edit: July 01, 2012, 12:51:30 pm by Chartreuse »
|
Logged
|
 Linkin Park lyrics here
|
|
|
|
NAGN
|
 |
« Reply #11 on: July 01, 2012, 12:52:23 pm » |
|
Dat view from off the map. Memory leaks or blurring are something that would need a fix.
It can be ameliorated by having a static "Sky" background that's always in view (in this case that would be the blue bits of the sky that doesn't actually have any details on it) In normal GG2, looking at those parts of the map would display a black background, in PyGG2, I'd assume that the memory isn't flushed to save time
|
|
|
|
|
Logged
|
  [im
|
|
|
|
Phantom Brave
|
 |
« Reply #12 on: July 01, 2012, 12:55:10 pm » |
|
clear the framebuffer before drawing you nig nog
|
|
|
|
|
Logged
|
 Linkin Park lyrics here
|
|
|
|
NAGN
|
 |
« Reply #13 on: July 01, 2012, 01:02:00 pm » |
|
that's not necessary, and is just a waste of time, if we're going to have a sky bit of the map anyways
|
|
|
|
|
Logged
|
  [im
|
|
|
|
Orpheon
|
 |
« Reply #14 on: July 02, 2012, 02:32:06 am » |
|
How about trying to automatically detect layers through saturation and brightness levels, maybe some edge detection (if no manul layers qre found) ?
(god I hate typing on phone.)
|
|
|
|
|
Logged
|
Your mind is software. Program it. Your body is a shell. Change it. Death is a disease. Cure it. Extinction is approaching. Fight it.
|
|
|
|